Newer
Older
huludao / src / main / java / com / newfiber / api / pc / model / entity / PatrolManageProblem.java
package com.newfiber.api.pc.model.entity;


import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @描述:巡查管理问题
 * @作者: luzhan
 * @日期: 2021-07-15
 */
@ApiModel(value = "巡查管理问题")
@Data
public class PatrolManageProblem implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @TableField("patrol_type")
    @ApiModelProperty(value = "1 河道巡查 2官网巡查")
    private Integer patrolType;

    @TableField("patrol_no")
    @ApiModelProperty(value = "巡查no")
    private Long patrolNo;

    @TableField("patrol_name")
    @ApiModelProperty(value = "巡查记录名称")
    private String patrolName;

    @TableField("problem_name")
    @ApiModelProperty(value = "巡查问题名称")
    private String problemName;

    @TableField("project_main_id")
    @ApiModelProperty(value = "主项目编号")
    private Long projectMainId;

    @TableField("project_main_name")
    @ApiModelProperty(value = "主项目名称")
    private String projectMainName;

    @TableField("bind_no")
    @ApiModelProperty(value = "绑定编号")
    private Long bindNo;

    @TableField("project_name")
    @ApiModelProperty(value = "巡查项目名称")
    private String projectName;

    @TableField("problem_type")
    @ApiModelProperty(value = "问题类型")
    private Long problemType;

    @TableField("problem_type_name")
    @ApiModelProperty(value = "巡查问题名称")
    private String problemTypeName;

    @TableField("address")
    @ApiModelProperty(value = "地址")
    private String address;

    @TableField("description")
    @ApiModelProperty(value = "描述")
    private String description;

    @TableField("pic_no")
    @ApiModelProperty(value = "图片no")
    private String picNo;

    @TableField("pic_after_no")
    @ApiModelProperty(value = "图片no")
    private String picAfterNo;

    @TableField("after_description")
    @ApiModelProperty(value = "图片描述")
    private String afterDescription;

    @TableField("coordinate")
    @ApiModelProperty(value = "坐标")
    private String coordinate;

    private Integer state;
    @TableField("state_desc")
    @ApiModelProperty(value = "状态描述")
    private String stateDesc;

    @TableField("create_user_no")
    @ApiModelProperty(value = "创建用户")
    private String createUserNo;

    @TableField(exist = false)
    @ApiModelProperty(value = "创建用户")
    private String createUserName;

    @TableField("create_user_phone")
    @ApiModelProperty(value = "创建者手机号")
    private String createUserPhone;
    @TableField("lead_no")
    @ApiModelProperty(value = "领导账号")
    private String leadNo;
    @TableField("lead_name")
    @ApiModelProperty(value = "领导名称")
    private String leadName;
    @TableField("center_no")
    @ApiModelProperty(value = "调度中心")
    private String centerNo;
    @TableField("center_name")
    @ApiModelProperty(value = "调度中心处理人")
    private String centerName;
    @TableField("duty_no")
    @ApiModelProperty(value = "负责人")
    private String dutyNo;
    @TableField("duty_name")
    @ApiModelProperty(value = "负责人姓名")
    private String dutyName;
    @TableField("handler_lead_no")
    @ApiModelProperty(value = "处理人 领导")
    private String handlerLeadNo;
    @TableField("handler_lead_name")
    @ApiModelProperty(value = "处理人领导")
    private String handlerLeadName;
    @TableField("handler_no")
    @ApiModelProperty(value = "处理人")
    private String handlerNo;
    @TableField("handler_name")
    @ApiModelProperty(value = "处理人")
    private String handlerName;
    @TableField("is_lead_check")
    @ApiModelProperty(value = "是否领导审批(0 是,1 否)")
    private Integer isLeadCheck;
    @TableField("source_type")
    @ApiModelProperty(value = "提交来源(1.领导下发 2.数字政通 3.负责人提交 4.负责人以外的科室提交 5.厂网河人员提交)")
    private Integer sourceType;
    @TableField("alarm_type")
    @ApiModelProperty(value = "选择巡查问题时的问题类型")
    private Integer alarmType;
    @TableField("expected_end_time")
    @ApiModelProperty(value = "期望的结束时间")
    private Date expectedEndTime;


    /**
     * 领导的期望完成时间
     */
    @TableField("completion_time")
    @ApiModelProperty(value = "期望的结束时间")
    private Date completionTime ;

    /**
     * 报警时黑臭水体和管网的站点编号
     */
    @TableField("site_no")
    @ApiModelProperty(value = "期望的结束时间")
    private String siteNo;

    /**
     * 问题名称
     */
    private String problem;

    @TableField("event_src_id")
    @ApiModelProperty(value = "问题来源标识")
    private String eventSrcId;
    @TableField("event_src")
    @ApiModelProperty(value = "问题来源标识")
    private String eventSrc;
    @TableField("event_level_iD")
    @ApiModelProperty(value = "问题级别标识")
    private Integer eventLevelId;
    @TableField("event_level")
    @ApiModelProperty(value = "问题级别标识")
    private String eventLevel;
    @TableField("event_type_code")
    @ApiModelProperty(value = "问题类型标识")
    private String eventTypeCode;
    @TableField("event_type")
    @ApiModelProperty(value = "问题类型标识")
    private String eventType;
    @TableField("main_type_code")
    @ApiModelProperty(value = "问题大类标识")
    private String mainTypeCode;
    @TableField("main_type")
    @ApiModelProperty(value = "问题大类标识")
    private String mainType;
    @TableField("sub_type_code")
    @ApiModelProperty(value = "问题小类标识")
    private String subTypeCode;
    @TableField("sub_type")
    @ApiModelProperty(value = "问题小类标识")
    private String subType;
    @TableField("third_type_code")
    @ApiModelProperty(value = "问题细类标识")
    private String thirdTypeCode;
    @TableField("third_type")
    @ApiModelProperty(value = "问题细类标识")
    private String thirdType;
    @TableField("deadline_time")
    @ApiModelProperty(value = "截止时间")
    private Date deadlineTime;
    @TableField("urgent_flag")
    @ApiModelProperty(value = "案件紧急程度  0:非紧急案件;1:紧急案件")
    private Integer urgentFlag;
    @TableField("create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @TableField("update_time")
    @ApiModelProperty(value = "编辑时间")
    private Date updateTime;

    /**
     * 关联的报警id
     */
    @TableField(exist = false)
    private Long relationId;

}