package com.zcloud.primeport.dto;

import com.alibaba.cola.dto.Command;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * web-client
 *
 * @Author makejava
 * @Date 2026-03-05 11:33:17
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MkmjGateAddCmd extends Command {
    @ApiModelProperty(value = "口门区域id", name = "mkmjId", required = true)
    @NotNull(message = "口门区域id不能为空")
    private Long mkmjId;
    @ApiModelProperty(value = "通道id", name = "passageId", required = true)
    @NotNull(message = "通道id不能为空")
    private Long passageId;
    @ApiModelProperty(value = "闸机标识", name = "gateNumber", required = true)
//    @NotEmpty(message = "闸机标识不能为空")
    private String gateNumber;
    @ApiModelProperty(value = "闸机名称", name = "gateName", required = true)
    @NotEmpty(message = "闸机名称不能为空")
    private String gateName;
    @ApiModelProperty(value = "闸机类型", name = "gateType", required = true)
    @NotEmpty(message = "闸机类型不能为空")
    private String gateType;
    @ApiModelProperty(value = "闸机类型名称", name = "gateTypeName", required = true)
    @NotEmpty(message = "闸机类型名称不能为空")
    private String gateTypeName;
    @ApiModelProperty(value = "闸机状态 1- 停用 2-正常", name = "gateStatus", required = true)
    @NotNull(message = "闸机状态 1- 停用 2-正常不能为空")
    private Integer gateStatus;
    @ApiModelProperty(value = "闸机类别", name = "gateCategory", required = true)
    @NotEmpty(message = "闸机类别不能为空")
    private String gateCategory;
    @ApiModelProperty(value = "闸机类别名称", name = "gateCategoryName", required = true)
    @NotEmpty(message = "闸机类别名称不能为空")
    private String gateCategoryName;
    @ApiModelProperty(value = "闸机型号", name = "gateModel", required = true)
    @NotEmpty(message = "闸机型号不能为空")
    private String gateModel;
    @ApiModelProperty(value = "闸机位置", name = "gatePosition", required = true)
    @NotEmpty(message = "闸机位置不能为空")
    private String gatePosition;
    @ApiModelProperty(value = "经度", name = "longitude", required = true)
//    @NotEmpty(message = "经度不能为空")
    private String longitude;
    @ApiModelProperty(value = "纬度", name = "latitude", required = true)
//    @NotEmpty(message = "纬度不能为空")
    private String latitude;
    @ApiModelProperty(value = "备注", name = "remarks", required = true)
//    @NotEmpty(message = "备注不能为空")
    private String remarks;

}

