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

import com.hotwj.platform.driverManagement.driverWorkExperience.domain.HotDriverWorkExperience;
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_work_experience
 *
 * @author shihongwei
 * @date 2025-12-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = HotDriverWorkExperience.class, reverseConvertGenerate = false)
public class HotDriverWorkExperienceBo extends BaseEntity {

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

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

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

    /**
     * 开始时间
     */
    private Date startDate;

    /**
     * 结束时间
     */
    private Date endDate;

    /**
     * 工作单位
     */
    private String employer;

    /**
     * 职务
     */
    private String jobTitle;

    /**
     * 工作内容
     */
    private String description;

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


}
