package org.dromara.elevator.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.time.LocalDate;

/**
 * 年检计划;对象 e_annual_plan
 *
 * @author zy
 * @date 2024-09-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("e_annual_plan")
public class EAnnualPlan extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 电梯编号
     */
    private String elevatorNum;

    /**
     * 本次年检日期
     */
    private LocalDate annualDate;

    /**
     * 下次年检日期
     */
    private LocalDate nextAnnual;

    /**
     * 状态
     */
    private Integer state;


}
