โอนคนสรรหาไปบรรจุ
This commit is contained in:
parent
40836767ad
commit
e55c0f746b
10 changed files with 35615 additions and 17 deletions
|
|
@ -28,7 +28,7 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
[MaxLength(1000), Comment("ทุน")]
|
||||
public string? FundName { get; set; }
|
||||
[Comment("ระยะเวลาหลักสูตร")]
|
||||
public int DurationYear { get; set; }
|
||||
public int? DurationYear { get; set; }
|
||||
[Comment("วันที่สำเร็จการศึกษา")]
|
||||
public DateTime? FinishDate { get; set; }
|
||||
[Comment("ประเภทช่วงเวลาการศึกษา")]
|
||||
|
|
|
|||
|
|
@ -87,10 +87,10 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
[Comment("วันที่ออกบัตร")]
|
||||
public DateTime? CitizenDate { get; set; }
|
||||
|
||||
[MaxLength(20), Comment("โทรศัพท์")]
|
||||
[MaxLength(200), Comment("โทรศัพท์")]
|
||||
public string? Telephone { get; set; }
|
||||
|
||||
[MaxLength(20), Comment("โทรศัพท์มือถือ")]
|
||||
[MaxLength(200), Comment("โทรศัพท์มือถือ")]
|
||||
public string? MobilePhone { get; set; }
|
||||
|
||||
[Comment("ความสามารถพิเศษ")]
|
||||
|
|
@ -189,7 +189,7 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
[MaxLength(200), Comment("อีเมล บริษัท")]
|
||||
public string? OccupationEmail { get; set; }
|
||||
|
||||
[MaxLength(20), Comment("โทรศัพท์ บริษัท")]
|
||||
[MaxLength(200), Comment("โทรศัพท์ บริษัท")]
|
||||
public string? OccupationTelephone { get; set; }
|
||||
|
||||
[Comment("ตำแหน่งอาชีพ")]
|
||||
|
|
@ -232,10 +232,10 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
public double? PointC { get; set; }
|
||||
|
||||
[Comment("ลำดับที่สอบได้")]
|
||||
public int ExamNumber { get; set; }
|
||||
public int? ExamNumber { get; set; }
|
||||
|
||||
[Comment("จำนวนครั้งที่สมัครสอบ")]
|
||||
public int ExamRound { get; set; }
|
||||
public int? ExamRound { get; set; }
|
||||
|
||||
[Comment("ผลสมัครสอบ")]
|
||||
public string? Pass { get; set; }
|
||||
|
|
|
|||
11796
BMA.EHR.Infrastructure/Migrations/20230726050727_update Table placement ExamNumber nullable.Designer.cs
generated
Normal file
11796
BMA.EHR.Infrastructure/Migrations/20230726050727_update Table placement ExamNumber nullable.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,84 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updateTableplacementExamNumbernullable : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<int>(
|
||||
name: "ExamRound",
|
||||
table: "PlacementProfiles",
|
||||
type: "int",
|
||||
nullable: true,
|
||||
comment: "จำนวนครั้งที่สมัครสอบ",
|
||||
oldClrType: typeof(int),
|
||||
oldType: "int",
|
||||
oldComment: "จำนวนครั้งที่สมัครสอบ");
|
||||
|
||||
migrationBuilder.AlterColumn<int>(
|
||||
name: "ExamNumber",
|
||||
table: "PlacementProfiles",
|
||||
type: "int",
|
||||
nullable: true,
|
||||
comment: "ลำดับที่สอบได้",
|
||||
oldClrType: typeof(int),
|
||||
oldType: "int",
|
||||
oldComment: "ลำดับที่สอบได้");
|
||||
|
||||
migrationBuilder.AlterColumn<int>(
|
||||
name: "DurationYear",
|
||||
table: "PlacementEducations",
|
||||
type: "int",
|
||||
nullable: true,
|
||||
comment: "ระยะเวลาหลักสูตร",
|
||||
oldClrType: typeof(int),
|
||||
oldType: "int",
|
||||
oldComment: "ระยะเวลาหลักสูตร");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<int>(
|
||||
name: "ExamRound",
|
||||
table: "PlacementProfiles",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0,
|
||||
comment: "จำนวนครั้งที่สมัครสอบ",
|
||||
oldClrType: typeof(int),
|
||||
oldType: "int",
|
||||
oldNullable: true,
|
||||
oldComment: "จำนวนครั้งที่สมัครสอบ");
|
||||
|
||||
migrationBuilder.AlterColumn<int>(
|
||||
name: "ExamNumber",
|
||||
table: "PlacementProfiles",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0,
|
||||
comment: "ลำดับที่สอบได้",
|
||||
oldClrType: typeof(int),
|
||||
oldType: "int",
|
||||
oldNullable: true,
|
||||
oldComment: "ลำดับที่สอบได้");
|
||||
|
||||
migrationBuilder.AlterColumn<int>(
|
||||
name: "DurationYear",
|
||||
table: "PlacementEducations",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0,
|
||||
comment: "ระยะเวลาหลักสูตร",
|
||||
oldClrType: typeof(int),
|
||||
oldType: "int",
|
||||
oldNullable: true,
|
||||
oldComment: "ระยะเวลาหลักสูตร");
|
||||
}
|
||||
}
|
||||
}
|
||||
11796
BMA.EHR.Infrastructure/Migrations/20230726095906_update Table placementprofile mobole limit 200.Designer.cs
generated
Normal file
11796
BMA.EHR.Infrastructure/Migrations/20230726095906_update Table placementprofile mobole limit 200.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,78 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updateTableplacementprofilemobolelimit200 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "Telephone",
|
||||
table: "PlacementProfiles",
|
||||
type: "varchar(200)",
|
||||
maxLength: 200,
|
||||
nullable: true,
|
||||
comment: "โทรศัพท์",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "varchar(20)",
|
||||
oldMaxLength: 20,
|
||||
oldNullable: true,
|
||||
oldComment: "โทรศัพท์")
|
||||
.Annotation("MySql:CharSet", "utf8mb4")
|
||||
.OldAnnotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "MobilePhone",
|
||||
table: "PlacementProfiles",
|
||||
type: "varchar(200)",
|
||||
maxLength: 200,
|
||||
nullable: true,
|
||||
comment: "โทรศัพท์มือถือ",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "varchar(20)",
|
||||
oldMaxLength: 20,
|
||||
oldNullable: true,
|
||||
oldComment: "โทรศัพท์มือถือ")
|
||||
.Annotation("MySql:CharSet", "utf8mb4")
|
||||
.OldAnnotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "Telephone",
|
||||
table: "PlacementProfiles",
|
||||
type: "varchar(20)",
|
||||
maxLength: 20,
|
||||
nullable: true,
|
||||
comment: "โทรศัพท์",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "varchar(200)",
|
||||
oldMaxLength: 200,
|
||||
oldNullable: true,
|
||||
oldComment: "โทรศัพท์")
|
||||
.Annotation("MySql:CharSet", "utf8mb4")
|
||||
.OldAnnotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "MobilePhone",
|
||||
table: "PlacementProfiles",
|
||||
type: "varchar(20)",
|
||||
maxLength: 20,
|
||||
nullable: true,
|
||||
comment: "โทรศัพท์มือถือ",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "varchar(200)",
|
||||
oldMaxLength: 200,
|
||||
oldNullable: true,
|
||||
oldComment: "โทรศัพท์มือถือ")
|
||||
.Annotation("MySql:CharSet", "utf8mb4")
|
||||
.OldAnnotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
}
|
||||
}
|
||||
11796
BMA.EHR.Infrastructure/Migrations/20230726100447_update Table placementprofile mobile limit 200.Designer.cs
generated
Normal file
11796
BMA.EHR.Infrastructure/Migrations/20230726100447_update Table placementprofile mobile limit 200.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,48 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updateTableplacementprofilemobilelimit200 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "OccupationTelephone",
|
||||
table: "PlacementProfiles",
|
||||
type: "varchar(200)",
|
||||
maxLength: 200,
|
||||
nullable: true,
|
||||
comment: "โทรศัพท์ บริษัท",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "varchar(20)",
|
||||
oldMaxLength: 20,
|
||||
oldNullable: true,
|
||||
oldComment: "โทรศัพท์ บริษัท")
|
||||
.Annotation("MySql:CharSet", "utf8mb4")
|
||||
.OldAnnotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "OccupationTelephone",
|
||||
table: "PlacementProfiles",
|
||||
type: "varchar(20)",
|
||||
maxLength: 20,
|
||||
nullable: true,
|
||||
comment: "โทรศัพท์ บริษัท",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "varchar(200)",
|
||||
oldMaxLength: 200,
|
||||
oldNullable: true,
|
||||
oldComment: "โทรศัพท์ บริษัท")
|
||||
.Annotation("MySql:CharSet", "utf8mb4")
|
||||
.OldAnnotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -9621,7 +9621,7 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("varchar(1000)")
|
||||
.HasComment("ระยะเวลา");
|
||||
|
||||
b.Property<int>("DurationYear")
|
||||
b.Property<int?>("DurationYear")
|
||||
.HasColumnType("int")
|
||||
.HasComment("ระยะเวลาหลักสูตร");
|
||||
|
||||
|
|
@ -9852,11 +9852,11 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("varchar(200)")
|
||||
.HasComment("อีเมล");
|
||||
|
||||
b.Property<int>("ExamNumber")
|
||||
b.Property<int?>("ExamNumber")
|
||||
.HasColumnType("int")
|
||||
.HasComment("ลำดับที่สอบได้");
|
||||
|
||||
b.Property<int>("ExamRound")
|
||||
b.Property<int?>("ExamRound")
|
||||
.HasColumnType("int")
|
||||
.HasComment("จำนวนครั้งที่สมัครสอบ");
|
||||
|
||||
|
|
@ -9957,8 +9957,8 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<string>("MobilePhone")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("varchar(20)")
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("varchar(200)")
|
||||
.HasComment("โทรศัพท์มือถือ");
|
||||
|
||||
b.Property<string>("MotherFirstName")
|
||||
|
|
@ -10011,8 +10011,8 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasComment("ตำแหน่งอาชีพ");
|
||||
|
||||
b.Property<string>("OccupationTelephone")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("varchar(20)")
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("varchar(200)")
|
||||
.HasComment("โทรศัพท์ บริษัท");
|
||||
|
||||
b.Property<string>("OccupationType")
|
||||
|
|
@ -10147,8 +10147,8 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasComment("เอกสารอ้างอิง");
|
||||
|
||||
b.Property<string>("Telephone")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("varchar(20)")
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("varchar(200)")
|
||||
.HasComment("โทรศัพท์");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
|
|
|||
|
|
@ -14,8 +14,8 @@
|
|||
"AllowedHosts": "*",
|
||||
"ConnectionStrings": {
|
||||
//"DefaultConnection": "User Id=sys;Password=P@ssw0rd;DBA Privilege=SYSDBA;Data Source=localhost:1521/ORCLCDB",
|
||||
"DefaultConnection": "server=127.0.0.1;user=root;password=P@ssw0rd;port=3308;database=bma_ehr_demo;Convert Zero Datetime=True;Allow User Variables=true;Pooling=True;"
|
||||
// "DefaultConnection": "server=192.168.1.9;user=root;password=adminVM123;port=3306;database=bma_ehr_demo;Convert Zero Datetime=True;Allow User Variables=true;Pooling=True;"
|
||||
// "DefaultConnection": "server=127.0.0.1;user=root;password=P@ssw0rd;port=3308;database=bma_ehr_demo;Convert Zero Datetime=True;Allow User Variables=true;Pooling=True;"
|
||||
"DefaultConnection": "server=192.168.1.9;user=root;password=adminVM123;port=3306;database=bma_ehr_demo;Convert Zero Datetime=True;Allow User Variables=true;Pooling=True;"
|
||||
},
|
||||
"Jwt": {
|
||||
"Key": "HP-FnQMUj9msHMSD3T9HtdEnphAKoCJLEl85CIqROFI",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue