using System.ComponentModel.DataAnnotations; namespace Dlhis.Basic.Appointment.Request; public class AppointmentFocusLeaveRequest { public long Id { get; set; } [Required(ErrorMessage = "原因不可为空")] public string Reason { get; set; } }