30 lines
1.1 KiB
C#
30 lines
1.1 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 ProfileNopaid : EntityBase
|
|
{
|
|
// [Key]
|
|
// public int Id { get; set; }
|
|
// [Required]
|
|
// public int Order { get; set; }
|
|
// [MaxLength(20)]
|
|
// public string No { get; set; }
|
|
// [MaxLength(200)]
|
|
// public string Issuer { get; set; }
|
|
// [MaxLength(2000)]
|
|
// public string Detail { get; set; }
|
|
// public DateTime IssueDate { get; set; }
|
|
[Comment("วัน เดือน ปี")]
|
|
public DateTime? Date { get; set; }
|
|
[Comment("รายละเอียด")]
|
|
public string? Detail { get; set; }
|
|
[Comment("เอกสารอ้างอิง")]
|
|
public string? Reference { get; set; }
|
|
public virtual List<ProfileNopaidHistory> ProfileNopaidHistorys { get; set; } = new List<ProfileNopaidHistory>();
|
|
public virtual Profile? Profile { get; set; }
|
|
}
|
|
}
|