using System.ComponentModel.DataAnnotations; using Dlhis.Entity.Visitor.Enums; namespace Dlhis.Basic.Appointment.Request; public class AppointmentAreaSaveRequest { /// /// 数据id /// public long? Id { get; set; } /// /// 区域 AppointmentAreaEnumType /// [EnumDataType(typeof(AppointmentAreaEnumType))] public AppointmentAreaEnumType Type { get; set; } /// /// 编码 /// [Required(ErrorMessage = "编码不能为空")] public string CustomCode { get; set; } /// /// 名称 /// [Required] public string Name { get; set; } /// /// 备注 /// public string Remark { get; set; } }