package com.junmp.jyzb.api.bean.query.hardWareReq;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.junmp.v2.common.bean.request.ValidationApi;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
public class UploadRFIDInnerReq {

    @NotEmpty(message = "主柜编号不能为空",groups = {ValidationApi.edit.class})
    @JsonProperty("cabinetID")
    private String cabinetID;

    @NotEmpty(message = "箱门号不能为空",groups = {ValidationApi.edit.class})
    @JsonProperty("cabinetChildID")
    private String cabinetChildID;

    private String time;

    private Boolean rebind;

    private String url;

    @JsonProperty("RFIDList")
    private List<String> RFIDList;
}
