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

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mosty.base.model.BaseEntity;
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)
@TableName("tb_zdy_fgrw")
@ApiModel(value = "TbZdyFgrw 对象", description = "巡逻方格任务")
public class TbZdyFgrw extends BaseEntity implements Serializable, Cloneable {

    private static final long serialVersionUID = -7955617972336621848L;

    @ApiModelProperty(value = "主键ID")
    private String id;

    @ApiModelProperty(value = "方格任务名称")
    private String fgRwmc;

    @ApiModelProperty(value = "方格ID")
    private Long fgId;

    @ApiModelProperty(value = "方格名称")
    private String fgmc;

    @ApiModelProperty(value = "下发日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date xfrq;

    @ApiModelProperty(value = "间隔时间")
    private Integer dkjgsj;

    @ApiModelProperty(value = "方格任务状态D_BZ_QWRWZT 01领取 02已领取 03已完成")
    private String fgrwzt;

    @ApiModelProperty(value = "下发部门")
    private String xfbm;

    @ApiModelProperty(value = "下发部门代码")
    private String xfbmdm;

    @ApiModelProperty(value = "所属部门")
    private String ssbm;

    @ApiModelProperty(value = "所属部门代码")
    private String ssbmdm;

    @ApiModelProperty(value = "所属县公安局")
    private String ssxgaj;

    @ApiModelProperty(value = "所属县公安局代码")
    private String ssxgajdm;

    @ApiModelProperty(value = "所属市公安局")
    private String sssgaj;

    @ApiModelProperty(value = "所属市公安局代码")
    private String sssgajdm;


}
