Add Profile Table
This commit is contained in:
parent
aa691fe65f
commit
68dab7a727
69 changed files with 18537 additions and 84 deletions
79
BMA.EHR.Domain/Models/Organizations/PositionMasterEntity.cs
Normal file
79
BMA.EHR.Domain/Models/Organizations/PositionMasterEntity.cs
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using BMA.EHR.Domain.Models.Base;
|
||||
|
||||
namespace BMA.EHR.Domain.Models.Organizations
|
||||
{
|
||||
public class PositionMasterEntity : EntityBase
|
||||
{
|
||||
|
||||
//[ForeignKey("PositionId")]
|
||||
//public Position? Position_PositionId { get; set; }
|
||||
|
||||
[Column(Order = 2), Comment("PositionId")]
|
||||
public Guid? PositionId { get; set; }
|
||||
|
||||
//[ForeignKey("PositionPathId")]
|
||||
//public PositionPath? PositionPath_PositionPathId { get; set; }
|
||||
|
||||
[Column(Order = 3), Comment("PositionPathId")]
|
||||
public Guid? PositionPathId { get; set; }
|
||||
|
||||
//[ForeignKey("PositionTypeId")]
|
||||
//public PositionType? PositionType_PositionTypeId { get; set; }
|
||||
|
||||
[Column(Order = 4), Comment("PositionTypeId")]
|
||||
public Guid? PositionTypeId { get; set; }
|
||||
|
||||
//[ForeignKey("PositionExecutiveId")]
|
||||
//public PositionExecutive? PositionExecutive_PositionExecutiveId { get; set; }
|
||||
|
||||
[Column(Order = 5), Comment("PositionExecutiveId")]
|
||||
public Guid? PositionExecutiveId { get; set; }
|
||||
|
||||
//[ForeignKey("ExcutiveSideId")]
|
||||
//public PositionExecutiveSide? PositionExecutiveSide_ExcutiveSideId { get; set; }
|
||||
|
||||
[Column(Order = 6), Comment("PositionExecutiveSideId")]
|
||||
public Guid? PositionExecutiveSideId { get; set; }
|
||||
|
||||
//[ForeignKey("PathSideId")]
|
||||
//public PositionPathSide? PositionPathSide_PathSideId { get; set; }
|
||||
|
||||
[Column(Order = 7), Comment("PositionPathSideId")]
|
||||
public Guid? PositionPathSideId { get; set; }
|
||||
|
||||
[Column(Order = 8), Comment("PositionLineId")]
|
||||
public Guid? PositionLineId { get; set; }
|
||||
|
||||
//[Column(Order = 9), Comment("PositionLevelId")]
|
||||
//public Guid? PositionLevelId { get; set; }
|
||||
|
||||
[Column(Order = 10), Comment("PositionStatusId")]
|
||||
public Guid? PositionStatusId { get; set; }
|
||||
|
||||
[Column(Order = 11), Comment("PositionCondition")]
|
||||
public string? PositionCondition { get; set; }
|
||||
|
||||
[Column(Order = 12), Comment("PositionStatus")]
|
||||
public Guid? PositionStatus { get; set; }
|
||||
|
||||
[Column(Order = 13), Comment("PositionMasterUserNote")]
|
||||
public string? PositionMasterUserNote { get; set; }
|
||||
|
||||
[Column(Order = 14), Comment("IsDirector")]
|
||||
public bool? IsDirector { get; set; }
|
||||
|
||||
[Column(Order = 15), Comment("คุณวุฒิ")]
|
||||
public string? Qualification { get; set; }
|
||||
|
||||
public string? PositionPathSideObject { get; set; }
|
||||
|
||||
public string? PositionExecutiveSideObject { get; set; }
|
||||
|
||||
//public List<AvailablePositionLevelEntity> AvailablePositionLevels { get; } = new();
|
||||
public List<PositionMasterHistoryEntity> PositionMasterHistorys { get; } = new();
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue