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:12:54
 */
@Data
@TableName("fire_point")
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class FirePointDO extends BaseDO {
    //业务主键id
    @ApiModelProperty(value = "业务主键id")
    private String firePointId;
    //企业id
    @ApiModelProperty(value = "企业id")
    private Long corpinfoId;
    //消防区域id
    @ApiModelProperty(value = "消防区域id")
    private String fireRegionId;
    //消防点位名称
    @ApiModelProperty(value = "消防点位名称")
    private String firePointName;
    //消防点位编码
    @ApiModelProperty(value = "消防点位编码")
    private String firePointCode;
    //部门id
    @ApiModelProperty(value = "部门id")
    @TableField(exist = false)
    private Long departmentId;
    //负责人
    @ApiModelProperty(value = "负责人")
    private Long userId;
    //经度
    @ApiModelProperty(value = "经度")
    private String longitude;
    //纬度
    @ApiModelProperty(value = "纬度")
    private String latitude;
    @ApiModelProperty(value = "是否开启nfc,0否，1是", name = "nfcFlag")
    private Integer nfcFlag;

    @TableField(exist = false)
    private String departmentName;
    @TableField(exist = false)
    private String userName;
    @TableField(exist = false)
    private String fireRegionName;
    @TableField(exist = false)
    private String fireRegionCode;
    public FirePointDO(String firePointId) {
        this.firePointId = firePointId;
    }

}

