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

19 lines
672 B
C#

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