package com.hotwj.platform.driverManagement.driverAnnualAssessment.domain.bo;

import com.hotwj.platform.driverManagement.driverAnnualAssessment.domain.HotDriverAnnualAssessment;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.util.Date;

/**
 * 驾驶员年度考核业务对象 hot_driver_annual_assessment
 *
 * @author shihongwei
 * @date 2025-12-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = HotDriverAnnualAssessment.class, reverseConvertGenerate = false)
public class HotDriverAnnualAssessmentBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = {EditGroup.class})
    private Long id;

    /**
     * 公司ID
     */
    private Long companyId;

    /**
     * 驾驶员ID
     */
    private String driverId;

    /**
     * 驾驶员姓名
     */
    private String driverName;

    /**
     * 考核内容
     */
    private String assessmentContent;

    /**
     * 考核结果
     */
    private String assessmentResult;

    /**
     * 考核时间
     */
    private Date assessmentTime;

    /**
     * 考核人签名OSS文件ID
     */
    private Long evaluatorSignatureId;

    /**
     * 被考核人签名OSS文件ID
     */
    private Long assessedSignatureId;

    /**
     * 0=正常, 1=已删除
     */
    private Long isDeleted;


}
