hrms-api-backend/BMA.EHR.Domain/Models/HR/ProfileDuty.cs

21 lines
785 B
C#
Raw Normal View History

using System;
using System.ComponentModel.DataAnnotations;
using BMA.EHR.Domain.Models.Base;
using Microsoft.EntityFrameworkCore;
2023-06-26 15:18:39 +07:00
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; }
}
}