InsurePolicy.java 2.17 KB
Newer Older
翁国栋 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
package cn.timer.api.bean.insure;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;



/**
 * 保单信息
 *
 * @author wgd
 * @email 862422848@qq.com
 * @date 2022-03-14 08:53:04
 */
@Entity
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "insure_policy")
@ApiModel("保单信息")
public class InsurePolicy extends Model<InsurePolicy> {
	private static final long serialVersionUID = 1L;

	/**
	*
	*/
	@Id
	@GeneratedValue
	@TableId(type = IdType.AUTO)
	@ApiModelProperty(value = "编号")
	private Integer id;
	/**
	* 方案名称(必选)
	*/
	private String schemeName;
	/**
	* 保单生效日
	*/
	private Date policyDateStart;
	/**
	* 保单终止日
	*/
	private Date policyDateEnd;
	/**
	* 产品代码
	*/
	private String productCodeId;
	/**
	* 计划代码
	*/
	private String planCodeId;
	/**
	* 分销商pid
	*/
	private String partnerPid;
	/**
	* 保单号
	*/
	private String policyNo;
	/**
	* 保单类型:1、年单 2、月单
	*/
	private Integer type;
	/**
	* 5-人民币,其他币种请参见全局数据字典
	*/
	private String currency;
	/**
	* 总保费


	*/
	private String totalPremium;
	/**
翁国栋 committed
90
	* 1-正常 2-等待校验 3-失效 4支付中
翁国栋 committed
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
	*/
	private String status;
	/**
	* 电子保单
	*/
	private String policyFile;
	/**
	* 保单kit的地址
	*/
	private String kitUrl;
	/**
	* 投保人id
	*/
	private Integer insureApplicantId;
	/**
	* 企业id
	*/
	private Integer orgCode;
	/**
	* 投保时间
	*/
	private Date createTime;
	/**
	 * 最近操作时间
	 */
	private Date updateTime;

翁国栋 committed
118
	private Integer productId;
翁国栋 committed
119

翁国栋 committed
120 121 122 123 124 125 126 127 128 129
	/**
	 * 1在线支付 2预付款 3线下支付
	 */
	private Integer policyPayType;
	/**
	 * insure_pay表的id
	 */
	private Integer payId;


翁国栋 committed
130
}