using BMA.EHR.Domain.Models.Base; using BMA.EHR.Domain.Models.Documents; using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations; namespace BMA.EHR.Domain.Models.HR { 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; } } }