package com.bonus.canteen.core.order.domain.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

@Data
public class ShopOrderInfoAddParam {
    @NotNull(message = "订单类型不能为空")
    private Integer orderType;
    @NotNull(message = "设备订单编号不能为空")
    private String deviceOrderId;
    @NotNull(message = "设备SN不能为空")
    private String deviceSn;
    @NotNull(message = "设备编号不能为空")
    private String deviceNum;
    @NotNull(message = "订单日期不能为空")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date orderDate;
    @NotNull(message = "核身方式不能为空")
    private Integer identityVerification;
}
