hrms-api-backend/BMA.EHR.Domain/Models/HR/ProfileDuty.cs
Suphonchai Phoonsawat 68dab7a727 Add Profile Table
2023-06-26 15:18:39 +07:00

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; }
}
}