package com.mosty.base.model.entity.yjzl.zddw;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mosty.base.model.BaseEntity;
import com.mosty.common.base.entity.log.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

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


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "TbZdxlFgzdyrw 对象", description = "指导巡逻方格自定义任务表")
public class TbZdxlFgzdyrw extends BaseEntity implements Serializable, Cloneable {

    @TableField(exist = false)
    private static final long serialVersionUID = 5641782828254278649L;

    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID")
    @Excel(name = "主键ID", sort = 1)
    private String id;

    /**
     * 方格ID
     */
    @ApiModelProperty(value = "方格ID")
    @Excel(name = "方格ID", sort = 2, cellType = Excel.ColumnType.NUMERIC)
    private Long fgId;

    /**
     * 方格排序
     */
    @ApiModelProperty(value = "方格排序")
    @Excel(name = "方格排序", sort = 3, cellType = Excel.ColumnType.NUMERIC)
    private Integer fgPx;

    /**
     * 方格预警等级 D_ZDXL_FGXLRW_YJDJ
     */
    @ApiModelProperty(value = "方格预警等级 D_ZDXL_FGXLRW_YJDJ")
    @Excel(name = "方格预警等级", sort = 4)
    private String fgYjdj;

    /**
     * 方格预警颜色 D_ZDXL_FGXLRW_YJYS
     */
    @ApiModelProperty(value = "方格预警颜色 D_ZDXL_FGXLRW_YJYS")
    @Excel(name = "方格预警颜色", sort = 5)
    private String fgYjys;

    /**
     * 方格预警警情数量
     */
    @ApiModelProperty(value = "方格任务时段")
    @Excel(name = "方格任务时段", sort = 6, cellType = Excel.ColumnType.NUMERIC)
    private Integer fgRwsd;

    @ApiModelProperty(value = "任务类型 D_BZ_RWBLX 1日常 2自定义")
    private String rwlx;

    /**
     * 方格预警高发时段
     */
    @ApiModelProperty(value = "方格任务标题")
    @Excel(name = "方格任务标题", sort = 7)
    private String fgRwbt;

    /**
     * 方格预警高发警情
     */
    @ApiModelProperty(value = "方格任务内容")
    @Excel(name = "方格任务内容", sort = 8)
    private String fgRwnr;

    /**
     * 任务日期
     */
    @ApiModelProperty(value = "任务日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "任务日期", sort = 11, dateFormat = "yyyy-MM-dd")
    private Date rwRq;

    /**
     * 任务状态 D_ZDXL_FGXLRW_RWZT
     */
    @ApiModelProperty(value = "任务状态 D_ZDXL_FGXLRW_RWZT")
    @Excel(name = "任务状态", sort = 12)
    private String rwZt;

    /**
     * 巡逻规划时长（分钟）
     */
    @ApiModelProperty(value = "巡逻规划时长（分钟）")
    @Excel(name = "巡逻规划时长（分钟）", sort = 13, cellType = Excel.ColumnType.NUMERIC)
    private Double xlghSc;

    /**
     * 巡逻规划开始时间
     */
    @ApiModelProperty(value = "巡逻规划开始时间")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "HH:mm:ss")
    @Excel(name = "巡逻规划开始时间", sort = 14, dateFormat = "HH:mm:ss")
    private Date xlghSjKs;

    /**
     * 巡逻规划结束时间
     */
    @ApiModelProperty(value = "巡逻规划结束时间")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "HH:mm:ss")
    @Excel(name = "巡逻规划结束时间", sort = 15, dateFormat = "HH:mm:ss")
    private Date xlghSjJs;

    /**
     * 巡逻规划巡逻里程（公里）
     */
    @ApiModelProperty(value = "巡逻规划巡逻里程（公里）")
    @Excel(name = "巡逻规划巡逻里程（公里）", sort = 16, cellType = Excel.ColumnType.NUMERIC)
    private Double xlghXllc;

    /**
     * 巡逻规划盘查车辆
     */
    @ApiModelProperty(value = "巡逻规划盘查车辆")
    private Integer xlghPcCl;

    /**
     * 巡逻规划盘查人员
     */
    @ApiModelProperty(value = "巡逻规划盘查人员")
    private Integer xlghPcRy;

    /**
     * 巡逻实际时长（分钟）
     */
    @ApiModelProperty(value = "巡逻实际时长（分钟）")
    @Excel(name = "巡逻实际时长（分钟）", sort = 17, cellType = Excel.ColumnType.NUMERIC)
    private Double xlsjSc;

    /**
     * 巡逻实际开始时间
     */
    @ApiModelProperty(value = "巡逻实际开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "巡逻实际开始时间", sort = 18, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date xlsjSjKs;

    /**
     * 巡逻实际结束时间
     */
    @ApiModelProperty(value = "巡逻实际结束时间")
    @Excel(name = "巡逻实际结束时间", sort = 19, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date xlsjSjJs;

    /**
     * 巡逻实际巡逻里程（公里）
     */
    @ApiModelProperty(value = "巡逻实际巡逻里程（公里）")
    @Excel(name = "巡逻实际巡逻里程（公里）", sort = 20, cellType = Excel.ColumnType.NUMERIC)
    private Double xlsjXllc;

    /**
     * 巡逻实际盘查车辆
     */
    @ApiModelProperty(value = "巡逻实际盘查车辆")
    private Integer xlsjPcCl;

    /**
     * 巡逻实际盘查人员
     */
    @ApiModelProperty(value = "巡逻实际盘查人员")
    private Integer xlsjPcRy;

    /**
     * 巡防报备ID
     */
    @ApiModelProperty(value = "巡防报备ID")
    private String xfbbId;

    /**
     * 巡防报备勤务警力ID
     */
    @ApiModelProperty(value = "巡防报备勤务警力ID")
    private String xfbbQwJlId;

}
