package com.gxwebsoft.tower.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 安全检查
 *
 * @author 科技小王子
 * @since 2024-02-22 13:44:23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "TowerSecurity对象", description = "安全检查")
public class TowerSecurity implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增ID")
    @TableId(value = "security_id", type = IdType.AUTO)
    private Integer securityId;

    @ApiModelProperty(value = "类型")
    private Integer type;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "项目ID")
    private Integer projectId;

    @ApiModelProperty(value = "保养编号")
    private String securityCode;

    @ApiModelProperty(value = "所在地")
    private String address;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "所在国家")
    private String country;

    @ApiModelProperty(value = "所在省份")
    private String province;

    @ApiModelProperty(value = "所在城市")
    private String city;

    @ApiModelProperty(value = "所在辖区")
    private String region;

    @ApiModelProperty(value = "区域名称")
    private String regionName;

    @ApiModelProperty(value = "状态, 0正常, 1待修,2异常已修，3异常未修")
    private Integer status;

    @ApiModelProperty(value = "备注")
    private String comments;

    @ApiModelProperty(value = "问题描述")
    private String problem;

    @ApiModelProperty(value = "处理方法")
    private String processingMethod;

    @ApiModelProperty(value = "图片附件")
    private String files;

    @ApiModelProperty(value = "是否更换配件")
    private Boolean replaceAccessories;

    @ApiModelProperty(value = "排序号")
    private Integer sortNumber;

    @ApiModelProperty(value = "所有人")
    private Integer userId;

    @ApiModelProperty(value = "是否删除, 0否, 1是")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

}
