package tech.glinfo.enbao.modules.sh.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author lyt
 * @date 2022/5/24 10:34
 */
@Data
public class ShCarLockForm {

    @ApiModelProperty(value = "设备ID")
    @NotNull(message="设备不能为空")
    private Integer deviceId;

    @ApiModelProperty(value = "名称")
    @NotBlank(message="名称不能为空")
    private String name;

    @ApiModelProperty(value = "编号")
    @NotBlank(message="编号不能为空")
    private String number;
}
