using Microsoft.EntityFrameworkCore; using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations; using BMA.EHR.Domain.Models.Base; namespace BMA.EHR.Domain.Models.MetaData { public class PositionPathSide : EntityBase { [Required, MaxLength(100), Column(Order = 1), Comment("ชื่อด้าน/สาขา")] public string Name { get; set; } = string.Empty; [Column(Order = 2), Comment("สถานะการใช้งาน")] public bool IsActive { get; set; } = true; [Column(Order = 3), Comment("หมายเหตุ")] public string Note { get; set; } = string.Empty; } }