using System.ComponentModel.DataAnnotations; namespace MiAssessment.Admin.Business.Models.Planner; /// /// 更新预约状态请求 /// public class UpdateBookingStatusRequest { /// /// 预约ID /// [Required(ErrorMessage = "预约ID不能为空")] public long Id { get; set; } /// /// 状态:1待联系 2联系中 3已完成 4已取消 /// [Range(1, 4, ErrorMessage = "状态值无效")] public int Status { get; set; } /// /// 备注 /// [MaxLength(500, ErrorMessage = "备注长度不能超过500个字符")] public string? Remark { get; set; } }