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