package com.xiaopeng.maintenance.vo; import cn.afterturn.easypoi.excel.annotation.Excel; import com.baomidou.mybatisplus.annotation.TableField; import com.fasterxml.jackson.annotation.JsonFormat; import com.xiaopeng.api.model.maintenance.XpCheckLocation; import com.xiaopeng.api.model.maintenance.XpCruiseCheckInRule; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.io.Serializable; import java.math.BigDecimal; import java.time.LocalDateTime; @Data @ApiModel(value = "巡游打卡记录返回VO") public class XpCruiseCheckInRecordVO implements Serializable { @ApiModelProperty(value = "主键") private Long id; @ApiModelProperty(value = "规则id") private Long ruleId; @ApiModelProperty(value = "打卡规则名称") @Excel(name = "打卡规则名称", width = 20) private String ruleName; @ApiModelProperty(value = "(0=不循环,1=每天循环)") private Integer cyclicMode; @ApiModelProperty(value = "点位总数") private Integer pointCount; @ApiModelProperty(value = "当前点位排序") private Integer pointIndex; @ApiModelProperty(value = "任务开始时间") private String ruleStartTime; @ApiModelProperty(value = "任务结束时间") private String ruleEndTime; @ApiModelProperty(value = "运维人员id") private Long operationsUserId; @ApiModelProperty(value = "运维人员姓名") @Excel(name = "运维人员", width = 20) private String operationsUserName; @Excel(name = "手机号", width = 20) @ApiModelProperty(value = "运维人员手机号") private String phoneNumber; @ApiModelProperty(value = "所属分队") private String fleetName; @ApiModelProperty(value = "角色") private String role; @ApiModelProperty(value = "打卡点位id") private Long checkLocationId; /* 对应界面详细信息 */ @ApiModelProperty(value = "打卡点位经度") private BigDecimal locationLongitude; @ApiModelProperty(value = "打卡点位纬度") private BigDecimal locationLatitude; @ApiModelProperty(value = "打卡点位名称") @Excel(name = "打卡点位", width = 20) private String locationAddress; @ApiModelProperty(value = "打卡点位范围") private BigDecimal locationRange; @ApiModelProperty(value = "打卡开始时段") private String locationStartTime; @ApiModelProperty(value = "打卡结束时段") private String locationEndTime; @ApiModelProperty(value = "打卡时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @Excel(name = "打卡时间", width = 20, format = "yyyy-MM-dd HH:mm:ss") private LocalDateTime checkInTime; @ApiModelProperty(value = "打卡结果(1=正常打卡,2=迟到打卡,3=未打卡)") @Excel(name = "打卡状态", width= 20, replace = {"正常打卡_1", "迟到打卡_2", "未打卡_3"}) private Integer checkInResult; @ApiModelProperty(value = "现场情况(1=正常,2=拥堵)") @Excel(name = "巡游结果", width = 20,replace = {"正常_1", "拥堵_2"}) private Integer fieldSituation; @ApiModelProperty(value = "现场照片JSON数组") private String scenePhoto; @ApiModelProperty(value = "现场情况说明") private String sceneDescription; }