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

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/07 20:43
 * @since 2025/09/07 20:43
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "TbZdxlFgdwBddxlrwJlClockInDTO对象", description = "指导巡逻方格点位必到点巡逻任务记录表打卡DTO对象")
public class TbZdxlFgdwBddxlrwJlClockInDTO {

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

    /**
     * 打卡附件
     */
    @ApiModelProperty(value = "打卡附件")
//    @NotBlank(message = "zdxl.fgdwBdd.xlrwJl.dkFj.notBlank")
    @Size(max = 255, message = "zdxl.fgdwBdd.xlrwJl.dkFj.size")
    private String dkFj;

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

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

}
