21 lines
No EOL
785 B
C#
21 lines
No EOL
785 B
C#
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using BMA.EHR.Domain.Models.Base;
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
namespace BMA.EHR.Domain.Models.HR
|
|
{
|
|
public class ProfileDuty : EntityBase
|
|
{
|
|
[Comment("เริ่มต้น")]
|
|
public DateTime? DateStart { get; set; }
|
|
[Comment("สิ้นสุด")]
|
|
public DateTime? DateEnd { get; set; }
|
|
[Comment("รายละเอียด")]
|
|
public string? Detail { get; set; }
|
|
[Comment("เอกสารอ้างอิง")]
|
|
public string? Reference { get; set; }
|
|
public virtual List<ProfileDutyHistory> ProfileDutyHistorys { get; set; } = new List<ProfileDutyHistory>();
|
|
public virtual Profile? Profile { get; set; }
|
|
}
|
|
} |