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:51
*/
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ClosedAreaUpdateCmd extends Command {
    @ApiModelProperty(value = "主键", name = "id", required = true)
    @NotNull(message = "主键不能为空")
    private Long id;
    @ApiModelProperty(value = "封闭区域名称", name = "closedAreaName", required = true)
    private String closedAreaName;
    @ApiModelProperty(value = "区域类型", name = "closedAreaType", required = true)
    private String closedAreaType;
    @ApiModelProperty(value = "区域类型名称", name = "closedAreaTypeName", required = true)
    private String closedAreaTypeName;
    @ApiModelProperty(value = "管辖单位名id", name = "jurisdictionalCorpId", required = true)
    private Long jurisdictionalCorpId;
    @ApiModelProperty(value = "管辖单位名称", name = "jurisdictionalCorpName", required = true)
    private String jurisdictionalCorpName;
    @ApiModelProperty(value = "区域经纬度", name = "location", required = true)
    private String location;
}

