package com.hotwj.platform.resourceManagement.vehicleInsurance.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.math.BigDecimal;
import java.util.Date;

/**
 * 车辆保险信息对象 hot_vehicle_insurance
 *
 * @author shihongwei
 * @date 2025-12-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("hot_vehicle_insurance")
public class HotVehicleInsurance 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 insuranceType;

    /**
     * 保险公司
     */
    private String insurerName;

    /**
     * 保险费用
     */
    private BigDecimal premiumAmount;

    /**
     * 渠道人
     */
    private String channelPerson;

    /**
     * 渠道人电话
     */
    private String channelPhone;

    /**
     * 起保日期
     */
    private Date startDate;

    /**
     * 终保日期
     */
    private Date endDate;

    /**
     * 保险附件图片URL(多个逗号分隔)
     */
    private String imageUrls;

    /**
     * 是否归档(0=否,1=是)
     */
    private Integer isArchived;

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


}
