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:19
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MkmjPassageAddCmd extends Command {
    @ApiModelProperty(value = "通道名称", name = "passageName", required = true)
    @NotEmpty(message = "通道名称不能为空")
    private String passageName;
    @ApiModelProperty(value = "通道类型 1-人行 2-车行 3-综合", name = "passageType", required = true)
    @NotEmpty(message = "通道类型 1-人行 2-车行 3-综合不能为空")
    private String passageType;
    @NotEmpty(message = "通道类型名称")
    private String passageTypeName;
    @ApiModelProperty(value = "通道状态  1-停用 2-正常", name = "passageStatus", required = true)
    @NotNull(message = "通道状态  1-停用 2-正常不能为空")
    private Integer passageStatus;
    @ApiModelProperty(value = "口门区域id", name = "mkmjId", required = true)
    @NotNull(message = "口门区域id不能为空")
    private Long mkmjId;
    @ApiModelProperty(value = "经度", name = "longitude", required = true)
//    @NotEmpty(message = "经度不能为空")
    private String longitude;
    @ApiModelProperty(value = "纬度", name = "latitude", required = true)
//    @NotEmpty(message = "纬度不能为空")
    private String latitude;
}

