/*
 * Author: Zev
 * 生成entity
 */
package com.tofly.pojo.plan.dto;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * 上下班签到历史信息表：TF_YWPN_PDASIGNHIS_W
 *
 * @author admin
 * @date Thu Mar 18 00:00:00 CST 2021
 */
@Data
@ApiModel
public class PdasignhisDto extends Model<PdasignhisDto> {
    private static final long serialVersionUID = 1L;

    /**
     * 考勤签到ID
     */
    @ApiModelProperty(value = "考勤签到ID")
    private Long id;
    /**
     * 签到用户ID
     */
    @ApiModelProperty(value = "签到用户ID")
    private Long signUser;
    /**
     * 移动设备ID
     */
    @ApiModelProperty(value = "移动设备ID")
    private Long pdaid;
    /**
     * 签到时间
     */
    @ApiModelProperty(value = "签到时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
     * 签到地点
     */
    @ApiModelProperty(value = "签到地点")
    private String signAddress;
    /**
     * 签到类型；1：上班 2：下班
     */
    @ApiModelProperty(value = "签到类型；1：上班 2：下班")
    private String signType;
    /**
     * 签到位置经度
     */
    @ApiModelProperty(value = "签到位置经度")
    private Double lng;
    /**
     * 签到位置纬度
     */
    @ApiModelProperty(value = "签到位置纬度")
    private Double lat;
    /**
     * 签到分段数
     */
    @ApiModelProperty(value = "签到分段数")
    private Long section;
    /**
     * 签到备注
     */
    @ApiModelProperty(value = "签到备注")
    private String note;
    /**
     * 签到标识；0:gps获取 1：手动获取
     */
    @ApiModelProperty(value = "签到标识；0:gps获取 1：手动获取")
    private String flag;
    /**
     * 签到时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "签到时间")
    private Date signTime;

    /**
     * 签到起始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "签到起始时间")
    private Date signStartTime;

    /**
     * 签到终止时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "签到终止时间")
    private Date signEndTime;
}
