package org.dromara.elevator.domain.vo;

import org.dromara.elevator.domain.EAnnualPlan;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

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



/**
 * 年检计划;视图对象 e_annual_plan
 *
 * @author zy
 * @date 2024-09-03
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = EAnnualPlan.class)
public class EAnnualPlanVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

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

    /**
     * 本次年检日期
     */
    @ExcelProperty(value = "本次年检日期")
    private LocalDate annualDate;

    /**
     * 下次年检日期
     */
    @ExcelProperty(value = "下次年检日期")
    private LocalDate nextAnnual;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态")
    private Integer state;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 电梯名称
     */
    private String elevatorName;

    /**
     * 超出天数
     */
    private long exceedDay;


}
