api ตำแหน่ง draft
This commit is contained in:
parent
6b7fcaaba2
commit
6a572144ab
42 changed files with 32604 additions and 1 deletions
27
BMA.EHR.Domain/Models/Insignias/InsigniaPeriod.cs
Normal file
27
BMA.EHR.Domain/Models/Insignias/InsigniaPeriod.cs
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using BMA.EHR.Domain.Models.Base;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace BMA.EHR.Domain.Models.Insignias
|
||||
{
|
||||
public class InsigniaPeriod : EntityBase
|
||||
{
|
||||
[Required, MaxLength(200)]
|
||||
public string Name { get; set; }
|
||||
|
||||
public int Year { get; set; }
|
||||
|
||||
public DateTime StartDate { get; set; }
|
||||
|
||||
public DateTime EndDate { get; set; }
|
||||
|
||||
[MaxLength(50)]
|
||||
public string Amount { get; set; }
|
||||
|
||||
[MaxLength(10)]
|
||||
public string Type { get; set; }
|
||||
|
||||
public virtual List<InsigniaRequest> InsigniaRequests { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue