package com.mosty.base.model.dto.yjzl;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.math.BigDecimal;

/**
 * @author zhangzhao
 * @description 岗哨系统线索专题表修改DTO对象
 * @modifier zhangzhao
 * @modifiedTime 2025/09/06 14:33
 * @since 2025/09/06 14:33
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "TbGsxtXsztUpdateDTO对象", description = "岗哨系统线索专题表修改DTO对象")
public class TbZdxlFgdwBddUpdateDTO {

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id", required = true)
    @NotBlank(message = "id.bnwk")
    private String id;

    /**
     * 方格点位ID
     */
    @ApiModelProperty(value = "方格点位ID")
    @NotNull(message = "zdxl.fgdwBdd.fgdwId.notNull")
    private Long fgdwId;

    /**
     * 必到点名称
     */
    @ApiModelProperty(value = "必到点名称")
    @NotBlank(message = "zdxl.fgdwBdd.bddMc.notBlank")
    @Size(max = 64, message = "zdxl.fgdwBdd.bddMc.size")
    private String bddMc;

    /**
     * 必到点地址
     */
    @ApiModelProperty(value = "必到点地址")
    @Size(max = 255, message = "zdxl.fgdwBdd.bddDz.size")
    private String bddDz;

    /**
     * 必到点说明
     */
    @ApiModelProperty(value = "必到点说明")
    @Size(max = 128, message = "zdxl.fgdwBdd.bddSm.size")
    private String bddSm;

    /**
     * 经度
     */
    @ApiModelProperty(value = "经度")
    @NotNull(message = "zdxl.fgdwBdd.jd.notNull")
    private BigDecimal jd;

    /**
     * 纬度
     */
    @ApiModelProperty(value = "纬度")
    @NotNull(message = "zdxl.fgdwBdd.wd.notNull")
    private BigDecimal wd;

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

}
