package org.dromara.elevator.domain.bo;

import org.dromara.elevator.domain.EAnnualPlan;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

import java.time.LocalDate;

/**
 * 年检计划;业务对象 e_annual_plan
 *
 * @author zy
 * @date 2024-09-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = EAnnualPlan.class, reverseConvertGenerate = false)
public class EAnnualPlanBo extends BaseEntity {

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

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

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

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

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


}
