เพิ่ม api วันที่จ้างลูกจ้าง
This commit is contained in:
parent
929d9d5c96
commit
97b85a34e7
8 changed files with 17220 additions and 3 deletions
|
|
@ -325,5 +325,6 @@ namespace BMA.EHR.Domain.Models.HR
|
|||
|
||||
public virtual List<ProfileChildren> Childrens { get; set; } = new List<ProfileChildren>();
|
||||
public virtual List<ProfileChangeName> ChangeNames { get; set; } = new List<ProfileChangeName>();
|
||||
public virtual List<ProfileEmployment> Employments { get; set; } = new List<ProfileEmployment>();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
16
BMA.EHR.Domain/Models/HR/ProfileEmployment.cs
Normal file
16
BMA.EHR.Domain/Models/HR/ProfileEmployment.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using BMA.EHR.Domain.Models.Base;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace BMA.EHR.Domain.Models.HR
|
||||
{
|
||||
public class ProfileEmployment : EntityBase
|
||||
{
|
||||
[Comment("คำสั่ง")]
|
||||
public string? Command { get; set; }
|
||||
[Comment("วันที่จ้าง")]
|
||||
public DateTime? Date { get; set; }
|
||||
public virtual Profile? Profile { get; set; }
|
||||
}
|
||||
}
|
||||
16
BMA.EHR.Domain/Models/HR/ProfileEmploymentHistory.cs
Normal file
16
BMA.EHR.Domain/Models/HR/ProfileEmploymentHistory.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using BMA.EHR.Domain.Models.Base;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace BMA.EHR.Domain.Models.HR
|
||||
{
|
||||
public class ProfileEmploymentHistory : EntityBase
|
||||
{
|
||||
[Comment("คำสั่ง")]
|
||||
public string? Command { get; set; }
|
||||
[Comment("วันที่จ้าง")]
|
||||
public DateTime? Date { get; set; }
|
||||
public virtual ProfileEmployment? ProfileEmployment { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue