hrms-api-backend/BMA.EHR.Domain/Models/HR/ProfileHonor.cs
Suphonchai Phoonsawat e45cf014b1 add field
2024-02-13 13:25:01 +07:00

33 lines
1.2 KiB
C#

using System;
using System.ComponentModel.DataAnnotations;
using BMA.EHR.Domain.Models.Base;
using Microsoft.EntityFrameworkCore;
namespace BMA.EHR.Domain.Models.HR
{
public class ProfileHonor : EntityBase
{
// [Key]
// public int Id { get; set; }
// [Required]
// public int Order { get; set; }
// [MaxLength(20)]
// public string? No { get; set; }
[MaxLength(200), Comment("หน่วยงานที่ออก")]
public string? Issuer { get; set; }
[MaxLength(2000), Comment("รายละเอียด")]
public string? Detail { get; set; }
[Comment("วันที่ได้รับ")]
public DateTime? IssueDate { get; set; }
// public DateTime? ReceiveDate { get; set; }
// public string? Detail { get; set; }
// public Guid? OrganizationOrganizationId { get; set; }
// public string? OrganizationOrganization { get; set; }
public virtual List<ProfileHonorHistory> ProfileHonorHistorys { get; set; } = new List<ProfileHonorHistory>();
public virtual Profile? Profile { get; set; }
[Comment("ประเภทช่วงเวลา")]
public bool? IsDate { get; set; }
}
}