package com.starry.admin.modules.order.module.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * 订单查询对象
 *
 * @author admin
 * @since 2024-03-20
 */
@Data
@ApiModel(value = "修改后台备注参数", description = "修改订单后台备注的请求参数")
public class PlayOrderEditBackendRemarkByVo {

    /**
     * uuid
     */
    @NotNull(message = "orderId不能为空")
    @ApiModelProperty(value = "订单ID", required = true, example = "1", notes = "需要修改备注的订单ID")
    private String orderId;

    /**
     * 后台备注不能为空
     */
    @NotNull(message = "后台备注不能为空")
    @Length(min = 1, max = 100, message = "后台备注字符长度在1-100个字符之间")
    @ApiModelProperty(value = "后台备注", required = true, example = "顾客要求特殊服务", notes = "订单的后台备注内容，1-100字符")
    private String backendRemark;

}
