package com.sckw.transport.model.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

/**
 * @author zk
 * @desc 车辆运单审核
 * @date 2023/7/27 0027
 */
@Data
public class WaybillOrderTicketApprovalRejectDto {
    /**
     * 车辆运单id
     */
    @JsonProperty("wTicketId")
    @NotNull(message = "车辆运单榜单ID不能为空")
    private Long wTicketId;

    /**
     * 备注
     */
    @JsonProperty("remark")
    @Size(max=100, message = "原因长度不能大于100个字符！")
    @NotNull(message = "原因不能为空")
    private String remark;
}
