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,13 +1,13 @@
using BMA.EHR.Organization.Service.Models;
using BMA.EHR.Report.Service.Models;
using BMA.EHR.MetaData.Service.Models;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace BMA.EHR.Profile.Service.Models
namespace BMA.EHR.Organization.Service.Models
{
public class OrganizationPositionEntity : EntityBase
{
[ForeignKey("PositionMasterId")]
public PositionMasterEntity? PositionMaster_PositionMasterId { get; set; }
@ -28,5 +28,12 @@ namespace BMA.EHR.Profile.Service.Models
[Column(Order = 6), Comment("PositionNumberId")]
public Guid? PositionNumberId { get; set; }
[Column(Order = 7), Comment("ติดเงื่อนไข")]
public bool? IsCondition { get; set; }
[Column(Order = 8), Comment("รายละเอียดเงื่อนไข")]
public string? ConditionNote { get; set; }
}
}