package com.zcloud.fire.check.persistence.dataobject;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jjb.saas.framework.repository.basedo.BaseDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * web-infrastructure
 *
 * @Author zhaokai
 * @Date 2025-11-26 10:37:10
 */
@Data
@TableName("fire_region")
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class FireRegionDO extends BaseDO {
    //业务主键id
    @ApiModelProperty(value = "业务主键id")
    private String fireRegionId;
    //企业id
    @ApiModelProperty(value = "企业id")
    private Long corpinfoId;
    //消防区域名称
    @ApiModelProperty(value = "消防区域名称")
    private String fireRegionName;
    //编码
    @ApiModelProperty(value = "编码")
    private String fireRegionCode;
    //部门id
    @ApiModelProperty(value = "部门id")
    private Long departmentId;
    //0启用,1禁用
    @ApiModelProperty(value = "0启用,1禁用")
    private Integer state;

    @TableField(exist = false)
    private String departmentName;

    public FireRegionDO(String fireRegionId) {
        this.fireRegionId = fireRegionId;
    }

}

