add note to ProfileEducation
This commit is contained in:
parent
1393969516
commit
0ed8935b4c
5 changed files with 17210 additions and 0 deletions
|
|
@ -46,5 +46,8 @@ namespace BMA.EHR.Domain.Models.HR
|
||||||
public virtual List<ProfileEducationHistory> ProfileEducationHistorys { get; set; } = new List<ProfileEducationHistory>();
|
public virtual List<ProfileEducationHistory> ProfileEducationHistorys { get; set; } = new List<ProfileEducationHistory>();
|
||||||
public virtual Profile? Profile { get; set; }
|
public virtual Profile? Profile { get; set; }
|
||||||
|
|
||||||
|
[Comment("หมายเหตุ")]
|
||||||
|
public string? Note { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -39,5 +39,8 @@ namespace BMA.EHR.Domain.Models.HR
|
||||||
[Comment("Id เป็นวุฒิการศึกษาในตำแหน่ง")]
|
[Comment("Id เป็นวุฒิการศึกษาในตำแหน่ง")]
|
||||||
public Guid? PositionPathId { get; set; }
|
public Guid? PositionPathId { get; set; }
|
||||||
public virtual ProfileEducation? ProfileEducation { get; set; }
|
public virtual ProfileEducation? ProfileEducation { get; set; }
|
||||||
|
|
||||||
|
[Comment("หมายเหตุ")]
|
||||||
|
public string? Note { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
17154
BMA.EHR.Infrastructure/Migrations/20240304021621_Add Fields Note to ProfileEducation.Designer.cs
generated
Normal file
17154
BMA.EHR.Infrastructure/Migrations/20240304021621_Add Fields Note to ProfileEducation.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,42 @@
|
||||||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||||||
|
|
||||||
|
#nullable disable
|
||||||
|
|
||||||
|
namespace BMA.EHR.Infrastructure.Migrations
|
||||||
|
{
|
||||||
|
/// <inheritdoc />
|
||||||
|
public partial class AddFieldsNotetoProfileEducation : Migration
|
||||||
|
{
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.AddColumn<string>(
|
||||||
|
name: "Note",
|
||||||
|
table: "ProfileEducations",
|
||||||
|
type: "longtext",
|
||||||
|
nullable: true,
|
||||||
|
comment: "หมายเหตุ")
|
||||||
|
.Annotation("MySql:CharSet", "utf8mb4");
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<string>(
|
||||||
|
name: "Note",
|
||||||
|
table: "ProfileEducationHistorys",
|
||||||
|
type: "longtext",
|
||||||
|
nullable: true,
|
||||||
|
comment: "หมายเหตุ")
|
||||||
|
.Annotation("MySql:CharSet", "utf8mb4");
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "Note",
|
||||||
|
table: "ProfileEducations");
|
||||||
|
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "Note",
|
||||||
|
table: "ProfileEducationHistorys");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -2979,6 +2979,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
||||||
.HasColumnOrder(102)
|
.HasColumnOrder(102)
|
||||||
.HasComment("แก้ไขข้อมูลล่าสุดเมื่อ");
|
.HasComment("แก้ไขข้อมูลล่าสุดเมื่อ");
|
||||||
|
|
||||||
|
b.Property<string>("Note")
|
||||||
|
.HasColumnType("longtext")
|
||||||
|
.HasComment("หมายเหตุ");
|
||||||
|
|
||||||
b.Property<string>("Other")
|
b.Property<string>("Other")
|
||||||
.HasMaxLength(1000)
|
.HasMaxLength(1000)
|
||||||
.HasColumnType("varchar(1000)")
|
.HasColumnType("varchar(1000)")
|
||||||
|
|
@ -3108,6 +3112,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
||||||
.HasColumnOrder(102)
|
.HasColumnOrder(102)
|
||||||
.HasComment("แก้ไขข้อมูลล่าสุดเมื่อ");
|
.HasComment("แก้ไขข้อมูลล่าสุดเมื่อ");
|
||||||
|
|
||||||
|
b.Property<string>("Note")
|
||||||
|
.HasColumnType("longtext")
|
||||||
|
.HasComment("หมายเหตุ");
|
||||||
|
|
||||||
b.Property<string>("Other")
|
b.Property<string>("Other")
|
||||||
.HasMaxLength(1000)
|
.HasMaxLength(1000)
|
||||||
.HasColumnType("varchar(1000)")
|
.HasColumnType("varchar(1000)")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue