package com.sckw.order.model.vo.req;

import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

/**
 * @desc: 订单驳回参数
 * @author: yzc
 * @date: 2023-07-12 11:18
 */
@Getter
@Setter
@ToString
public class RejectOrderParam {

    @NotNull(message = "订单id不能为为空")
    private Long id;

    @Length(min = 1, max = 200, message = "驳回原因不能为空且最多200字")
    private String remark;

}
