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

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

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

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

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

    /**
     * 合同开始日期
     */
    private Date effectiveDate;

    /**
     * 合同结束日期
     */
    private Date expireDate;

    /**
     * 合同图片或附件URL
     */
    private String attachmentUrl;

    /**
     * 备注/内部编号
     */
    private String remark;

    /**
     * 是否归档：1是 0否
     */
    private Long isArchived;

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


}
