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

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
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 java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author zhangzhao
 * @description 指导巡逻方格点位必到点表
 * @modifier zhangzhao
 * @modifiedTime 2025/09/06 11:49
 * @since 2025/09/06 11:49
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_zdxl_fgdw_bdd")
@ApiModel(value = "TbZdxlFgdwBdd对象", description = "指导巡逻方格点位必到点表")
public class TbZdxlFgdwBdd extends BaseEntity implements Serializable, Cloneable {

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

    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 方格点位ID
     */
    @ApiModelProperty(value = "方格点位ID")
    @TableField(value = "fgdw_id")
    private Long fgdwId;

    /**
     * 必到点名称
     */
    @ApiModelProperty(value = "必到点名称")
    @TableField(value = "bdd_mc")
    private String bddMc;

    /**
     * 必到点地址
     */
    @ApiModelProperty(value = "必到点地址")
    @TableField(value = "bdd_dz")
    private String bddDz;

    /**
     * 必到点说明
     */
    @ApiModelProperty(value = "必到点说明")
    @TableField(value = "bdd_sm")
    private String bddSm;

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

    /**
     * 经度
     */
    @ApiModelProperty(value = "经度")
    @TableField(value = "jd")
    private BigDecimal jd;

    /**
     * 纬度
     */
    @ApiModelProperty(value = "纬度")
    @TableField(value = "wd")
    private BigDecimal wd;

    /**
     * 所属部门id
     */
    @ApiModelProperty(value = "所属部门id")
    @TableField(value = "ssbmid")
    private String ssbmid;

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

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

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

    /**
     * 所属县公安局id
     */
    @ApiModelProperty(value = "所属县公安局id")
    @TableField(value = "ssxgajid")
    private String ssxgajid;

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

    /**
     * 所属市公安局id
     */
    @ApiModelProperty(value = "所属市公安局id")
    @TableField(value = "sssgajid")
    private String sssgajid;

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

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


    /**
     * 主键ID字段名
     */
    public static String ID_FIELD = "id";

    /**
     * 方格点位ID字段名
     */
    public static String FGDW_ID_FIELD = "fgdw_id";

    /**
     * 必到点名称字段名
     */
    public static String BDD_MC_FIELD = "bdd_mc";

    /**
     * 必到点地址字段名
     */
    public static String BDD_DZ_FIELD = "bdd_dz";

    /**
     * 必到点说明字段名
     */
    public static String BDD_SM_FIELD = "bdd_sm";

    /**
     * 经度字段名
     */
    public static String JD_FIELD = "jd";

    /**
     * 纬度字段名
     */
    public static String WD_FIELD = "wd";

    /**
     * 所属部门id
     */
    public static String SSBMID_TYPE = "ssbmid";

    /**
     * 所属部门
     */
    public static String SSBM_TYPE = "ssbm";

    /**
     * 所属部门代码
     */
    public static String SSBMDM_TYPE = "ssbmdm";

    /**
     * 所属县公安局
     */
    public static String SSXGAJ_TYPE = "ssxgaj";

    /**
     * 所属县公安局id
     */
    public static String SSXGAJID_TYPE = "ssxgajid";

    /**
     * 所属县公安局代码
     */
    public static String SSXGAJDM_TYPE = "ssxgajdm";

    /**
     * 所属市公安局id
     */
    public static String SSSGAJID_TYPE = "sssgajid";

    /**
     * 所属市公安局
     */
    public static String SSSGAJ_TYPE = "sssgaj";

    /**
     * 所属市公安局代码
     */
    public static String SSSGAJDM_TYPE = "sssgajdm";

}
