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.*;

/**
* web-client
* @Author dearLin
* @Date 2026-03-19 10:27:50
*/
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ClosedAreaAddCmd extends Command {
    @ApiModelProperty(value = "父id", name = "parentId", required = true)
    @NotNull(message = "父id不能为空")
    private Long parentId;
    @ApiModelProperty(value = "所属港区", name = "hgAuthArea", required = true)
    @NotEmpty(message = "所属港区不能为空")
    private String hgAuthArea;
    @ApiModelProperty(value = "所属港区名称", name = "hgAuthAreaName", required = true)
    @NotEmpty(message = "所属港区名称名称不能为空")
    private String hgAuthAreaName;
    @ApiModelProperty(value = "封闭区域名称", name = "closedAreaName", required = true)
    @NotEmpty(message = "封闭区域名称不能为空")
    private String closedAreaName;
    
    @ApiModelProperty(value = "区域类型", name = "closedAreaType", required = true)
    @NotEmpty(message = "区域类型不能为空")
    private String closedAreaType;
    
    @ApiModelProperty(value = "区域类型名称", name = "closedAreaTypeName", required = true)
    @NotEmpty(message = "区域类型名称不能为空")
    private String closedAreaTypeName;
    
    @ApiModelProperty(value = "管辖单位名id", name = "jurisdictionalCorpId", required = true)
    @NotNull(message = "管辖单位名id不能为空")
    private Long jurisdictionalCorpId;
    
    @ApiModelProperty(value = "管辖单位名称", name = "jurisdictionalCorpName", required = true)
    @NotEmpty(message = "管辖单位名称不能为空")
    private String jurisdictionalCorpName;
    
    @ApiModelProperty(value = "区域经纬度", name = "location", required = true)
//    @NotEmpty(message = "区域经纬度不能为空")
    private String location;
    
}

