HAVehicleInsurancePdfDTO.java 2.86 KB
package cn.com.glsx.insurance.dto;

import lombok.Data;
import org.springframework.beans.BeanUtils;

import java.util.Date;

/**
 * 项目名:ne-shield-insurancenter
 * 包名: cn.com.glsx.insurance.modules.model
 * 作者: Yanglinlong
 * 日期: 2021/7/8 16:43
 */
@Data
public class HAVehicleInsurancePdfDTO {
    // 打印PDF文件
    /**
     * HA可以用随机数代替
     */
    private String seqNo;

    /**
     * 车身颜色
     */
    private String vehiclecolor;

    /**
     * 产品版本号
     */
    private String productVersion;

    /**
     * 完整保单号(对方返回的完整保单号)
     */
    private String fullInsuranceNo;

    /**
     * 客户种类:1 个人客户(身份证) 2公司客户(组织机构代码证),3个人客户(港澳返乡证),4个人客户(台胞证)
     */
    private Integer customertype;

    /**
     * 车辆使用情况
     */
    private Integer vehicleUsage;

    /**
     * 保险期限
     */
    private Integer insurancePeriod;

    /**
     * 车牌号
     */
    private String vehicleBrandName;

    /**
     * 客户姓名
     */
    private String name;

    /**
     * 第一受益人
     */
    private String compensationname;

    /**
     * 生效时间
     */
    private Date takeeffecttime;

    /**
     * 保险公司编号 (HA(华安),PICC(人保),GL(新人保))
     */
    private String insuranceCompany;

    /**
     * 产品类型 有源或者无源
     */
    private String productType;

    /**
     * 创建时间 打印PDF 必填参数
     */
    private Date createtime;

    /**
     * 联系地址
     */
    private String address;

    /**
     * 发动机号
     */
    private String enginenumber;

    /**
     * 固定电话
     */
    private String mobile;

    /**
     * 车牌号
     */
    private String platenumber;

    /**
     * 特别约定内容
     */
    private String specialContent;

    /**
     * 车辆开票价格保留两位
     */
    private Double invoiceprice;

    /**
     * 车架号
     */
    private String standno;

    /**
     * 生日
     */
    private String birthday;

    /**
     * 证件号 身份证号
     */
    private String idcard;

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

    /**
     * 成功时间 打印PDF 必填参数
     */
    private Date successTime;

    /**
     * 车辆所在组的名字 d_group 中的 groupName
     */
    private String groupName;

    /**
     * 车辆所在的分类 d_class 分类名称 className
     */
    private String className;

    /**
     * 将实体类值拷贝到公用实体类对象
     *
     * @return 公用实体类
     */
    public VehicleInsuranceDTO getVehicleInsuranceDTO() {
        VehicleInsuranceDTO vehicleInsuranceDTO = new VehicleInsuranceDTO();
        BeanUtils.copyProperties(this, vehicleInsuranceDTO);
        return vehicleInsuranceDTO;
    }
}