package org.dromara.elevator.domain.vo;

import java.math.BigDecimal;
import org.dromara.elevator.domain.EWorkOperationRecord;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;


/**
 * 工作操作记录视图对象 e_work_operation_record
 *
 * @author ym
 * @date 2024-09-11
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = EWorkOperationRecord.class)
public class EWorkOperationRecordVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Long id;

    /**
     * 操作人
     */
    @ExcelProperty(value = "操作人")
    private String operator;

    /**
     * 操作时间
     */
    @ExcelProperty(value = "操作时间")
    private Date operationTime;

    /**
     * 电梯编号
     */
    @ExcelProperty(value = "电梯编号")
    private String elevatorNum;

    /**
     * 工作数据id
     */
    @ExcelProperty(value = "工作数据id")
    private Long workId;

    /**
     * 工作类型,1.救援 2.维修 3.维保
     */
    @ExcelProperty(value = "工作类型,1.救援 2.维修 3.维保")
    private Integer workType;

    /**
     * 操作状态
     */
    @ExcelProperty(value = "操作状态")
    private Integer operationState;

    /**
     * 预期时间
     */
    @ExcelProperty(value = "预期时间")
    private Date expectTime;

    /**
     * 经度
     */
    @ExcelProperty(value = "经度")
    private BigDecimal lng;

    /**
     * 纬度
     */
    @ExcelProperty(value = "纬度")
    private BigDecimal lat;

    /**
     * 地址
     */
    @ExcelProperty(value = "地址")
    private String address;

    /**
     * 维保单位id
     */
    @ExcelProperty(value = "维保单位id")
    private Long maintenanceId;

    /**
     * 维保计划id
     */
    @ExcelProperty(value = "维保计划id")
    private Long maintenancePlanId;

    /**
     * 物业id
     */
    @ExcelProperty(value = "物业id")
    private Long tenementId;

    /**
     * 操作人id
     */
    @ExcelProperty(value = "操作人id")
    private Long operatorId;

    /**
     * 操作内容
     */
    @ExcelProperty(value = "操作内容")
    private String operationContent;

    /**
     * 部门id
     */
    @ExcelProperty(value = "部门id")
    private Long deptId;

    /**
     * 距离
     */
    private BigDecimal distance;

}
