mi-assessment/server/MiAssessment/src/MiAssessment.Admin.Business/Models/Planner/UpdateBookingStatusRequest.cs
2026-03-19 06:52:57 +08:00

28 lines
700 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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