2023-06-26 14:02:04 +07:00
|
|
|
|
using BMA.EHR.Domain.Models.Base;
|
2023-06-26 14:55:54 +07:00
|
|
|
|
using BMA.EHR.Domain.Models.Documents;
|
2023-06-26 14:02:04 +07:00
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
2023-06-26 15:18:39 +07:00
|
|
|
|
namespace BMA.EHR.Domain.Models.HR
|
2023-06-26 14:02:04 +07:00
|
|
|
|
{
|
|
|
|
|
|
public class ProfilePaper : EntityBase
|
|
|
|
|
|
{
|
|
|
|
|
|
// [Key]
|
|
|
|
|
|
// public int Id { get; set; }
|
|
|
|
|
|
[Required, MaxLength(255), Comment("ชื่อไฟล์")]
|
|
|
|
|
|
public string? Detail { get; set; }
|
|
|
|
|
|
[Required, MaxLength(255), Comment("ประเภทไฟล์-ไม่ใช้")]
|
|
|
|
|
|
public string? CategoryName { get; set; }
|
|
|
|
|
|
public Document Document { get; set; }
|
|
|
|
|
|
public virtual Profile Profile { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|