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;

/**
 * @author zhangzhao
 * @description 指导巡逻方格点位必到点巡逻任务表
 * @modifier zhangzhao
 * @modifiedTime 2025/09/06 19:27
 * @since 2025/09/06 19:27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_zdxl_fgdw_bddxlrw")
@ApiModel(value = "TbZdxlFgdwBddxlrw对象", description = "指导巡逻方格点位必到点巡逻任务表")
public class TbZdxlFgdwBddxlrw 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 = "bdd_id")
    private String bddId;

    /**
     * 方格巡逻任务ID
     */
    @ApiModelProperty(value = "方格巡逻任务ID")
    @TableField(value = "fgxlrw_id")
    private String fgxlrwId;

    /**
     * 巡逻规划打卡次数
     */
    @ApiModelProperty(value = "巡逻规划打卡次数")
    @TableField(value = "xlgh_dkcs")
    private Integer xlghDkcs;

    /**
     * 巡逻实际打卡次数
     */
    @ApiModelProperty(value = "巡逻实际打卡次数")
    @TableField(value = "xlsj_dkcs")
    private Integer xlsjDkcs;

    /**
     * 是否开始 D_BZ_SF
     */
    @ApiModelProperty(value = "是否开始 D_BZ_SF")
    @TableField(value = "sf_ks")
    private String sfKs;

    /**
     * 是否结束 D_BZ_SF
     */
    @ApiModelProperty(value = "是否结束 D_BZ_SF")
    @TableField(value = "sf_js")
    private String sfJs;


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

    /**
     * 必到点ID字段名
     */
    public static String BDD_ID_FIELD = "bdd_id";

    /**
     * 方格巡逻任务ID字段名
     */
    public static String FGXLRW_ID_FIELD = "fgxlrw_id";

    /**
     * 巡逻规划打卡次数字段名
     */
    public static String XLGH_DKCS_FIELD = "xlgh_dkcs";

    /**
     * 巡逻实际打卡次数字段名
     */
    public static String XLSJ_DKCS_FIELD = "xlsj_dkcs";

    /**
     * 是否开始字段名
     */
    public static String SF_KS_FIELD = "sf_ks";

    /**
     * 是否结束字段名
     */
    public static String SF_JS_FIELD = "sf_js";

}
