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

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
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.math.BigDecimal;
import java.util.Date;


/**
 * 巡查统计计算表 dto 对象
 */
@Data
@ApiModel
public class GpscalculateVo extends Model<GpscalculateVo> {
    private static final long serialVersionUID = 1L;

    /**
     * $column.comments
     */
    @ApiModelProperty(value = "$column.comments")
    private Long id;
    /**
     * 有效耗时
     */
    @ApiModelProperty(value = "有效耗时")
    private Double vaildTotalTime;
    /**
     * 有效里程
     */
    @ApiModelProperty(value = "有效里程")
    private Double vaildTotalDistance;
    /**
     * 有效速度
     */
    @ApiModelProperty(value = "有效速度")
    private Double vaildSpeed;

    /**
     * 统计GPS日期
     */
    @ApiModelProperty(value = "统计GPS日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date gpsDate;
    /**
     * 巡查用户ID
     */
    @ApiModelProperty(value = "巡查用户ID")
    @TableField(value = "USER_ID", fill = FieldFill.INSERT)
    private Long userId;
    @ApiModelProperty(value = "巡查用户名称")
    private String userIdName;
    /**
     * 签到时间段
     */
    @ApiModelProperty(value = "签到时间段")
    private String signRange;
    /**
     * 巡检里程
     */
    @ApiModelProperty(value = "巡检里程")
    private Double planTotalDistance;
    /**
     * 巡检时长,秒数
     */
    @ApiModelProperty(value = "巡检时长,秒数")
    private Double planTotalTime;
    /**
     * 巡检平均时速
     */
    @ApiModelProperty(value = "巡检平均时速")
    private Double planTotalAverage;
    /**
     * 车巡里程
     */
    @ApiModelProperty(value = "车巡里程")
    private Double carTotalDistance;
    /**
     * 车巡耗时
     */
    @ApiModelProperty(value = "车巡耗时")
    private Double carTotalTime;
    /**
     * 车巡平均时速
     */
    @ApiModelProperty(value = "车巡平均时速")
    private Double carTotalAverage;
    @ApiModelProperty(value = "巡检计划任务数")
    private Long planNum;
    @ApiModelProperty(value = "巡检计划完成任务数")
    private Long planCompleteNumber;
    /**
     * 计划巡检点个数
     */
    @ApiModelProperty(value = "计划巡检点个数")
    private Long pointinplan;
    /**
     * 实际巡检点个数
     */
    @ApiModelProperty(value = "实际巡检点个数")
    private Long pointpatroled;
    /**
     * 计划巡检线长度
     */
    @ApiModelProperty(value = "计划巡检线长度")
    private BigDecimal pathinplan;
    /**
     * 实际巡检线长度
     */
    @ApiModelProperty(value = "实际巡检线长度")
    private BigDecimal pathpatroled;
    /**
     * 工地发现个数
     */
    @ApiModelProperty(value = "工地发现个数")
    private Long buildingsitefinded;
    /**
     * 工地监护个数
     */
    @ApiModelProperty(value = "工地监护个数")
    private Long buildingsitemonitor;
    /**
     * 实际工地监护个数
     */
    @ApiModelProperty(value = "实际工地监护个数")
    private Long buildingpatroled;
    /**
     * 发现隐患数量
     */
    @ApiModelProperty(value = "发现隐患数量")
    private Long findTroubleNum;
    /**
     * 计划巡检隐患个数
     */
    @ApiModelProperty(value = "计划巡检隐患个数")
    private Long troubleinplan;
    /**
     * 实际巡检隐患个数
     */
    @ApiModelProperty(value = "实际巡检隐患个数")
    private Long troubleipatroled;
    @ApiModelProperty(value = "计划工单个数")
    private Long repairOrderNum;

    @ApiModelProperty(value = "实际完成工单个数")
    private Long completeOrderNum;


    @ApiModelProperty(value = "个人完成巡检点数")
    private Long overCount;
    @ApiModelProperty(value = "个人完成巡检长度")
    private BigDecimal overLen;
}
