package com.zcloud.fire.check.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 zhaokai
 * @Date 2025-11-26 10:37:10
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FireRegionUpdateCmd extends Command {
    @ApiModelProperty(value = "主键", name = "id", required = true)
    @NotNull(message = "主键不能为空")
    private Long id;
    @ApiModelProperty(value = "业务主键id", name = "fireRegionId", required = true)
    private String fireRegionId;
    @ApiModelProperty(value = "企业id", name = "corpinfoId")
    private Long corpinfoId;
    @ApiModelProperty(value = "消防区域名称", name = "fireRegionName", required = true)
    @NotEmpty(message = "消防区域名称不能为空")
    private String fireRegionName;
    @ApiModelProperty(value = "编码", name = "fireRegionCode", required = true)
    @NotEmpty(message = "编码不能为空")
    private String fireRegionCode;
    @ApiModelProperty(value = "部门id", name = "departmentId", required = true)
    @NotNull(message = "部门id不能为空")
    private Long departmentId;
    @ApiModelProperty(value = "0启用,1禁用", name = "state")
    private Integer state;
    @ApiModelProperty(value = "描述")
    private String remarks;

}

