สร้าง table บรรจุ
This commit is contained in:
parent
b0228a5277
commit
d387cc68bc
10 changed files with 12070 additions and 0 deletions
30
BMA.EHR.Domain/Models/Placement/PlacementCareer.cs
Normal file
30
BMA.EHR.Domain/Models/Placement/PlacementCareer.cs
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using BMA.EHR.Domain.Models.Base;
|
||||
|
||||
namespace BMA.EHR.Domain.Models.Placement
|
||||
{
|
||||
public class PlacementCareer : EntityBase
|
||||
{
|
||||
[Required, Comment("Id ผู้สมัคร")]
|
||||
public virtual PlacementProfile? PlacementProfile { get; set; }
|
||||
|
||||
[Required, Comment("ระยะเวลาเริ่ม")]
|
||||
public DateTime DurationStart { get; set; } = DateTime.Now.Date;
|
||||
|
||||
[Required, Comment("ระยะเวลาสิ้นสุด")]
|
||||
public DateTime DurationEnd { get; set; } = DateTime.Now.Date;
|
||||
|
||||
[Required, Comment("สถานที่ทำงาน/ฝึกงาน")]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
[Required, Comment("ตำแหน่ง/ลักษณะงาน")]
|
||||
public string Position { get; set; } = string.Empty;
|
||||
|
||||
[Required, MaxLength(20), Comment("เงินเดือนสุดท้ายก่อนออก")]
|
||||
public int Salary { get; set; }
|
||||
|
||||
[Required, Comment("เหตุผลที่ออก")]
|
||||
public string Reason { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue