package org.eco.als.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.eco.als.domain.LifePredictionResult;
import org.eco.common.orm.core.domain.BaseEntity;

/**
 * 寿命预测结果业务对象 als_life_prediction_result_t
 *
 * @author wgk
 * @date 2024-07-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = LifePredictionResult.class, reverseConvertGenerate = false)
public class LifePredictionResultBo extends BaseEntity {
    /**
     * 编号
     */
    private Long id;

    /**
     * 寿命预测编号
     */
    @NotNull(message = "寿命预测编号不能为空")
    private Long lifeId;

    /**
     * 机号Id
     */
    @NotNull(message = "机号不能为空")
    private String aircraftId;

    /**
     * 部件名称
     */
    @NotBlank(message = "部件名称不能为空")
    private String name;

    /**
     * 型号
     */
    private String model;

    /**
     * 所属系统
     */
    private String system;

    /**
     * 处理方式
     */
    private String methodType;

    /**
     * 剩余时长（h）
     */
    private String remainTiem;


}
