api บันทึกเครื่องราช

This commit is contained in:
Kittapath 2023-08-23 20:30:30 +07:00
parent 9abb9c5422
commit 51bdcf4041
50 changed files with 162548 additions and 111 deletions

View file

@ -0,0 +1,24 @@
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using BMA.EHR.Domain.Models.Base;
using System.ComponentModel.DataAnnotations.Schema;
using BMA.EHR.Domain.Models.Documents;
namespace BMA.EHR.Domain.Models.Insignias
{
public class InsigniaNote : EntityBase
{
[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 int Amount { get; set; }
// public Document? ReliefDoc { get; set; }
// [Comment("ราบการยื่นขอ")]
// public int Round { get; set; } = 1;
public virtual List<InsigniaNoteProfile> InsigniaNoteProfiles { get; set; }
public virtual List<InsigniaNoteDoc> InsigniaNoteDocs { get; set; }
}
}