hrms-api-exam/Models/Gendor.cs
2025-01-05 21:59:15 +07:00

12 lines
369 B
C#

using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
namespace BMA.EHR.Recurit.Exam.Service.Models
{
public class Gender : EntityBase
{
[Required, MaxLength(20), Column(Order = 1), Comment("เพศ")]
public string name { get; set; } = string.Empty;
}
}