package com.hotwj.platform.driverManagement.driverFileSign.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.io.Serial;
import java.util.Date;

/**
 * 驾驶员文件签订对象 hot_driver_file_sign
 *
 * @author shihongwei
 * @date 2025-12-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hot_driver_file_sign")
public class HotDriverFileSign extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;

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

    /**
     * 文件名称
     */
    private String fileName;

    /**
     * 签订文件图片url
     */
    private String signFileImgUrl;

    /**
     * 办理人员
     */
    private String handlerName;

    /**
     * 签订时间
     */
    private Date signTime;

    /**
     * 到期时间
     */
    private Date expireTime;

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

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

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


}
