package com.hotwj.platform.resourceManagement.vehicleContract.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_vehicle_contract
 *
 * @author shihongwei
 * @date 2025-12-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hot_vehicle_contract")
public class HotVehicleContract extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

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

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

    /**
     * 车辆ID
     */
    private String vehicleId;

    /**
     * 合同名称
     */
    private String contractTitle;

    /**
     * 车主姓名
     */
    private String ownerName;

    /**
     * 联系方式
     */
    private String contactPhone;

    /**
     * 签约时间
     */
    private Date signDate;

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

    /**
     * 合同图片URL(多个逗号分隔)
     */
    private String contractImageUrls;

    /**
     * 文档附件URL(docx)
     */
    private String docAttachmentUrl;

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


}
