using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations; namespace BMA.EHR.MetaData.Service.Models { public class Gender : EntityBase { [Required, MaxLength(20), Column(Order = 1), Comment("เพศ")] public string Name { get; set; } = string.Empty; [Column(Order = 2), Comment("สถานะการใช้งาน")] public bool IsActive { get; set; } = true; } }