add field เพื่อระบบกรอกข้อมูลทะเบียนประวัติ
This commit is contained in:
parent
1f4cee21c7
commit
c704556891
11 changed files with 51552 additions and 1 deletions
|
|
@ -4259,6 +4259,84 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
b.ToTable("ProfileLeaveHistorys");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Models.HR.ProfileLeaveSummary", b =>
|
||||
{
|
||||
b.Property<Guid>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("char(36)")
|
||||
.HasColumnOrder(0)
|
||||
.HasComment("PrimaryKey")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "id");
|
||||
|
||||
b.Property<DateTime>("CreatedAt")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasColumnOrder(100)
|
||||
.HasComment("สร้างข้อมูลเมื่อ");
|
||||
|
||||
b.Property<string>("CreatedFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("varchar(200)")
|
||||
.HasColumnOrder(104)
|
||||
.HasComment("ชื่อ User ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<string>("CreatedUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("varchar(40)")
|
||||
.HasColumnOrder(101)
|
||||
.HasComment("User Id ที่สร้างข้อมูล");
|
||||
|
||||
b.Property<bool>("IsActive")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
b.Property<string>("LastUpdateFullName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("varchar(200)")
|
||||
.HasColumnOrder(105)
|
||||
.HasComment("ชื่อ User ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<string>("LastUpdateUserId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(40)
|
||||
.HasColumnType("varchar(40)")
|
||||
.HasColumnOrder(103)
|
||||
.HasComment("User Id ที่แก้ไขข้อมูลล่าสุด");
|
||||
|
||||
b.Property<DateTime?>("LastUpdatedAt")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasColumnOrder(102)
|
||||
.HasComment("แก้ไขข้อมูลล่าสุดเมื่อ");
|
||||
|
||||
b.Property<int>("LeaveYear")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<Guid?>("ProfileId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<string>("SumAbsent")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<string>("SumEducation")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<string>("SumLate")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<string>("SumRest")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<string>("SumSick")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("ProfileId");
|
||||
|
||||
b.ToTable("ProfileLeaveSummary");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Models.HR.ProfileMotherHistory", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
|
|
@ -4883,6 +4961,9 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
b.Property<Guid?>("PositionLevelId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
b.Property<string>("PositionLevelName")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<Guid?>("PositionLineId")
|
||||
.HasColumnType("char(36)")
|
||||
.HasComment("Id สายงาน");
|
||||
|
|
@ -4903,6 +4984,9 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("PositionPathSideName");
|
||||
|
||||
b.Property<string>("PositionRef")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<double?>("PositionSalaryAmount")
|
||||
.HasColumnType("double")
|
||||
.HasComment("เงินประจำตำแหน่ง");
|
||||
|
|
@ -4911,6 +4995,9 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("char(36)")
|
||||
.HasComment("Id ประเภทตำแหน่ง");
|
||||
|
||||
b.Property<string>("PositionTypeName")
|
||||
.HasColumnType("longtext");
|
||||
|
||||
b.Property<Guid?>("ProfileId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
|
|
@ -15123,6 +15210,15 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
b.Navigation("TypeLeave");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Models.HR.ProfileLeaveSummary", b =>
|
||||
{
|
||||
b.HasOne("BMA.EHR.Domain.Models.HR.Profile", "Profile")
|
||||
.WithMany("LeaveSummary")
|
||||
.HasForeignKey("ProfileId");
|
||||
|
||||
b.Navigation("Profile");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("BMA.EHR.Domain.Models.HR.ProfileMotherHistory", b =>
|
||||
{
|
||||
b.HasOne("BMA.EHR.Domain.Models.HR.Profile", "Profile")
|
||||
|
|
@ -16773,6 +16869,8 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
|
||||
b.Navigation("Insignias");
|
||||
|
||||
b.Navigation("LeaveSummary");
|
||||
|
||||
b.Navigation("Leaves");
|
||||
|
||||
b.Navigation("MotherHistory");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue