change fore new field

This commit is contained in:
Suphonchai Phoonsawat 2023-07-16 20:01:24 +07:00
parent d5670f11fd
commit 0324e4c270
12 changed files with 754 additions and 534 deletions

View file

@ -1,9 +1,9 @@
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using BMA.EHR.Report.Service.Models;
using BMA.EHR.MetaData.Service.Models;
namespace BMA.EHR.Profile.Service.Models
namespace BMA.EHR.Organization.Service.Models
{
public class OrganizationEntity : EntityBase
{
@ -67,6 +67,21 @@ namespace BMA.EHR.Profile.Service.Models
[Column(Order = 13), Comment("OrganizationUserNote")]
public string? OrganizationUserNote { get; set; }
[Column(Order = 14), Comment("หน่วยงาน")]
public string? Agency { get; set; }
[Column(Order = 15), Comment("ส่วนราชการ")]
public string? Government { get; set; }
[Column(Order = 16), Comment("ฝ่าย/ส่วน")]
public string? Department { get; set; }
[Column(Order = 17), Comment("กอง")]
public string? Pile { get; set; }
public Guid? OrganizationStatusId { get; set; }
public List<OrganizationEntity> Organizations { get; } = new();
}