package com.ydtech.modules.order.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; import java.io.Serializable; /** * 驾意险详细险种实体类 */ @TableName(value = "ins_driving_intention_insurance_son") @Data public class InsDrivingIntentionInsuranceSon implements Serializable { private static final long serialVersionUID = 2549373518435897776L; /** * id */ @TableId(value = "id", type = IdType.AUTO) private Integer id; @TableField(exist = false) private Integer sonId; /** * 父id */ @TableField(value = "driving_code_id") private String drivingCodeId; @TableField(value = "company_id") private String companyId; /** * 产品名称 */ @TableField(value = "code") private String code; /** * 产品code */ @TableField(value = "name") private String name; /** * 保额 */ @TableField(value = "amount") private String amount; /** * 保费 */ @TableField(value = "premium") private String premium; // 平安 add by hxl 2024-07-18 /*** * 折扣 * m */ @TableField(exist =false) private String discount; /*** * 保费说明 * 每份保费或每份保费*座位数 * m */ @TableField(exist =false) private String insuredAmountTips; /*** * 最小投保年龄 * m */ @TableField(exist =false) private String leastAcceptInsureAge; /*** * 最大投保年龄 * m */ @TableField(exist =false) private String topAcceptInsureAge; /*** * 版本号 * m */ @TableField(exist =false) private String version; /*** * 最大可购买份数 * m */ @TableField(exist =false) private String sellListSize; /*** * 组合产品标识 * 02-组合必选 * 01-不可单独销售 */ @TableField(exist =false) private String combineProductType; /*** * 产品编码 * m */ @TableField(exist =false) private String productCode; public InsDrivingIntentionInsuranceSon() { } public InsDrivingIntentionInsuranceSon(Integer id, String drivingCodeId, String companyId, String code, String name, String amount, String premium, String discount,String insuredAmountTips,String leastAcceptInsureAge,String topAcceptInsureAge,String version,String sellListSize,String combineProductType,String productCode) { this.id = id; this.drivingCodeId = drivingCodeId; this.companyId = companyId; this.code = code; this.name = name; this.amount = amount; this.premium = premium; this.discount = discount; this.insuredAmountTips = insuredAmountTips; this.leastAcceptInsureAge = leastAcceptInsureAge; this.topAcceptInsureAge = topAcceptInsureAge; this.version = version; this.sellListSize = sellListSize; this.combineProductType = combineProductType; this.productCode = productCode; } }