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

31 lines
720 B
C#

using System;
using System.ComponentModel.DataAnnotations;
using Microsoft.EntityFrameworkCore;
namespace BMA.EHR.Domain.Models.HR
{
public class ProfileMotherHistory
{
[Key, Comment("ไม่ใช้")]
public int Id { get; set; }
[Required]
[MaxLength(50)]
public string Prefix { get; set; }
[Required]
[MaxLength(100)]
public string FirstName { get; set; }
[Required]
[MaxLength(100)]
public string LastName { get; set; }
[MaxLength(100)]
public string Career { get; set; }
public DateTime CreatedDate { get; set; } = DateTime.Now;
public Profile Profile { get; set; }
}
}