|
|
@@ -1,210 +0,0 @@
|
|
|
-package com.jzg.quotation.summary.entity.po;
|
|
|
-
|
|
|
-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 java.io.Serializable;
|
|
|
-
|
|
|
-/**
|
|
|
- * 报价险种映射
|
|
|
- * @TableName quote_kind_mapping
|
|
|
- */
|
|
|
-@TableName(value ="quote_kind_mapping")
|
|
|
-public class QuoteKindMapping implements Serializable {
|
|
|
- /**
|
|
|
- * 主键
|
|
|
- */
|
|
|
- @TableId(value = "id", type = IdType.AUTO)
|
|
|
- private Integer id;
|
|
|
-
|
|
|
- /**
|
|
|
- * 保险公司编码
|
|
|
- */
|
|
|
- @TableField(value = "insurance_company_code")
|
|
|
- private String insuranceCompanyCode;
|
|
|
-
|
|
|
- /**
|
|
|
- * 分类代码
|
|
|
- */
|
|
|
- @TableField(value = "group_code")
|
|
|
- private String groupCode;
|
|
|
-
|
|
|
- /**
|
|
|
- * 分类名称
|
|
|
- */
|
|
|
- @TableField(value = "group_name")
|
|
|
- private String groupName;
|
|
|
-
|
|
|
- /**
|
|
|
- * 险种
|
|
|
- */
|
|
|
- @TableField(value = "insurance")
|
|
|
- private String insurance;
|
|
|
-
|
|
|
- /**
|
|
|
- * 保险公司编码
|
|
|
- */
|
|
|
- @TableField(value = "insurance_code")
|
|
|
- private String insuranceCode;
|
|
|
-
|
|
|
- /**
|
|
|
- * 默认代码
|
|
|
- */
|
|
|
- @TableField(value = "platform_code")
|
|
|
- private String platformCode;
|
|
|
-
|
|
|
- @TableField(exist = false)
|
|
|
- private static final long serialVersionUID = 1L;
|
|
|
-
|
|
|
- /**
|
|
|
- * 主键
|
|
|
- */
|
|
|
- public Integer getId() {
|
|
|
- return id;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * 主键
|
|
|
- */
|
|
|
- public void setId(Integer id) {
|
|
|
- this.id = id;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * 保险公司编码
|
|
|
- */
|
|
|
- public String getInsuranceCompanyCode() {
|
|
|
- return insuranceCompanyCode;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * 保险公司编码
|
|
|
- */
|
|
|
- public void setInsuranceCompanyCode(String insuranceCompanyCode) {
|
|
|
- this.insuranceCompanyCode = insuranceCompanyCode;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * 分类代码
|
|
|
- */
|
|
|
- public String getGroupCode() {
|
|
|
- return groupCode;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * 分类代码
|
|
|
- */
|
|
|
- public void setGroupCode(String groupCode) {
|
|
|
- this.groupCode = groupCode;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * 分类名称
|
|
|
- */
|
|
|
- public String getGroupName() {
|
|
|
- return groupName;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * 分类名称
|
|
|
- */
|
|
|
- public void setGroupName(String groupName) {
|
|
|
- this.groupName = groupName;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * 险种
|
|
|
- */
|
|
|
- public String getInsurance() {
|
|
|
- return insurance;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * 险种
|
|
|
- */
|
|
|
- public void setInsurance(String insurance) {
|
|
|
- this.insurance = insurance;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * 保险公司编码
|
|
|
- */
|
|
|
- public String getInsuranceCode() {
|
|
|
- return insuranceCode;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * 保险公司编码
|
|
|
- */
|
|
|
- public void setInsuranceCode(String insuranceCode) {
|
|
|
- this.insuranceCode = insuranceCode;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * 默认代码
|
|
|
- */
|
|
|
- public String getPlatformCode() {
|
|
|
- return platformCode;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * 默认代码
|
|
|
- */
|
|
|
- public void setPlatformCode(String platformCode) {
|
|
|
- this.platformCode = platformCode;
|
|
|
- }
|
|
|
-
|
|
|
- @Override
|
|
|
- public boolean equals(Object that) {
|
|
|
- if (this == that) {
|
|
|
- return true;
|
|
|
- }
|
|
|
- if (that == null) {
|
|
|
- return false;
|
|
|
- }
|
|
|
- if (getClass() != that.getClass()) {
|
|
|
- return false;
|
|
|
- }
|
|
|
- QuoteKindMapping other = (QuoteKindMapping) that;
|
|
|
- return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
|
|
|
- && (this.getInsuranceCompanyCode() == null ? other.getInsuranceCompanyCode() == null : this.getInsuranceCompanyCode().equals(other.getInsuranceCompanyCode()))
|
|
|
- && (this.getGroupCode() == null ? other.getGroupCode() == null : this.getGroupCode().equals(other.getGroupCode()))
|
|
|
- && (this.getGroupName() == null ? other.getGroupName() == null : this.getGroupName().equals(other.getGroupName()))
|
|
|
- && (this.getInsurance() == null ? other.getInsurance() == null : this.getInsurance().equals(other.getInsurance()))
|
|
|
- && (this.getInsuranceCode() == null ? other.getInsuranceCode() == null : this.getInsuranceCode().equals(other.getInsuranceCode()))
|
|
|
- && (this.getPlatformCode() == null ? other.getPlatformCode() == null : this.getPlatformCode().equals(other.getPlatformCode()));
|
|
|
- }
|
|
|
-
|
|
|
- @Override
|
|
|
- public int hashCode() {
|
|
|
- final int prime = 31;
|
|
|
- int result = 1;
|
|
|
- result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
|
|
|
- result = prime * result + ((getInsuranceCompanyCode() == null) ? 0 : getInsuranceCompanyCode().hashCode());
|
|
|
- result = prime * result + ((getGroupCode() == null) ? 0 : getGroupCode().hashCode());
|
|
|
- result = prime * result + ((getGroupName() == null) ? 0 : getGroupName().hashCode());
|
|
|
- result = prime * result + ((getInsurance() == null) ? 0 : getInsurance().hashCode());
|
|
|
- result = prime * result + ((getInsuranceCode() == null) ? 0 : getInsuranceCode().hashCode());
|
|
|
- result = prime * result + ((getPlatformCode() == null) ? 0 : getPlatformCode().hashCode());
|
|
|
- return result;
|
|
|
- }
|
|
|
-
|
|
|
- @Override
|
|
|
- public String toString() {
|
|
|
- StringBuilder sb = new StringBuilder();
|
|
|
- sb.append(getClass().getSimpleName());
|
|
|
- sb.append(" [");
|
|
|
- sb.append("Hash = ").append(hashCode());
|
|
|
- sb.append(", id=").append(id);
|
|
|
- sb.append(", insuranceCompanyCode=").append(insuranceCompanyCode);
|
|
|
- sb.append(", groupCode=").append(groupCode);
|
|
|
- sb.append(", groupName=").append(groupName);
|
|
|
- sb.append(", insurance=").append(insurance);
|
|
|
- sb.append(", insuranceCode=").append(insuranceCode);
|
|
|
- sb.append(", platformCode=").append(platformCode);
|
|
|
- sb.append(", serialVersionUID=").append(serialVersionUID);
|
|
|
- sb.append("]");
|
|
|
- return sb.toString();
|
|
|
- }
|
|
|
-}
|