mirror of
https://github.com/abcv7/sfbx-cloud.git
synced 2026-08-16 19:49:49 +00:00
功能:在保险、规则、交易、积分和短信模块中实现初始功能和基础组件。
This commit is contained in:
@@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>com.itheima.sfbx</groupId>
|
||||
<artifactId>sfbx-insurance</artifactId>
|
||||
<version>2.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<!--保险:统一service-->
|
||||
<artifactId>insurance-service</artifactId>
|
||||
<name>insurance-service</name>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.itheima.sfbx</groupId>
|
||||
<artifactId>framework-mybatis-plus</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.itheima.sfbx</groupId>
|
||||
<artifactId>file-interface</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.itheima.sfbx</groupId>
|
||||
<artifactId>framework-redis</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.itheima.sfbx</groupId>
|
||||
<artifactId>framework-rabbitmq</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.itheima.sfbx</groupId>
|
||||
<artifactId>framework-seata</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.itheima.sfbx</groupId>
|
||||
<artifactId>security-interface</artifactId>
|
||||
</dependency>
|
||||
<!-- 规则引擎客户端 -->
|
||||
<dependency>
|
||||
<groupId>com.itheima.sfbx</groupId>
|
||||
<artifactId>rule-client</artifactId>
|
||||
</dependency>
|
||||
<!-- 交易模块 -->
|
||||
<dependency>
|
||||
<groupId>com.itheima.sfbx</groupId>
|
||||
<artifactId>trade-interface</artifactId>
|
||||
</dependency>
|
||||
<!-- 外部数据源 -->
|
||||
<dependency>
|
||||
<groupId>com.itheima.sfbx</groupId>
|
||||
<artifactId>framework-out-interface</artifactId>
|
||||
</dependency>
|
||||
<!-- 数据字典 -->
|
||||
<dependency>
|
||||
<groupId>com.itheima.sfbx</groupId>
|
||||
<artifactId>dict-interface</artifactId>
|
||||
</dependency>
|
||||
<!-- ai模块 -->
|
||||
<dependency>
|
||||
<groupId>com.itheima.sfbx</groupId>
|
||||
<artifactId>framework-ai</artifactId>
|
||||
</dependency>
|
||||
<!--三方sdk接口封装-->
|
||||
<dependency>
|
||||
<groupId>com.itheima.sfbx</groupId>
|
||||
<artifactId>sfbx-apache-httpclient</artifactId>
|
||||
</dependency>
|
||||
<!-- 数据脱敏组件 -->
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>com.itheima.sfbx</groupId>-->
|
||||
<!-- <artifactId>framework-data-desensitize</artifactId>-->
|
||||
<!-- </dependency>-->
|
||||
</dependencies>
|
||||
</project>
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:缓存常量
|
||||
*/
|
||||
public class BannerCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "banner:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:浏览记录缓存常量
|
||||
*/
|
||||
public class BrowsingHistoryCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "browsing-history:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:保险分类缓存常量
|
||||
*/
|
||||
public class CategoryCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "category:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
//树形
|
||||
public static final String TREE = PREFIX+"tree";;
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:分类系数项缓存常量
|
||||
*/
|
||||
public class CategoryCoefficentCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "category-coefficent:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:分类筛选项缓存常量
|
||||
*/
|
||||
public class CategoryConditionCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "category-condition:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:分类保障项缓存常量
|
||||
*/
|
||||
public class CategorySafeguardCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "category-safeguard:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:系数项缓存常量
|
||||
*/
|
||||
public class CoefficentCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "coefficent:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:组合方案缓存常量
|
||||
*/
|
||||
public class CombinationCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "combination:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:组合保险缓存常量
|
||||
*/
|
||||
public class CombinationInsuranceCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "combination-insurance:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:筛选项缓存常量
|
||||
*/
|
||||
public class ConditionCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "condition:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:绑卡信息缓存常量
|
||||
*/
|
||||
public class CustomerCardCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "customer-card:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:客户信息表缓存常量
|
||||
*/
|
||||
public class CustomerInfoCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "customer-info:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
//list下拉框
|
||||
public static final String OCR= PREFIX+"OCR";
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:客户宠物缓存常量
|
||||
*/
|
||||
public class CustomerPetCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "customer-pet:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:客户关系表缓存常量
|
||||
*/
|
||||
public class CustomerRelationCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "customer-relation:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.SuperConstant;
|
||||
|
||||
/**
|
||||
* @Description:客户关系表缓存常量
|
||||
*/
|
||||
public class CustomerRelationConstant extends SuperConstant {
|
||||
|
||||
//本人
|
||||
public static final String SELF= "0";
|
||||
|
||||
//子女
|
||||
public static final String CHILDREN= "3";
|
||||
|
||||
//配偶
|
||||
public static final String SPOUSE = "1";
|
||||
|
||||
//父母
|
||||
public static final String PARENTS= "2";
|
||||
|
||||
//其他
|
||||
public static final String OTHER= "4";
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:评估类目缓存常量
|
||||
*/
|
||||
public class HealthAssessmentCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "health-assessment:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:保批信息缓存常量
|
||||
*/
|
||||
public class InsuranceApproveCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "insurance-approve:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:保批信息缓存常量
|
||||
*/
|
||||
public class InsuranceApproveDetailCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "insurance-approve-detail:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:保险产品缓存常量
|
||||
*/
|
||||
public class InsuranceCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "insurance:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:保险系数项缓存常量
|
||||
*/
|
||||
public class InsuranceCoefficentCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "insurance-coefficent:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:保险筛选项缓存常量
|
||||
*/
|
||||
public class InsuranceConditionCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "insurance-condition:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
/**
|
||||
* @ClassName InsuranceConstant.java
|
||||
* @Description TODO
|
||||
*/
|
||||
public class InsuranceConstant {
|
||||
|
||||
//单位:天
|
||||
public static final String DAY = "DAY";
|
||||
//单位:周
|
||||
public static final String WEEK = "WEEK";
|
||||
//单位:月
|
||||
public static final String MONTH = "MONTH";
|
||||
//单位:年
|
||||
public static final String YEAR = "YEAR";
|
||||
//单位:岁
|
||||
public static final String AGE = "AGE";
|
||||
//年龄范围
|
||||
public static final String RANGE_AGE = "XS005";
|
||||
//什么时候开始领
|
||||
public static final String ACTUAL_GET_START = "XS012";
|
||||
//合同规定:领至多久
|
||||
public static final String ACTUAL_GET_END = "XS013";
|
||||
//养老测算:领至多久
|
||||
public static final String TRIAL_GET_END ="XS015";
|
||||
//领取周期
|
||||
public static final String ACTUAL_GET_UNIT = "XS014";
|
||||
//理财:投入方式
|
||||
public static final String BUY_MODE = "XS002";
|
||||
//定投:追投方式投入
|
||||
public static final String BUY_MODE_0 = "XS002-0";
|
||||
//趸交:一次性投入
|
||||
public static final String BUY_MODE_1 = "XS002-1";
|
||||
//团险人数
|
||||
public static final String NUMBER_OF_PEOPLE = "XS016";
|
||||
//投入周期单位
|
||||
public static final String PERIODIC_UNIT = "XS011";
|
||||
//投入时长
|
||||
public static final String PERIODIC = "XS008";
|
||||
//保障期限
|
||||
public static final String PROTECTION_PERIOD = "XS006";
|
||||
//付款方式
|
||||
public static final String PAY_MENT = "XS003";
|
||||
//连续投保
|
||||
public static final String AUTO_WARRANTY_EXTENSION = "XS010";
|
||||
//金牌好品
|
||||
public static final String GOLDSELECTION_0="0";
|
||||
//上架状态
|
||||
public static final String INSURANCE_STATE_0="0";
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:保险方案缓存常量
|
||||
*/
|
||||
public class InsurancePlanCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "insurance-plan:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:保险规则缓存常量
|
||||
*/
|
||||
public class InsuranceRuleCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "insurance-rule:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:初筛结果缓存常量
|
||||
*/
|
||||
public class InsuranceSievingCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "insurance-sieving:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:人气保险缓存常量
|
||||
*/
|
||||
public class InsuranceTopCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "insurance-top:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:方案给付缓存常量
|
||||
*/
|
||||
public class PlanEarningsCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "plan-earnings:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:方案给付缓存常量
|
||||
*/
|
||||
public class PlanEarningsConstant extends CacheConstant {
|
||||
|
||||
//给付类型:0终身领取 1固定领取
|
||||
public static final String EarningsType_0= "0";
|
||||
public static final String EarningsType_1= "1";
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:方案保障项缓存常量
|
||||
*/
|
||||
public class PlanSafeguardCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "plan-safeguard:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:风险类目缓存常量
|
||||
*/
|
||||
public class RiskAnalysisCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "risk-analysis:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:风险表缓存常量
|
||||
*/
|
||||
public class RiskCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "risk:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+44
@@ -0,0 +1,44 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
/**
|
||||
* RuleConstant
|
||||
*
|
||||
* @author: wgl
|
||||
* @describe: 规则常量类
|
||||
* @date: 2022/12/28 10:10
|
||||
*/
|
||||
public class RuleConstant {
|
||||
|
||||
public final static String RULE_GROUP_NAME = "四方保险销售平台";
|
||||
|
||||
private final static String SICK_ADVICE_KNOWLEDGEID = "rule_stream_34";
|
||||
|
||||
private final static String SICK_ADVICE_PROCESSID = "rule_stream_01";
|
||||
|
||||
public final static String SLASH = "/";
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @param knowledgeId
|
||||
* @return
|
||||
*/
|
||||
public final static String getRuleKnowledge(String knowledgeId){
|
||||
return RULE_GROUP_NAME+SLASH+knowledgeId;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return
|
||||
*/
|
||||
public final static String sickAdviceAdviceKnowledge(){
|
||||
return RULE_GROUP_NAME+SLASH+SICK_ADVICE_KNOWLEDGEID;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return
|
||||
*/
|
||||
public final static String sickAdviceProcessId(){
|
||||
return SICK_ADVICE_PROCESSID;
|
||||
}
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:保障项缓存常量
|
||||
*/
|
||||
public class SafeguardCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "safeguard:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:缓存常量
|
||||
*/
|
||||
public class SaleTopInsuranceCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "sale-top-insurance:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:搜索记录缓存常量
|
||||
*/
|
||||
public class SearchRecordCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "search-record:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:自选保险缓存常量
|
||||
*/
|
||||
public class SelfSelectionCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "self-selection:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:疾病表缓存常量
|
||||
*/
|
||||
public class SickCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "sick:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:疾病搜索记录缓存常量
|
||||
*/
|
||||
public class SickSearchRecordCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "sick-search-record:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:保险合同缓存常量
|
||||
*/
|
||||
public class WarrantyCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "warranty:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:给付计划订单缓存常量
|
||||
*/
|
||||
public class WarrantyEarningsOrderCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "warranty-earnings-order:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
/**
|
||||
* @ClassName WarrantyEarningsOrderConstant.java
|
||||
* @Description TODO
|
||||
*/
|
||||
public class WarrantyEarningsOrderConstant {
|
||||
|
||||
//状态(0未赔付 1已赔付 2 断保中止 3断保终止)
|
||||
public static final String ORDER_STATE_0= "0";
|
||||
|
||||
public static final String ORDER_STATE_1= "1";
|
||||
|
||||
public static final String ORDER_STATE_2= "2";
|
||||
|
||||
public static final String ORDER_STATE_3= "3";
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:合同被保人缓存常量
|
||||
*/
|
||||
public class WarrantyInsuredCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "warranty-insured:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:合同订单缓存常量
|
||||
*/
|
||||
public class WarrantyOrderCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "warranty-order:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:合同续期缓存常量
|
||||
*/
|
||||
public class WarrantyRenewalCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "warranty-renewal:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:合同核保缓存常量
|
||||
*/
|
||||
public class WarrantyVerifyCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "warranty-verify:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:省心配流程节点记录缓存常量
|
||||
*/
|
||||
public class WorryFreeFlowNodeCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "worry-free-flow-node:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:省心配保险推荐记录缓存常量
|
||||
*/
|
||||
public class WorryFreeInsuranceMatchCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "worry-free-insurance-match:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:缓存常量
|
||||
*/
|
||||
public class WorryFreeRiskItemCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "worry-free-risk-item:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
package com.itheima.sfbx.insurance.constant;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.constant.basic.CacheConstant;
|
||||
|
||||
/**
|
||||
* @Description:省心配流程保障配额记录缓存常量
|
||||
*/
|
||||
public class WorryFreeSafeguardQuotaCacheConstant extends CacheConstant {
|
||||
|
||||
//缓存父包
|
||||
public static final String PREFIX= "worry-free-safeguard-quota:";
|
||||
|
||||
//缓存父包
|
||||
public static final String BASIC= PREFIX+"basic";
|
||||
|
||||
//分布式锁前缀
|
||||
public static final String LOCK_PREFIX = PREFIX+"lock:";
|
||||
|
||||
//page分页
|
||||
public static final String PAGE= PREFIX+"page";
|
||||
|
||||
//list下拉框
|
||||
public static final String LIST= PREFIX+"list";
|
||||
|
||||
|
||||
}
|
||||
+56
@@ -0,0 +1,56 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import com.itheima.sfbx.framework.commons.dto.file.FileVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* BaiduCloudTokenVO
|
||||
*
|
||||
* @author: wgl
|
||||
* @describe: 百度云Token对象
|
||||
* @date: 2022/12/28 10:10
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="百度云Token对象", description="")
|
||||
public class BaiduCloudTokenVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public BaiduCloudTokenVO(Long id, String dataState,String refreshToken, String expiresIn, String accessToken,String sessionKey,String sessionSecret,String scope){
|
||||
super(id, dataState);
|
||||
this.refreshToken=refreshToken;
|
||||
this.expiresIn=expiresIn;
|
||||
this.accessToken=accessToken;
|
||||
this.sessionKey = sessionKey;
|
||||
this.sessionSecret = sessionSecret;
|
||||
this.scope = scope;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "百度云刷新Token")
|
||||
private String refreshToken;
|
||||
|
||||
@ApiModelProperty(value = "百度云超时时间")
|
||||
private String expiresIn;
|
||||
|
||||
@ApiModelProperty(value = "百度云session_key")
|
||||
private String sessionKey;
|
||||
|
||||
@ApiModelProperty(value = "百度云session_secret")
|
||||
private String sessionSecret;
|
||||
@ApiModelProperty(value = "百度云访问token")
|
||||
private String accessToken;
|
||||
|
||||
@ApiModelProperty(value = "百度云scope")
|
||||
private String scope;
|
||||
|
||||
|
||||
}
|
||||
+53
@@ -0,0 +1,53 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import com.itheima.sfbx.framework.commons.dto.file.FileVO;
|
||||
/**
|
||||
* @Description:
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="Banner对象", description="")
|
||||
public class BannerVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public BannerVO(String bannerType,Long id,String dataState,List<FileVO> fileVOs,Integer sortNo,String url){
|
||||
super(id, dataState);
|
||||
this.sortNo=sortNo;
|
||||
this.url=url;
|
||||
this.fileVOs=fileVOs;
|
||||
this.bannerType=bannerType;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "排序")
|
||||
private Integer sortNo;
|
||||
|
||||
@ApiModelProperty(value = "调整路径")
|
||||
private String url;
|
||||
|
||||
@ApiModelProperty(value = "文件VO对象")
|
||||
private List<FileVO> fileVOs;
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
|
||||
@ApiModelProperty(value = "导航类型(0首页 1推荐)")
|
||||
private String bannerType;
|
||||
}
|
||||
+46
@@ -0,0 +1,46 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
/**
|
||||
* @Description:浏览记录
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="BrowsingHistory对象", description="浏览记录")
|
||||
public class BrowsingHistoryVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public BrowsingHistoryVO(Long id,String dataState,Long insuranceId,Integer sortNo,Long createBy){
|
||||
super(id, dataState);
|
||||
this.insuranceId=insuranceId;
|
||||
this.sortNo=sortNo;
|
||||
setCreateBy(createBy);
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "保险ID")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private Long insuranceId;
|
||||
|
||||
@ApiModelProperty(value = "排序")
|
||||
private Integer sortNo;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
}
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
/**
|
||||
* @Description:分类系数项
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="CategoryCoefficent对象", description="分类系数项")
|
||||
public class CategoryCoefficentVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public CategoryCoefficentVO(String coefficentKeyNamem,Long id,String dataState,String categoryNo,String coefficentKey,Integer sortNo,String remake,String coefficentType){
|
||||
super(id, dataState);
|
||||
this.categoryNo=categoryNo;
|
||||
this.coefficentKey=coefficentKey;
|
||||
this.coefficentKeyName = coefficentKeyName;
|
||||
this.sortNo=sortNo;
|
||||
this.remake=remake;
|
||||
this.coefficentType = coefficentType;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "分类编号")
|
||||
private String categoryNo;
|
||||
|
||||
@ApiModelProperty(value = "系数项key")
|
||||
private String coefficentKey;
|
||||
|
||||
@ApiModelProperty(value = "排序")
|
||||
private Integer sortNo;
|
||||
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String remake;
|
||||
|
||||
@ApiModelProperty(value = "系数项名称")
|
||||
private String coefficentKeyName;
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
|
||||
@ApiModelProperty(value = "系数类型")
|
||||
private String coefficentType;
|
||||
}
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
/**
|
||||
* @Description:分类筛选项
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="CategoryCondition对象", description="分类筛选项")
|
||||
public class CategoryConditionVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public CategoryConditionVO(String conditionKeyName,Long id,String dataState,String categoryNo,String conditionKey,Integer sortNo,String remake){
|
||||
super(id, dataState);
|
||||
this.categoryNo=categoryNo;
|
||||
this.conditionKey=conditionKey;
|
||||
this.conditionKeyName=conditionKeyName;
|
||||
this.sortNo=sortNo;
|
||||
this.remake=remake;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "分类编号")
|
||||
private String categoryNo;
|
||||
|
||||
@ApiModelProperty(value = "条件项key")
|
||||
private String conditionKey;
|
||||
|
||||
@ApiModelProperty(value = "条件项名称")
|
||||
private String conditionKeyName;
|
||||
|
||||
@ApiModelProperty(value = "排序")
|
||||
private Integer sortNo;
|
||||
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String remake;
|
||||
|
||||
@ApiModelProperty(value = "条件项值")
|
||||
private String conditionVal;
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
}
|
||||
+56
@@ -0,0 +1,56 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
/**
|
||||
* @Description:分类保障项
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="CategorySafeguard对象", description="分类保障项")
|
||||
public class CategorySafeguardVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public CategorySafeguardVO(String safeguardKeyName,Long id,String dataState,String categoryNo,String safeguardKey,Integer sortNo,String remake){
|
||||
super(id, dataState);
|
||||
this.categoryNo=categoryNo;
|
||||
this.safeguardKey=safeguardKey;
|
||||
this.safeguardKeyName=safeguardKeyName;
|
||||
this.sortNo=sortNo;
|
||||
this.remake=remake;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "分类编号")
|
||||
private String categoryNo;
|
||||
|
||||
@ApiModelProperty(value = "保障项维度")
|
||||
private String safeguardKey;
|
||||
|
||||
@ApiModelProperty(value = "保障项名称:门诊医疗")
|
||||
private String safeguardKeyName;
|
||||
|
||||
@ApiModelProperty(value = "排序")
|
||||
private Integer sortNo;
|
||||
|
||||
@ApiModelProperty(value = "补充说明")
|
||||
private String remake;
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
|
||||
}
|
||||
+93
@@ -0,0 +1,93 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import com.itheima.sfbx.framework.commons.dto.file.FileVO;
|
||||
/**
|
||||
* @Description:保险分类
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="Category对象", description="保险分类")
|
||||
public class CategoryVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public CategoryVO(List<Long> nodeFloors,Long id,String dataState,String parentCategoryNo,String categoryNo,String categoryName,String icon,String leafNode,String showIndex,String categoryType,Integer sortNo,String remake,String checkRule){
|
||||
super(id, dataState);
|
||||
this.parentCategoryNo=parentCategoryNo;
|
||||
this.categoryNo=categoryNo;
|
||||
this.categoryName=categoryName;
|
||||
this.icon=icon;
|
||||
this.leafNode=leafNode;
|
||||
this.showIndex=showIndex;
|
||||
this.categoryType=categoryType;
|
||||
this.sortNo=sortNo;
|
||||
this.remake=remake;
|
||||
this.checkRule=checkRule;
|
||||
this.nodeFloors = nodeFloors;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "父分类编号")
|
||||
private String parentCategoryNo;
|
||||
|
||||
@ApiModelProperty(value = "分类编号")
|
||||
private String categoryNo;
|
||||
|
||||
@ApiModelProperty(value = "分类名称")
|
||||
private String categoryName;
|
||||
|
||||
@ApiModelProperty(value = "图标")
|
||||
private String icon;
|
||||
|
||||
@ApiModelProperty(value = "是否叶子节点(0是 否1)")
|
||||
private String leafNode;
|
||||
|
||||
@ApiModelProperty(value = "是否显示在首页(0是 否1)")
|
||||
private String showIndex;
|
||||
|
||||
@ApiModelProperty(value = "分类类型:0推荐分类 1产品分类 ")
|
||||
private String categoryType;
|
||||
|
||||
@ApiModelProperty(value = "排序")
|
||||
private Integer sortNo;
|
||||
|
||||
@ApiModelProperty(value = "分类补充说明")
|
||||
private String remake;
|
||||
|
||||
@ApiModelProperty(value = "校验规则:0医疗 1重疾 2意外 3养老 4储蓄 5旅游 6宠物 7定寿")
|
||||
private String checkRule;
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
|
||||
@ApiModelProperty(value = "分类筛选项")
|
||||
private List<CategoryConditionVO> categoryConditionVOs;
|
||||
|
||||
@ApiModelProperty(value = "分类系数项")
|
||||
private List<CategoryCoefficentVO> categoryCoefficentVOs;
|
||||
|
||||
@ApiModelProperty(value = "分类保障项")
|
||||
private List<CategorySafeguardVO> categorySafeguardVOs;
|
||||
|
||||
@ApiModelProperty(value = "TREE结构:选中分类编号")
|
||||
private String[] checkedCategoryNos;
|
||||
|
||||
@ApiModelProperty(value = "节点层级:最多5层")
|
||||
private List<Long> nodeFloors;
|
||||
}
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* ChosesDTO
|
||||
*
|
||||
* @author: wgl
|
||||
* @describe: 选项VO
|
||||
* @date: 2022/12/28 10:10
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@ApiModel(value="问卷详情", description="每个疾病的问卷详情信息")
|
||||
public class ChosesVO {
|
||||
@ApiModelProperty(value = "选项名")
|
||||
private String choseName;
|
||||
@ApiModelProperty(value = "选项值")
|
||||
private String choseValue;
|
||||
}
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
/**
|
||||
* @Description:系数项
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="Coefficent对象", description="系数项")
|
||||
public class CoefficentVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public CoefficentVO(String coefficentType,Long id,String dataState,String coefficentKey,String coefficentKeyName,String coefficentVal,Integer sortNo,String remake){
|
||||
super(id, dataState);
|
||||
this.coefficentKey=coefficentKey;
|
||||
this.coefficentKeyName=coefficentKeyName;
|
||||
this.coefficentVal=coefficentVal;
|
||||
this.sortNo=sortNo;
|
||||
this.remake=remake;
|
||||
this.coefficentType=coefficentType;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "系数项key:bznx")
|
||||
private String coefficentKey;
|
||||
|
||||
@ApiModelProperty(value = "系数项名称:保障年限")
|
||||
private String coefficentKeyName;
|
||||
|
||||
@ApiModelProperty(value = "系数项值")
|
||||
private String coefficentVal;
|
||||
|
||||
@ApiModelProperty(value = "排序")
|
||||
private Integer sortNo;
|
||||
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String remake;
|
||||
|
||||
@ApiModelProperty(value = "系数项类型:0、选项系数1、范围类型")
|
||||
private String coefficentType;
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
}
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* CombinationDetailVO
|
||||
*
|
||||
* @author: wgl
|
||||
* @describe: 保险方案详情对象
|
||||
* @date: 2022/12/28 10:10
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="CombinationDetailVO对象", description="保险方案详情对象")
|
||||
public class CombinationDetailVO extends BaseVO {
|
||||
|
||||
@ApiModelProperty(value = "保险方案")
|
||||
private CombinationVO combination;
|
||||
|
||||
@ApiModelProperty(value = "关联的保险列表")
|
||||
private List<InsuranceVO> insuranceList;
|
||||
|
||||
@ApiModelProperty(value = "最低缴保险计划,Key为保险id")
|
||||
private Map<String,InsurancePlanVO> plans;
|
||||
|
||||
@ApiModelProperty(value = "展示的保障项,key为保险id")
|
||||
private Map<String,List<PlanSafeguardVO>> safes;
|
||||
|
||||
@ApiModelProperty(value = "方案金额")
|
||||
private String totalMoney;
|
||||
}
|
||||
+62
@@ -0,0 +1,62 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description:组合保险
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="CombinationInsurance对象", description="组合保险")
|
||||
public class CombinationInsuranceVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public CombinationInsuranceVO(Long id,String dataState,Long combinationId,Long insuranceId,String suggest,String thinking,String priority){
|
||||
super(id, dataState);
|
||||
this.combinationId=combinationId;
|
||||
this.insuranceId=insuranceId;
|
||||
this.suggest=suggest;
|
||||
this.thinking=thinking;
|
||||
this.priority=priority;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "保险组合ID")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private Long combinationId;
|
||||
|
||||
@ApiModelProperty(value = "保险ID")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private Long insuranceId;
|
||||
|
||||
@ApiModelProperty(value = "建议")
|
||||
private String suggest;
|
||||
|
||||
@ApiModelProperty(value = "配置思路")
|
||||
private String thinking;
|
||||
|
||||
@ApiModelProperty(value = "优先级")
|
||||
private String priority;
|
||||
|
||||
@ApiModelProperty(value = "组成组合的保险列表")
|
||||
private List<InsuranceVO> insurances;
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
}
|
||||
+72
@@ -0,0 +1,72 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.file.FileVO;
|
||||
/**
|
||||
* @Description:组合方案
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="Combination对象", description="组合方案")
|
||||
public class CombinationVO extends BaseVO {
|
||||
|
||||
|
||||
@Builder
|
||||
public CombinationVO(Long id, String dataState, String combinationName, String riskAnalysis, String riskScenario, List<FileVO> fileVOs, String[] checkedIds, CombinationVO combination, List<InsuranceVO> insuranceList, String totalMoney) {
|
||||
super(id, dataState);
|
||||
this.combinationName = combinationName;
|
||||
this.riskAnalysis = riskAnalysis;
|
||||
this.riskScenario = riskScenario;
|
||||
this.fileVOs = fileVOs;
|
||||
this.checkedIds = checkedIds;
|
||||
this.combination = combination;
|
||||
this.insuranceList = insuranceList;
|
||||
this.totalMoney = totalMoney;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "组合名称")
|
||||
private String combinationName;
|
||||
|
||||
@ApiModelProperty(value = "风险分析")
|
||||
private String riskAnalysis;
|
||||
|
||||
@ApiModelProperty(value = "主要分析场景")
|
||||
private String riskScenario;
|
||||
|
||||
@ApiModelProperty(value = "文件VO对象")
|
||||
private List<FileVO> fileVOs;
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
|
||||
@ApiModelProperty(value = "保险方案")
|
||||
private CombinationVO combination;
|
||||
|
||||
@ApiModelProperty(value = "关联的保险列表")
|
||||
private List<InsuranceVO> insuranceList;
|
||||
|
||||
@ApiModelProperty(value = "方案金额")
|
||||
private String totalMoney;
|
||||
|
||||
@ApiModelProperty(value = "批量操作:保险id")
|
||||
private String[] checkIds;
|
||||
}
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
/**
|
||||
* @Description:筛选项
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="Condition对象", description="筛选项")
|
||||
public class ConditionVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public ConditionVO(Long id,String dataState,String conditionKey,String conditionKeyName,String conditionVal,Integer sortNo,String remake){
|
||||
super(id, dataState);
|
||||
this.conditionKey=conditionKey;
|
||||
this.conditionKeyName=conditionKeyName;
|
||||
this.conditionVal=conditionVal;
|
||||
this.sortNo=sortNo;
|
||||
this.remake=remake;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "条件项key")
|
||||
private String conditionKey;
|
||||
|
||||
@ApiModelProperty(value = "条件项名称")
|
||||
private String conditionKeyName;
|
||||
|
||||
@ApiModelProperty(value = "条件项值")
|
||||
private String conditionVal;
|
||||
|
||||
@ApiModelProperty(value = "排序")
|
||||
private Integer sortNo;
|
||||
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String remake;
|
||||
|
||||
@ApiModelProperty(value = "批量操作:conditionKeys")
|
||||
private String[] conditionKeys;
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
}
|
||||
+70
@@ -0,0 +1,70 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import com.itheima.sfbx.framework.commons.dto.file.FileVO;
|
||||
import com.itheima.sfbx.insurance.validator.anno.IdentityCard;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description:客户信息表
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="CustomerInfo后台对象", description="CustomerInfo后台对象 后台对象不进行数据脱敏")
|
||||
public class CustomerBackInfoVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public CustomerBackInfoVO(String identityCard, Long id, String dataState, List<FileVO> fileVOs, String customerId, String remark, String cityName, BigDecimal income, BigDecimal liabilities, String realNameAuthentication, String bindingCard){
|
||||
super(id, dataState);
|
||||
this.customerId=customerId;
|
||||
this.remark=remark;
|
||||
this.cityName=cityName;
|
||||
this.income=income;
|
||||
this.liabilities=liabilities;
|
||||
this.realNameAuthentication=realNameAuthentication;
|
||||
this.bindingCard=bindingCard;
|
||||
this.fileVOs=fileVOs;
|
||||
this.identityCard = identityCard;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "系统账号编号")
|
||||
private String customerId;
|
||||
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String remark;
|
||||
|
||||
@ApiModelProperty(value = "常驻城市")
|
||||
private String cityName;
|
||||
|
||||
@ApiModelProperty(value = "收入")
|
||||
private BigDecimal income;
|
||||
|
||||
@ApiModelProperty(value = "负债")
|
||||
private BigDecimal liabilities;
|
||||
|
||||
@ApiModelProperty(value = "实名认证(0是 1否)")
|
||||
private String realNameAuthentication;
|
||||
|
||||
@ApiModelProperty(value = "绑卡(0是 1否)")
|
||||
private String bindingCard;
|
||||
|
||||
@ApiModelProperty(value = "文件VO对象")
|
||||
private List<FileVO> fileVOs;
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
|
||||
@ApiModelProperty(value = "身份证号码")
|
||||
@IdentityCard(message = "身份证号格式错误")
|
||||
private String identityCard;
|
||||
|
||||
}
|
||||
+56
@@ -0,0 +1,56 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import com.itheima.sfbx.framework.commons.dto.file.FileVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
/**
|
||||
* @Description:绑卡信息
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="CustomerCard对象", description="绑卡信息")
|
||||
public class CustomerCardVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public CustomerCardVO(Long id,String dataState,List<FileVO> fileVOs,String customerId,String bankName,String bankAddress,String bankCardNo,String isDefault){
|
||||
super(id, dataState);
|
||||
this.customerId=customerId;
|
||||
this.bankName=bankName;
|
||||
this.bankAddress=bankAddress;
|
||||
this.bankCardNo=bankCardNo;
|
||||
this.isDefault=isDefault;
|
||||
this.fileVOs=fileVOs;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "系统账号编号")
|
||||
private String customerId;
|
||||
|
||||
@ApiModelProperty(value = "银行名称")
|
||||
private String bankName;
|
||||
|
||||
@ApiModelProperty(value = "开户行地址")
|
||||
private String bankAddress;
|
||||
|
||||
@ApiModelProperty(value = "银行卡号")
|
||||
private String bankCardNo;
|
||||
|
||||
@ApiModelProperty(value = "是否默认(0是 1否)")
|
||||
private String isDefault;
|
||||
|
||||
@ApiModelProperty(value = "文件VO对象")
|
||||
private List<FileVO> fileVOs;
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
|
||||
@ApiModelProperty(value = "银行预留手机号")
|
||||
private String bankReservedPhoneNum;
|
||||
}
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import com.itheima.sfbx.framework.commons.dto.file.FileVO;
|
||||
import com.itheima.sfbx.insurance.validator.anno.IdentityCard;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
/**
|
||||
* @Description:客户信息表
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="CustomerInfo对象", description="客户信息表")
|
||||
public class CustomerInfoVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public CustomerInfoVO(String identityCard,Long id,String dataState,List<FileVO> fileVOs,String customerId,String remark,String cityName,BigDecimal income,BigDecimal liabilities,String realNameAuthentication,String bindingCard,String name){
|
||||
super(id, dataState);
|
||||
this.customerId=customerId;
|
||||
this.remark=remark;
|
||||
this.cityName=cityName;
|
||||
this.income=income;
|
||||
this.liabilities=liabilities;
|
||||
this.realNameAuthentication=realNameAuthentication;
|
||||
this.bindingCard=bindingCard;
|
||||
this.fileVOs=fileVOs;
|
||||
this.identityCard = identityCard;
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "系统账号编号")
|
||||
private String customerId;
|
||||
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String remark;
|
||||
|
||||
@ApiModelProperty(value = "常驻城市")
|
||||
private String cityName;
|
||||
|
||||
@ApiModelProperty(value = "收入")
|
||||
private BigDecimal income;
|
||||
|
||||
@ApiModelProperty(value = "负债")
|
||||
private BigDecimal liabilities;
|
||||
|
||||
@ApiModelProperty(value = "实名认证(0是 1否)")
|
||||
private String realNameAuthentication;
|
||||
|
||||
@ApiModelProperty(value = "绑卡(0是 1否)")
|
||||
private String bindingCard;
|
||||
|
||||
@ApiModelProperty(value = "文件VO对象")
|
||||
private List<FileVO> fileVOs;
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
|
||||
@ApiModelProperty(value = "姓名")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(value = "身份证号码")
|
||||
@IdentityCard(message = "身份证号格式错误")
|
||||
private String identityCard;
|
||||
|
||||
}
|
||||
+65
@@ -0,0 +1,65 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import com.itheima.sfbx.framework.commons.dto.file.FileVO;
|
||||
/**
|
||||
* @Description:客户宠物
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="CustomerPet对象", description="客户宠物")
|
||||
public class CustomerPetVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public CustomerPetVO(Long id,String dataState,List<FileVO> fileVOs,String customerId,String petType,Date birthday,String sex,String sterilization){
|
||||
super(id, dataState);
|
||||
this.customerId=customerId;
|
||||
this.petType=petType;
|
||||
this.birthday=birthday;
|
||||
this.sex=sex;
|
||||
this.sterilization=sterilization;
|
||||
this.fileVOs=fileVOs;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "系统账号编号")
|
||||
private String customerId;
|
||||
|
||||
@ApiModelProperty(value = "宠物种类:0猫 1狗")
|
||||
private String petType;
|
||||
|
||||
@ApiModelProperty(value = "生日")
|
||||
@JsonDeserialize(using = LocalDateTimeDeserializer.class)
|
||||
@JsonSerialize(using = LocalDateTimeSerializer.class)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date birthday;
|
||||
|
||||
@ApiModelProperty(value = "性别:0公 1母")
|
||||
private String sex;
|
||||
|
||||
@ApiModelProperty(value = "绝育情况:0未绝育 1已绝育 3未知")
|
||||
private String sterilization;
|
||||
|
||||
@ApiModelProperty(value = "文件VO对象")
|
||||
private List<FileVO> fileVOs;
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
}
|
||||
+126
@@ -0,0 +1,126 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import com.itheima.sfbx.framework.commons.dto.file.FileVO;
|
||||
import com.itheima.sfbx.insurance.validator.anno.IdentityCard;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description:客户关系表
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value = "CustomerRelation对象", description = "客户关系表")
|
||||
public class CustomerRelationVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public CustomerRelationVO(Long id, String dataState, List<FileVO> fileVOs, String relation, String name, String identityCard, String companyNo, Integer sortNo, String socialSecurity, Long customerId, Long createBy, String[] relations,String sex) {
|
||||
super(id, dataState);
|
||||
this.relation = relation;
|
||||
this.name = name;
|
||||
this.identityCard = identityCard;
|
||||
this.companyNo = companyNo;
|
||||
this.sortNo = sortNo;
|
||||
this.socialSecurity = socialSecurity;
|
||||
this.fileVOs = fileVOs;
|
||||
this.customerId = customerId;
|
||||
this.relations = relations;
|
||||
this.sex = sex;
|
||||
setCreateBy(createBy);
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据身份证号获取性别
|
||||
* @return
|
||||
*/
|
||||
public String setSexByIdCard() {
|
||||
String idNumber = this.identityCard;
|
||||
if(StrUtil.isNotEmpty(idNumber)) {
|
||||
if (idNumber.length() == 18) {
|
||||
char genderChar = idNumber.charAt(16); // 18位身份证号的第17位
|
||||
int genderDigit = Character.getNumericValue(genderChar);
|
||||
if (genderDigit % 2 == 0) {
|
||||
this.sex = "女";
|
||||
return "女";
|
||||
} else {
|
||||
this.sex = "男";
|
||||
return "男";
|
||||
}
|
||||
} else if (idNumber.length() == 15) {
|
||||
char genderChar = idNumber.charAt(14); // 15位身份证号的最后一位
|
||||
int genderDigit = Character.getNumericValue(genderChar);
|
||||
if (genderDigit % 2 == 0) {
|
||||
this.sex = "女";
|
||||
return "女";
|
||||
} else {
|
||||
this.sex = "男";
|
||||
return "男";
|
||||
}
|
||||
} else {
|
||||
// 如果身份证号位数不是15位或18位,可以根据实际需求返回错误信息或其他处理方式
|
||||
this.sex = "无法确定性别";
|
||||
return "无法确定性别";
|
||||
}
|
||||
}else {
|
||||
// 如果身份证号位数不是15位或18位,可以根据实际需求返回错误信息或其他处理方式
|
||||
this.sex = "无法确定性别";
|
||||
return "无法确定性别";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(value = "关系人ID")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private Long customerId;
|
||||
|
||||
@ApiModelProperty(value = "关系")
|
||||
private String relation;
|
||||
|
||||
@ApiModelProperty(value = "名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(value = "身份证号码")
|
||||
@IdentityCard(message = "身份证号格式错误")
|
||||
private String identityCard;
|
||||
|
||||
@ApiModelProperty(value = "公司")
|
||||
private String companyNo;
|
||||
|
||||
@ApiModelProperty(value = "排序")
|
||||
private Integer sortNo;
|
||||
|
||||
@ApiModelProperty(value = "社保状态(0有 1无)")
|
||||
private String socialSecurity;
|
||||
|
||||
@ApiModelProperty(value = "城市编号")
|
||||
private String cityNo;
|
||||
|
||||
@ApiModelProperty(value = "收入")
|
||||
private BigDecimal income;
|
||||
|
||||
@ApiModelProperty(value = "文件VO对象")
|
||||
private List<FileVO> fileVOs;
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
|
||||
@ApiModelProperty(value = "关系列表")
|
||||
private String[] relations;
|
||||
|
||||
@ApiModelProperty(value = "性别")
|
||||
private String sex;
|
||||
|
||||
@ApiModelProperty(value = "年龄")
|
||||
private Integer age;
|
||||
}
|
||||
+86
@@ -0,0 +1,86 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import com.itheima.sfbx.insurance.rule.advice.AdviceHealthDTO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @ClassName DoInsureVo.java
|
||||
* @Description 投保请求Vo
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode
|
||||
@ApiModel(value="DoInsureVo对象", description="投保请求Vo")
|
||||
public class DoInsureVo implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "保险产品ID")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private Long insuranceId;
|
||||
|
||||
@ApiModelProperty(value = "保险方案ID")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private Long insurancePlanId;
|
||||
|
||||
@ApiModelProperty(value = "保险公司编号")
|
||||
private String companyNo;
|
||||
|
||||
@ApiModelProperty(value = "被投保人")
|
||||
private List<String> customerRelationIds;
|
||||
|
||||
@ApiModelProperty(value = "旅游:保障生效期")
|
||||
@JsonDeserialize(using = LocalDateTimeDeserializer.class)
|
||||
@JsonSerialize(using = LocalDateTimeSerializer.class)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime safeguardStartTime;
|
||||
|
||||
@ApiModelProperty(value = "保险系数IDS")
|
||||
private List<Long> insuranceCoefficentIds;
|
||||
|
||||
@ApiModelProperty(value = "理财:购买价格")
|
||||
private BigDecimal price;
|
||||
|
||||
@ApiModelProperty(value = "校验规则:0医疗 1重疾 2意外 3养老 4年金 5旅游 6宠物 7定寿")
|
||||
private String checkRule;
|
||||
|
||||
@ApiModelProperty(value = "代理人Id")
|
||||
private String agentId;
|
||||
|
||||
@ApiModelProperty(value = "代理人姓名")
|
||||
private String agentName;
|
||||
|
||||
@ApiModelProperty(value = "是否有问题:0 是,1 否")
|
||||
private String isProblem;
|
||||
|
||||
@ApiModelProperty(value = "健康检查传输对象")
|
||||
private AdviceHealthDTO adviceHealthDTO;
|
||||
|
||||
@Builder
|
||||
public DoInsureVo(String isProblem,Long insuranceId, Long insurancePlanId, String companyNo, List<String> customerRelationIds, LocalDateTime safeguardStartTime, List<Long> insuranceCoefficentIds, BigDecimal price,String checkRule) {
|
||||
this.insuranceId = insuranceId;
|
||||
this.insurancePlanId = insurancePlanId;
|
||||
this.companyNo = companyNo;
|
||||
this.customerRelationIds = customerRelationIds;
|
||||
this.safeguardStartTime = safeguardStartTime;
|
||||
this.insuranceCoefficentIds = insuranceCoefficentIds;
|
||||
this.price = price;
|
||||
this.checkRule = checkRule;
|
||||
this.isProblem = isProblem;
|
||||
}
|
||||
}
|
||||
+90
@@ -0,0 +1,90 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @ClassName EarningVO.java
|
||||
* @Description TODO
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode
|
||||
@ApiModel(value="EarningVO对象", description="收益试算结果对象")
|
||||
public class EarningVO implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "每周期保费")
|
||||
private BigDecimal premium;
|
||||
|
||||
@ApiModelProperty(value = "投入总保费")
|
||||
private BigDecimal premiums;
|
||||
|
||||
@ApiModelProperty(value = "投入总期数")
|
||||
private Integer periods;
|
||||
|
||||
@ApiModelProperty(value = "投入周期单位")
|
||||
private String periodicUnit;
|
||||
|
||||
@ApiModelProperty(value = "投入周期时长")
|
||||
private String periodic;
|
||||
|
||||
@ApiModelProperty(value = "投入结束时间")
|
||||
@JsonDeserialize(using = LocalDateTimeDeserializer.class)
|
||||
@JsonSerialize(using = LocalDateTimeSerializer.class)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//set
|
||||
private LocalDateTime putInEndTime;
|
||||
|
||||
@ApiModelProperty(value = "领取开始时间")
|
||||
@JsonDeserialize(using = LocalDateTimeDeserializer.class)
|
||||
@JsonSerialize(using = LocalDateTimeSerializer.class)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//set
|
||||
private LocalDateTime actualGetStartTime;
|
||||
|
||||
@ApiModelProperty(value = "领取周期单位")
|
||||
private String actualGetPeriodicUnit;
|
||||
|
||||
@ApiModelProperty(value = "领取周期计划")
|
||||
private List<PeriodicVo> periodicVos ;
|
||||
|
||||
@ApiModelProperty(value = "领取总金额")
|
||||
private BigDecimal receivedAmounts ;
|
||||
|
||||
@ApiModelProperty(value = "累计收益")
|
||||
private BigDecimal accumulatedEarnings;
|
||||
|
||||
@ApiModelProperty(value = "累计倍数")
|
||||
private BigDecimal multiple;
|
||||
|
||||
@Builder
|
||||
public EarningVO(LocalDateTime putInEndTime,BigDecimal multiple,BigDecimal accumulatedEarnings,BigDecimal premium, BigDecimal premiums, Integer periods, String periodicUnit, String periodic, LocalDateTime actualGetStartTime, String actualGetPeriodicUnit, List<PeriodicVo> periodicVos, BigDecimal receivedAmounts) {
|
||||
this.premium = premium;
|
||||
this.premiums = premiums;
|
||||
this.periods = periods;
|
||||
this.periodicUnit = periodicUnit;
|
||||
this.periodic = periodic;
|
||||
this.putInEndTime = putInEndTime;
|
||||
this.actualGetStartTime = actualGetStartTime;
|
||||
this.actualGetPeriodicUnit = actualGetPeriodicUnit;
|
||||
this.periodicVos = periodicVos;
|
||||
this.receivedAmounts = receivedAmounts;
|
||||
this.accumulatedEarnings=accumulatedEarnings;
|
||||
this.multiple = multiple;
|
||||
}
|
||||
}
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
/**
|
||||
* @Description:评估类目
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="HealthAssessment对象", description="评估类目")
|
||||
public class HealthAssessmentVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public HealthAssessmentVO(Long id,String dataState,Long insuranceId,String assessmentKey,String assessmentKeyName,String assessmentVal,Integer sortNo,String remake){
|
||||
super(id, dataState);
|
||||
this.insuranceId=insuranceId;
|
||||
this.assessmentKey=assessmentKey;
|
||||
this.assessmentKeyName=assessmentKeyName;
|
||||
this.assessmentVal=assessmentVal;
|
||||
this.sortNo=sortNo;
|
||||
this.remake=remake;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "保险产品id")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private Long insuranceId;
|
||||
|
||||
@ApiModelProperty(value = "评估类目key")
|
||||
private String assessmentKey;
|
||||
|
||||
@ApiModelProperty(value = "评估类目名称")
|
||||
private String assessmentKeyName;
|
||||
|
||||
@ApiModelProperty(value = "评估类目值")
|
||||
private String assessmentVal;
|
||||
|
||||
@ApiModelProperty(value = "排序")
|
||||
private Integer sortNo;
|
||||
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String remake;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* HomePeopleVO
|
||||
*
|
||||
* @author: wgl
|
||||
* @describe: 家庭人身保障
|
||||
* @date: 2022/12/28 10:10
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@ApiModel(value="家庭人身保障对象", description="家庭人身保障")
|
||||
public class HomePeopleVO {
|
||||
|
||||
@ApiModelProperty(value = "姓名(脱敏后)")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(value = "保险信息")
|
||||
private List<InsureTypeOnHomePeopleVO> type;
|
||||
|
||||
@ApiModelProperty(value = "关系")
|
||||
private String relation;
|
||||
|
||||
@ApiModelProperty(value = "性别")
|
||||
private String sex;
|
||||
}
|
||||
+38
@@ -0,0 +1,38 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* HomeSafeguardDTO
|
||||
*
|
||||
* @author: wgl
|
||||
* @describe: 家庭保障DTO对象
|
||||
* @date: 2022/12/28 10:10
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class HomeSafeguardDTO {
|
||||
|
||||
/**
|
||||
* 保险ID
|
||||
*/
|
||||
private String insuranceId;
|
||||
|
||||
/**
|
||||
* 身份证号
|
||||
*/
|
||||
private String idCard;
|
||||
|
||||
/**
|
||||
* 合同编号
|
||||
*/
|
||||
private String warrantyNo;
|
||||
|
||||
/**
|
||||
* 保单类型
|
||||
*/
|
||||
private String checkRule;
|
||||
}
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
/**
|
||||
* @Description:保批信息
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="InsuranceApproveDetail对象", description="保批信息")
|
||||
public class InsuranceApproveDetailVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public InsuranceApproveDetailVO(Long id,String dataState,Long approveId,String type,String changeFieldKey,String title,String label,String modifyCont,String modifyReason,String approveTime,Integer sortNo){
|
||||
super(id, dataState);
|
||||
this.approveId=approveId;
|
||||
this.type=type;
|
||||
this.changeFieldKey=changeFieldKey;
|
||||
this.title=title;
|
||||
this.label=label;
|
||||
this.modifyCont=modifyCont;
|
||||
this.modifyReason=modifyReason;
|
||||
this.approveTime=approveTime;
|
||||
this.sortNo=sortNo;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "报批id")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private Long approveId;
|
||||
|
||||
@ApiModelProperty(value = "投保人:0 被保人:1")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty(value = "修改字段键")
|
||||
private String changeFieldKey;
|
||||
|
||||
@ApiModelProperty(value = "修改字段名")
|
||||
private String title;
|
||||
|
||||
@ApiModelProperty(value = "修改前的内容")
|
||||
private String label;
|
||||
|
||||
@ApiModelProperty(value = "修改后的内容")
|
||||
private String modifyCont;
|
||||
|
||||
@ApiModelProperty(value = "原因")
|
||||
private String modifyReason;
|
||||
|
||||
@ApiModelProperty(value = "修改时间")
|
||||
private String approveTime;
|
||||
|
||||
@ApiModelProperty(value = "排序")
|
||||
private Integer sortNo;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
}
|
||||
+66
@@ -0,0 +1,66 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description:保批信息
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="InsuranceApprove对象", description="保批信息")
|
||||
public class InsuranceApproveVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public InsuranceApproveVO(Long id,String dataState,String companyNo,String warrantyNo,String approveState,Date approveTime,Integer sortNo){
|
||||
super(id, dataState);
|
||||
this.companyNo=companyNo;
|
||||
this.warrantyNo=warrantyNo;
|
||||
this.approveState=approveState;
|
||||
this.approveTime=approveTime;
|
||||
this.sortNo=sortNo;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "公司编号")
|
||||
private String companyNo;
|
||||
|
||||
@ApiModelProperty(value = "保险合同编号")
|
||||
private String warrantyNo;
|
||||
|
||||
@ApiModelProperty(value = "批保状态(0未批保 1批保发送失败 2批保中 3批保通过 4.保批不通过)")
|
||||
private String approveState;
|
||||
|
||||
@ApiModelProperty(value = "修改时间")
|
||||
@JsonDeserialize(using = LocalDateTimeDeserializer.class)
|
||||
@JsonSerialize(using = LocalDateTimeSerializer.class)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private Date approveTime;
|
||||
|
||||
@ApiModelProperty(value = "排序")
|
||||
private Integer sortNo;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "保批详情")
|
||||
private List<InsuranceApproveDetailVO> approveDetails;
|
||||
}
|
||||
+81
@@ -0,0 +1,81 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
/**
|
||||
* @Description:保险系数项
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="InsuranceCoefficent对象", description="保险系数项")
|
||||
public class InsuranceCoefficentVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public InsuranceCoefficentVO(String isShow,String coefficentAsName,String coefficentType,Long id,String dataState,Long insuranceId,String coefficentKey,String coefficentKeyName,String coefficentValue,BigDecimal score,String isDefault,Integer sortNo,String[] checkedIds,Long[] instanceIds){
|
||||
super(id, dataState);
|
||||
this.insuranceId=insuranceId;
|
||||
this.coefficentKey=coefficentKey;
|
||||
this.coefficentKeyName=coefficentKeyName;
|
||||
this.coefficentValue=coefficentValue;
|
||||
this.coefficentType=coefficentType;
|
||||
this.coefficentAsName=coefficentAsName;
|
||||
this.score=score;
|
||||
this.isShow=isShow;
|
||||
this.isDefault=isDefault;
|
||||
this.sortNo=sortNo;
|
||||
this.checkedIds = checkedIds;
|
||||
this.instanceIds = instanceIds;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "保险产品id")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private Long insuranceId;
|
||||
|
||||
@ApiModelProperty(value = "系数项key:bznx")
|
||||
private String coefficentKey;
|
||||
|
||||
@ApiModelProperty(value = "系数项名称:保障年限")
|
||||
private String coefficentKeyName;
|
||||
|
||||
@ApiModelProperty(value = "系数项类型:0、选项系数1、范围系数 2、年限系数")
|
||||
private String coefficentType;
|
||||
|
||||
@ApiModelProperty(value = "系数项别名")
|
||||
private String coefficentAsName;
|
||||
|
||||
@ApiModelProperty(value = "系数项值")
|
||||
private String coefficentValue;
|
||||
|
||||
@ApiModelProperty(value = "系数项试算值")
|
||||
private BigDecimal score;
|
||||
|
||||
@ApiModelProperty(value = "是否默认")
|
||||
private String isDefault;
|
||||
|
||||
@ApiModelProperty(value = "是否展示")
|
||||
private String isShow;
|
||||
|
||||
@ApiModelProperty(value = "排序")
|
||||
private Integer sortNo;
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
|
||||
@ApiModelProperty(value = "批量操作:保险ID")
|
||||
private Long[] instanceIds;
|
||||
}
|
||||
+66
@@ -0,0 +1,66 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description:保险筛选项
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="InsuranceCondition对象", description="保险筛选项")
|
||||
public class InsuranceConditionVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public InsuranceConditionVO(Long id, String dataState, String insuranceId, String conditionKey, String conditionKeyName, String conditionVal, Integer sortNo, String remake, String[] checkedIds,Long[] insuranceIds){
|
||||
super(id, dataState);
|
||||
this.insuranceId=insuranceId;
|
||||
this.conditionKey=conditionKey;
|
||||
this.conditionKeyName=conditionKeyName;
|
||||
this.conditionVal=conditionVal;
|
||||
this.sortNo=sortNo;
|
||||
this.remake=remake;
|
||||
this.checkedIds = checkedIds;
|
||||
this.insuranceIds= insuranceIds;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "保险产品ID")
|
||||
private String insuranceId;
|
||||
|
||||
@ApiModelProperty(value = "条件项key")
|
||||
private String conditionKey;
|
||||
|
||||
@ApiModelProperty(value = "条件项名称")
|
||||
private String conditionKeyName;
|
||||
|
||||
@ApiModelProperty(value = "条件项值")
|
||||
private String conditionVal;
|
||||
|
||||
@ApiModelProperty(value = "排序")
|
||||
private Integer sortNo;
|
||||
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String remake;
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
|
||||
@ApiModelProperty(value = "批量操作:保险id")
|
||||
private Long[] insuranceIds;
|
||||
}
|
||||
+57
@@ -0,0 +1,57 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* InsurancePlanTimeDTO
|
||||
*
|
||||
* @author: wgl
|
||||
* @describe: 保险方案次数DTO
|
||||
* @date: 2022/12/28 10:10
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class InsurancePlanTimeDTO {
|
||||
|
||||
/**
|
||||
* 包含保障项次数
|
||||
*/
|
||||
private Integer times;
|
||||
|
||||
/**
|
||||
* 保险
|
||||
*/
|
||||
private InsuranceVO insuranceVO;
|
||||
|
||||
/**
|
||||
* 对应的保险方案
|
||||
*/
|
||||
private InsurancePlanVO insurancePlanVO;
|
||||
|
||||
/**
|
||||
* 方案对应的保额
|
||||
*/
|
||||
private BigDecimal amount;
|
||||
|
||||
|
||||
/**
|
||||
* 对应的类型 医疗 意外 重疾
|
||||
*/
|
||||
private String type;
|
||||
|
||||
|
||||
/**
|
||||
* 保险建议
|
||||
*/
|
||||
private String insuranceSuggest;
|
||||
|
||||
/**
|
||||
* 解决方案
|
||||
*/
|
||||
private String solution;
|
||||
}
|
||||
+92
@@ -0,0 +1,92 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description:保险方案
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="InsurancePlan对象", description="保险方案")
|
||||
public class InsurancePlanVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public InsurancePlanVO(Long planNo,BigDecimal maxPriceYear,BigDecimal maxPriceMonth,BigDecimal maxPriceWeek,BigDecimal maxPriceAllIn,Long id,String dataState,Long insuranceId,String palnName,String palnRemake,BigDecimal price,String priceUnit,Integer sortNo,Long[] insuranceIds){
|
||||
super(id, dataState);
|
||||
this.insuranceId=insuranceId;
|
||||
this.palnName=palnName;
|
||||
this.palnRemake=palnRemake;
|
||||
this.price=price;
|
||||
this.priceUnit=priceUnit;
|
||||
this.sortNo=sortNo;
|
||||
this.maxPriceYear =maxPriceYear;
|
||||
this.maxPriceMonth =maxPriceMonth;
|
||||
this.maxPriceWeek =maxPriceWeek;
|
||||
this.maxPriceAllIn=maxPriceAllIn;
|
||||
this.insuranceIds = insuranceIds;
|
||||
this.planNo=planNo;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "保险商品id")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private Long insuranceId;
|
||||
|
||||
@ApiModelProperty(value = "保险方案名称")
|
||||
private String palnName;
|
||||
|
||||
@ApiModelProperty(value = "保险方案编号")
|
||||
private Long planNo;
|
||||
|
||||
@ApiModelProperty(value = "保险方案名称补充")
|
||||
private String palnRemake;
|
||||
|
||||
@ApiModelProperty(value = "默认定价")
|
||||
private BigDecimal price;
|
||||
|
||||
@ApiModelProperty(value = "默认定价单位:y/d,y/m,y/y")
|
||||
private String priceUnit;
|
||||
|
||||
@ApiModelProperty(value = "每年最高")
|
||||
private BigDecimal maxPriceYear;
|
||||
|
||||
@ApiModelProperty(value = "每月最高")
|
||||
private BigDecimal maxPriceMonth;
|
||||
|
||||
@ApiModelProperty(value = "每周最高")
|
||||
private BigDecimal maxPriceWeek;
|
||||
|
||||
@ApiModelProperty(value = "一次性投入最高")
|
||||
private BigDecimal maxPriceAllIn;
|
||||
|
||||
@ApiModelProperty(value = "排序")
|
||||
private Integer sortNo;
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
|
||||
@ApiModelProperty(value = "保险方案保障项")
|
||||
private List<PlanSafeguardVO> planSafeguardVOs;
|
||||
|
||||
@ApiModelProperty(value = "方案给付计划")
|
||||
private PlanEarningsVO planEarningsVO;
|
||||
|
||||
@ApiModelProperty(value = "批量操作:保险id")
|
||||
private Long[] insuranceIds;
|
||||
}
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
/**
|
||||
* @Description:保险规则
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="InsuranceRule对象", description="保险规则")
|
||||
public class InsuranceRuleVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public InsuranceRuleVO(Long id,String dataState,String rulesId,String insuranceId,String rulesType){
|
||||
super(id, dataState);
|
||||
this.rulesId=rulesId;
|
||||
this.insuranceId=insuranceId;
|
||||
this.rulesType=rulesType;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "规则ID")
|
||||
private String rulesId;
|
||||
|
||||
@ApiModelProperty(value = "保险ID")
|
||||
private String insuranceId;
|
||||
|
||||
@ApiModelProperty(value = "规则类型")
|
||||
private String rulesType;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* InsuranceCoverageDTO
|
||||
*
|
||||
* @author: wgl
|
||||
* @describe: 保障项详情类目
|
||||
* @date: 2022/12/28 10:10
|
||||
*/
|
||||
@Data
|
||||
public class InsuranceSafeguardCoverageDTO {
|
||||
|
||||
//保额
|
||||
private String val;
|
||||
|
||||
//保险名称
|
||||
private String name;
|
||||
|
||||
private BigDecimal score;
|
||||
}
|
||||
+47
@@ -0,0 +1,47 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
/**
|
||||
* @Description:初筛结果
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="InsuranceSieving对象", description="初筛结果")
|
||||
public class InsuranceSievingVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public InsuranceSievingVO(Long id,String dataState,String name,String sicksName,String sicksKey,Boolean result,Integer sortNo){
|
||||
super(id, dataState);
|
||||
this.name=name;
|
||||
this.sicksName=sicksName;
|
||||
this.sicksKey=sicksKey;
|
||||
this.result=result;
|
||||
this.sortNo=sortNo;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "姓名")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(value = "疾病列表")
|
||||
private String sicksName;
|
||||
|
||||
@ApiModelProperty(value = "疾病key列表")
|
||||
private String sicksKey;
|
||||
|
||||
@ApiModelProperty(value = "初筛结果")
|
||||
private Boolean result;
|
||||
|
||||
@ApiModelProperty(value = "排序")
|
||||
private Integer sortNo;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
}
|
||||
+75
@@ -0,0 +1,75 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
/**
|
||||
* @Description:人气保险
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="InsuranceTop对象", description="人气保险")
|
||||
public class InsuranceTopVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public InsuranceTopVO(Long id,String dataState,Long insuranceId,String insuranceName,String categoryNo,String categoryType,String categoryName,Long palnId,BigDecimal price,String priceUnit,Long salesVolume){
|
||||
super(id, dataState);
|
||||
this.insuranceId=insuranceId;
|
||||
this.insuranceName=insuranceName;
|
||||
this.categoryNo=categoryNo;
|
||||
this.categoryType=categoryType;
|
||||
this.categoryName=categoryName;
|
||||
this.palnId=palnId;
|
||||
this.price=price;
|
||||
this.priceUnit=priceUnit;
|
||||
this.salesVolume=salesVolume;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "保险ID")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private Long insuranceId;
|
||||
|
||||
@ApiModelProperty(value = "保险名称")
|
||||
private String insuranceName;
|
||||
|
||||
@ApiModelProperty(value = "分类编号")
|
||||
private String categoryNo;
|
||||
|
||||
@ApiModelProperty(value = "保障类型: 1推荐分类 2产品分类 ")
|
||||
private String categoryType;
|
||||
|
||||
@ApiModelProperty(value = "分类名称")
|
||||
private String categoryName;
|
||||
|
||||
@ApiModelProperty(value = "方案ID")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private Long palnId;
|
||||
|
||||
@ApiModelProperty(value = "默认定价")
|
||||
private BigDecimal price;
|
||||
|
||||
@ApiModelProperty(value = "默认定价单位:y/d,y/m,y/y")
|
||||
private String priceUnit;
|
||||
|
||||
@ApiModelProperty(value = "销量")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private Long salesVolume;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
}
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* InsuranceTypeInfoVO
|
||||
*
|
||||
* @author: wgl
|
||||
* @describe: 保险类型下的保险VO类
|
||||
* @date: 2022/12/28 10:10
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@ApiModel(value="保险类型下的保险VO类", description="保险分类列表")
|
||||
public class InsuranceTypeInfoVO {
|
||||
|
||||
@ApiModelProperty(value = "保险类型")
|
||||
private String checkRule;
|
||||
|
||||
@ApiModelProperty(value = "当前类型下的保险列表")
|
||||
private List<InsuranceVO> data;
|
||||
}
|
||||
+184
@@ -0,0 +1,184 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import com.itheima.sfbx.framework.commons.dto.file.FileVO;
|
||||
import com.itheima.sfbx.framework.commons.dto.security.CompanyVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @Description:保险产品
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value = "Insurance对象", description = "保险产品")
|
||||
public class InsuranceVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public InsuranceVO(BigDecimal operatingRate, BigDecimal individualAgentRate, BigDecimal platformAgentRate, String goldSelection, String carefree, Long id, String dataState, List<FileVO> fileVOs, String publishNumber, Long categoryNo, Long recommendCategoryNo, String insuranceName, String showIndex, String labelsJson, String remakeJson, Long timeStart, String timeStartUnit, Long timeEnd, String timeEndUnit, String relation, Integer sortNo, String multiple, Long continuousInsuranceAge, String checkRule, String companyNo, String insuranceState, Integer grace, String graceUnit, Integer revival, String revivalUnit, String comment, String remake, Integer hesitation, Integer waits,String[] checkedIds) {
|
||||
super(id, dataState);
|
||||
this.publishNumber = publishNumber;
|
||||
this.categoryNo = categoryNo;
|
||||
this.recommendCategoryNo = recommendCategoryNo;
|
||||
this.insuranceName = insuranceName;
|
||||
this.goldSelection = goldSelection;
|
||||
this.carefree = carefree;
|
||||
this.showIndex = showIndex;
|
||||
this.labelsJson = labelsJson;
|
||||
this.remakeJson = remakeJson;
|
||||
this.timeStart = timeStart;
|
||||
this.timeStartUnit = timeStartUnit;
|
||||
this.timeEnd = timeEnd;
|
||||
this.timeEndUnit = timeEndUnit;
|
||||
this.relation = relation;
|
||||
this.sortNo = sortNo;
|
||||
this.multiple = multiple;
|
||||
this.continuousInsuranceAge = continuousInsuranceAge;
|
||||
this.checkRule = checkRule;
|
||||
this.companyNo = companyNo;
|
||||
this.insuranceState = insuranceState;
|
||||
this.grace = grace;
|
||||
this.graceUnit = graceUnit;
|
||||
this.revival = revival;
|
||||
this.revivalUnit = revivalUnit;
|
||||
this.comment = comment;
|
||||
this.remake = remake;
|
||||
this.hesitation = hesitation;
|
||||
this.waits = waits;
|
||||
this.fileVOs = fileVOs;
|
||||
this.operatingRate = operatingRate;
|
||||
this.individualAgentRate = individualAgentRate;
|
||||
this.platformAgentRate = platformAgentRate;
|
||||
this.checkedIds = checkedIds;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "银保监备案号")
|
||||
private String publishNumber;
|
||||
|
||||
@ApiModelProperty(value = "分类编号")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private Long categoryNo;
|
||||
|
||||
@ApiModelProperty(value = "推荐分类")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private Long recommendCategoryNo;
|
||||
|
||||
@ApiModelProperty(value = "保险名称")
|
||||
private String insuranceName;
|
||||
|
||||
@ApiModelProperty(value = "金选:0是 1否")
|
||||
private String goldSelection;
|
||||
|
||||
@ApiModelProperty(value = "安心赔:0是 1否")
|
||||
private String carefree;
|
||||
|
||||
@ApiModelProperty(value = "首页热点显示(是0 否1)")
|
||||
private String showIndex;
|
||||
|
||||
@ApiModelProperty(value = "保险标签格式:[{key:200万医疗金,val:指定私立意义}]")
|
||||
private String labelsJson;
|
||||
|
||||
@ApiModelProperty(value = "补充说明格式[{key:失去保障,val:断保将失去相应保障,不能理赔}]")
|
||||
private String remakeJson;
|
||||
|
||||
@ApiModelProperty(value = "可购买起始点")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private Long timeStart;
|
||||
|
||||
@ApiModelProperty(value = "可购买起始点单位:天、年")
|
||||
private String timeStartUnit;
|
||||
|
||||
@ApiModelProperty(value = "可购买结束点")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private Long timeEnd;
|
||||
|
||||
@ApiModelProperty(value = "可购买结束点单位:天、年")
|
||||
private String timeEndUnit;
|
||||
|
||||
@ApiModelProperty(value = "可投保关系:self,children:spouse,parents")
|
||||
private String relation;
|
||||
|
||||
@ApiModelProperty(value = "排序")
|
||||
private Integer sortNo;
|
||||
|
||||
@ApiModelProperty(value = "团个险(0团 1个)")
|
||||
private String multiple;
|
||||
|
||||
@ApiModelProperty(value = "连续投保年龄")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private Long continuousInsuranceAge;
|
||||
|
||||
@ApiModelProperty(value = "校验规则:0医疗 1重疾 2意外 3养老 4年金 5旅游 6宠物 7定寿")
|
||||
private String checkRule;
|
||||
|
||||
@ApiModelProperty(value = "企业编号")
|
||||
private String companyNo;
|
||||
|
||||
@ApiModelProperty(value = "保险状态(上架0 下架1)")
|
||||
private String insuranceState;
|
||||
|
||||
@ApiModelProperty(value = "保单宽限")
|
||||
private Integer grace;
|
||||
|
||||
@ApiModelProperty(value = "宽限单位")
|
||||
private String graceUnit;
|
||||
|
||||
@ApiModelProperty(value = "保单复效")
|
||||
private Integer revival;
|
||||
|
||||
@ApiModelProperty(value = "复效单位")
|
||||
private String revivalUnit;
|
||||
|
||||
@ApiModelProperty(value = "产品点评")
|
||||
private String comment;
|
||||
|
||||
@ApiModelProperty(value = "产品描述")
|
||||
private String remake;
|
||||
|
||||
@ApiModelProperty(value = "犹豫期")
|
||||
private Integer hesitation;
|
||||
|
||||
@ApiModelProperty(value = "等待期")
|
||||
private Integer waits;
|
||||
|
||||
@ApiModelProperty(value = "文件VO对象")
|
||||
private List<FileVO> fileVOs;
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
|
||||
@ApiModelProperty(value = "运营费率")
|
||||
private BigDecimal operatingRate;
|
||||
|
||||
@ApiModelProperty(value = "个人代理费率")
|
||||
private BigDecimal individualAgentRate;
|
||||
|
||||
@ApiModelProperty(value = "平台代理费率")
|
||||
private BigDecimal platformAgentRate;
|
||||
|
||||
@ApiModelProperty(value = "保险方案")
|
||||
private List<InsurancePlanVO> insurancePlanVOs;
|
||||
|
||||
@ApiModelProperty(value = "公司信息")
|
||||
private CompanyVO companyVO;
|
||||
|
||||
@ApiModelProperty(value = "保险系数项")
|
||||
private List<InsuranceCoefficentVO> insuranceCoefficentVOs;
|
||||
|
||||
@ApiModelProperty(value = "查询:保险筛选项值")
|
||||
private List<String> conditionVals;
|
||||
|
||||
@ApiModelProperty(value = "保险筛选项")
|
||||
private List<InsuranceConditionVO> insuranceConditionVOs;
|
||||
|
||||
}
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.security.CompanyVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @ClassName InsureProcessVO.java
|
||||
* @Description 投保、试算处理对象
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode
|
||||
@ApiModel(value="InsureProcessVO对象", description="投保、试算处理对象")
|
||||
public class InsureProcessVO implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "保险信息")
|
||||
private InsuranceVO insuranceVO;
|
||||
|
||||
@ApiModelProperty(value = "保险方案")
|
||||
private InsurancePlanVO insurancePlanVO;
|
||||
|
||||
@ApiModelProperty(value = "公司信息")
|
||||
private CompanyVO companyVO;
|
||||
|
||||
@ApiModelProperty(value = "保障项信息)")
|
||||
private List<PlanSafeguardVO> safeguardVOs;
|
||||
|
||||
@ApiModelProperty(value = "保险系数项")
|
||||
private List<InsuranceCoefficentVO> coefficents;
|
||||
|
||||
@Builder
|
||||
public InsureProcessVO(InsuranceVO insuranceVO, InsurancePlanVO insurancePlanVO, CompanyVO companyVO, List<PlanSafeguardVO> safeguardVOs, List<InsuranceCoefficentVO> coefficents) {
|
||||
this.insuranceVO = insuranceVO;
|
||||
this.insurancePlanVO = insurancePlanVO;
|
||||
this.companyVO = companyVO;
|
||||
this.safeguardVOs = safeguardVOs;
|
||||
this.coefficents = coefficents;
|
||||
}
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* InsureTypeOnHomePeopleVO
|
||||
*
|
||||
* @author: wgl
|
||||
* @describe: 家庭人身保障向项DTP
|
||||
* @date: 2022/12/28 10:10
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
public class InsureTypeOnHomePeopleVO {
|
||||
|
||||
/**
|
||||
* 类型名称
|
||||
*/
|
||||
@ApiModelProperty(value = "类型名称")
|
||||
private String checkRule;
|
||||
|
||||
/**
|
||||
* 对应的值
|
||||
*/
|
||||
@ApiModelProperty(value = "是否保障")
|
||||
private Boolean value;
|
||||
}
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @ClassName JsonAttribute.java
|
||||
* @Description TODO
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@ApiModel(value="json属性对象", description="json属性对象")
|
||||
public class JsonAttribute implements Serializable {
|
||||
|
||||
@Builder
|
||||
public JsonAttribute(String name, String val) {
|
||||
this.name = name;
|
||||
this.val = val;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(value = "值")
|
||||
private String val;
|
||||
|
||||
@ApiModelProperty(value = "单位")
|
||||
private String unit;
|
||||
|
||||
@ApiModelProperty(value = "计算值:通常用于投入周期时长,保障时长计算")
|
||||
private String calculatedVal;
|
||||
|
||||
}
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @ClassName JsonScoreAttribute.java
|
||||
* @Description 保障项打分对象
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@ApiModel(value="json打分属性对象", description="json打分属性对象")
|
||||
public class JsonScoreAttribute implements Serializable {
|
||||
|
||||
@Builder
|
||||
public JsonScoreAttribute(String name, String val,String scorre) {
|
||||
this.name = name;
|
||||
this.val = val;
|
||||
this.scorre = scorre;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "名称")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(value = "值")
|
||||
private String val;
|
||||
|
||||
@ApiModelProperty(value = "单位")
|
||||
private String scorre;
|
||||
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @ClassName MyWarrantyInfoVO.java
|
||||
* @Description 我的保险信息VO
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode
|
||||
@ApiModel(value = "MyWarrantyInfoVO对象", description = "我的tab页:各保险数量")
|
||||
public class MyWarrantyInfoItemVO implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "保障类型")
|
||||
private String warrantyType;
|
||||
|
||||
@ApiModelProperty(value = "保单数量")
|
||||
private Integer nums;
|
||||
|
||||
@Builder
|
||||
public MyWarrantyInfoItemVO(String warrantyType, Integer nums) {
|
||||
this.warrantyType = warrantyType;
|
||||
this.nums = nums;
|
||||
}
|
||||
}
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* MyWarrantyInfoVO
|
||||
*
|
||||
* @author: wgl
|
||||
* @describe: 总的我的保单信息对象
|
||||
* @date: 2022/12/28 10:10
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode
|
||||
@ApiModel(value = "MyWarrantyInfoVO对象", description = "我的tab页:各保险数量以及我的保单数量")
|
||||
public class MyWarrantyInfoVO implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "保障类型")
|
||||
private List<MyWarrantyInfoItemVO> data;
|
||||
|
||||
@ApiModelProperty(value = "总数")
|
||||
private Integer nums;
|
||||
|
||||
@Builder
|
||||
public MyWarrantyInfoVO(List<MyWarrantyInfoItemVO> data, Integer nums) {
|
||||
this.data = data;
|
||||
this.nums = nums;
|
||||
}
|
||||
}
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* @ClassName PeriodicVo.java
|
||||
* @Description 领取周期计划
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode
|
||||
@ApiModel(value="PeriodicVo对象", description="领取周期计划")
|
||||
public class PeriodicVo implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "第几期")
|
||||
private String periodic;
|
||||
|
||||
@ApiModelProperty(value = "领取金额")
|
||||
private BigDecimal receivedAmount;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "领取时间")
|
||||
@JsonDeserialize(using = LocalDateTimeDeserializer.class)
|
||||
@JsonSerialize(using = LocalDateTimeSerializer.class)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//set
|
||||
private LocalDateTime actualGetStartTime;
|
||||
|
||||
@Builder
|
||||
public PeriodicVo(String periodic, BigDecimal receivedAmount, LocalDateTime actualGetStartTime) {
|
||||
this.periodic = periodic;
|
||||
this.receivedAmount = receivedAmount;
|
||||
this.actualGetStartTime = actualGetStartTime;
|
||||
}
|
||||
}
|
||||
+52
@@ -0,0 +1,52 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
/**
|
||||
* @Description:方案给付
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="PlanEarnings对象", description="方案给付")
|
||||
public class PlanEarningsVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public PlanEarningsVO(Long id,String dataState,Long palnId,String earningsType,Integer periods,String earningsJson){
|
||||
super(id, dataState);
|
||||
this.palnId=palnId;
|
||||
this.earningsType=earningsType;
|
||||
this.periods=periods;
|
||||
this.earningsJson=earningsJson;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "保险方案id")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private Long palnId;
|
||||
|
||||
@ApiModelProperty(value = "给付类型:0终身领取 1固定领取")
|
||||
private String earningsType;
|
||||
|
||||
@ApiModelProperty(value = "周期数")
|
||||
private Integer periods;
|
||||
|
||||
@ApiModelProperty(value = "领取计划")
|
||||
private String earningsJson;
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
}
|
||||
+77
@@ -0,0 +1,77 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description:方案保障项
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="PlanSafeguard对象", description="方案保障项")
|
||||
public class PlanSafeguardVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public PlanSafeguardVO(Long id,String dataState,Long planId,String safeguardKey,String safeguardKeyName,String safeguardValue,String safeguardAsName,String safeguardType,String position,String remake,Integer sortNo){
|
||||
super(id, dataState);
|
||||
this.planId=planId;
|
||||
this.safeguardKey=safeguardKey;
|
||||
this.safeguardKeyName=safeguardKeyName;
|
||||
this.safeguardValue=safeguardValue;
|
||||
this.safeguardAsName=safeguardAsName;
|
||||
this.safeguardType=safeguardType;
|
||||
this.position=position;
|
||||
this.remake=remake;
|
||||
this.sortNo=sortNo;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "保险方案ID")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private Long planId;
|
||||
|
||||
@ApiModelProperty(value = "保障项key:mzyl")
|
||||
private String safeguardKey;
|
||||
|
||||
@ApiModelProperty(value = "保障项名称:门诊医疗")
|
||||
private String safeguardKeyName;
|
||||
|
||||
@ApiModelProperty(value = "保障项值")
|
||||
private String safeguardValue;
|
||||
|
||||
@ApiModelProperty(value = "表单:全量保障项值")
|
||||
private List<SafeguardVO> safeguardVOs;
|
||||
|
||||
@ApiModelProperty(value = "保障项别名:一般门诊费用")
|
||||
private String safeguardAsName;
|
||||
|
||||
@ApiModelProperty(value = "保障类型(0保障规则 1 保障信息)")
|
||||
private String safeguardType;
|
||||
|
||||
@ApiModelProperty(value = "显示位置:0 列表页 1 详情页")
|
||||
private String position;
|
||||
|
||||
@ApiModelProperty(value = "保障内容补充说明")
|
||||
private String remake;
|
||||
|
||||
@ApiModelProperty(value = "排序")
|
||||
private Integer sortNo;
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
}
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* QuestionTemplateDTO
|
||||
*
|
||||
* @author: wgl
|
||||
* @describe: 问卷对象
|
||||
* @date: 2022/12/28 10:10
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@ApiModel(value="问卷对象", description="健康咨询问卷对象")
|
||||
public class QuestionTemplateVO {
|
||||
|
||||
@ApiModelProperty(value = "疾病列表")
|
||||
private List<SickVO> sicks;
|
||||
|
||||
@ApiModelProperty(value = "问卷列表,key为疾病key value为对应的问卷")
|
||||
private Map<String,List<QuestionVO>> questions;
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* QuestionDTO
|
||||
*
|
||||
* @author: wgl
|
||||
* @describe: 问题对象
|
||||
* @date: 2022/12/28 10:10
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@ApiModel(value="问卷详情", description="每个疾病的问卷详情信息")
|
||||
public class QuestionVO {
|
||||
|
||||
@ApiModelProperty(value = "问卷唯一标识")
|
||||
private String questionKey;
|
||||
|
||||
@ApiModelProperty(value = "标题")
|
||||
private String title;
|
||||
|
||||
@ApiModelProperty(value = "用户选项")
|
||||
private List<ChosesVO> choses;
|
||||
}
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @ClassName JsonAttribute.java
|
||||
* @Description TODO
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@ApiModel(value="范围json属性对象", description="范围json属性对象")
|
||||
public class RangJsonAttribute implements Serializable {
|
||||
|
||||
@Builder
|
||||
public RangJsonAttribute(String start, String startUnit, String end, String endUnit) {
|
||||
this.start = start;
|
||||
this.startUnit = startUnit;
|
||||
this.end = end;
|
||||
this.endUnit = endUnit;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "起始")
|
||||
private String start;
|
||||
|
||||
@ApiModelProperty(value = "起始单位")
|
||||
private String startUnit;
|
||||
|
||||
@ApiModelProperty(value = "结束")
|
||||
private String end;
|
||||
|
||||
@ApiModelProperty(value = "结束单位")
|
||||
private String endUnit;
|
||||
|
||||
|
||||
}
|
||||
+65
@@ -0,0 +1,65 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
/**
|
||||
* @Description:风险类目
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="RiskAnalysis对象", description="风险类目")
|
||||
public class RiskAnalysisVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public RiskAnalysisVO(Long id,String dataState,Long insuranceId,String assessmentKey,String assessmentKeyName,String assessmentVal,String assessmentType,Integer sortNo,String remake){
|
||||
super(id, dataState);
|
||||
this.insuranceId=insuranceId;
|
||||
this.assessmentKey=assessmentKey;
|
||||
this.assessmentKeyName=assessmentKeyName;
|
||||
this.assessmentVal=assessmentVal;
|
||||
this.assessmentType=assessmentType;
|
||||
this.sortNo=sortNo;
|
||||
this.remake=remake;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "保险产品id")
|
||||
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||
private Long insuranceId;
|
||||
|
||||
@ApiModelProperty(value = "风险项key")
|
||||
private String assessmentKey;
|
||||
|
||||
@ApiModelProperty(value = "风险项项名称")
|
||||
private String assessmentKeyName;
|
||||
|
||||
@ApiModelProperty(value = "风险项项值")
|
||||
private String assessmentVal;
|
||||
|
||||
@ApiModelProperty(value = "风险项类型: 0医疗风险 1重疾风险 2身故风险 3意外风险")
|
||||
private String assessmentType;
|
||||
|
||||
@ApiModelProperty(value = "排序")
|
||||
private Integer sortNo;
|
||||
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String remake;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
}
|
||||
+56
@@ -0,0 +1,56 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
/**
|
||||
* @Description:风险表
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="Risk对象", description="风险表")
|
||||
public class RiskVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public RiskVO(Long id,String dataState,String riskTypeKey,String riskTypeName,String riskKey,String riskName,Integer sortNo){
|
||||
super(id, dataState);
|
||||
this.riskTypeKey=riskTypeKey;
|
||||
this.riskTypeName=riskTypeName;
|
||||
this.riskKey=riskKey;
|
||||
this.riskName=riskName;
|
||||
this.sortNo=sortNo;
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "风险项类型key")
|
||||
private String riskTypeKey;
|
||||
|
||||
@ApiModelProperty(value = "风险项类型name")
|
||||
private String riskTypeName;
|
||||
|
||||
@ApiModelProperty(value = "风险项key")
|
||||
private String riskKey;
|
||||
|
||||
@ApiModelProperty(value = "风险项名称")
|
||||
private String riskName;
|
||||
|
||||
@ApiModelProperty(value = "排序")
|
||||
private Integer sortNo;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
}
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
package com.itheima.sfbx.insurance.dto;
|
||||
|
||||
import com.itheima.sfbx.framework.commons.dto.basic.BaseVO;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
||||
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
/**
|
||||
* @Description:保障项
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@ApiModel(value="SafeguardVO对象", description="保障项")
|
||||
public class SafeguardVO extends BaseVO {
|
||||
|
||||
@Builder
|
||||
public SafeguardVO(Long id,String dataState,String safeguardKey,String safeguardKeyName,String safeguardVal,String safeguardType,Integer sortNo,String remake,String[] checkedIds){
|
||||
super(id, dataState);
|
||||
this.safeguardKey=safeguardKey;
|
||||
this.safeguardKeyName=safeguardKeyName;
|
||||
this.safeguardVal=safeguardVal;
|
||||
this.safeguardType=safeguardType;
|
||||
this.sortNo=sortNo;
|
||||
this.remake=remake;
|
||||
this.checkedIds = checkedIds;
|
||||
|
||||
}
|
||||
|
||||
@ApiModelProperty(value = "保障项key:mzyl")
|
||||
private String safeguardKey;
|
||||
|
||||
@ApiModelProperty(value = "保障项名称:门诊医疗")
|
||||
private String safeguardKeyName;
|
||||
|
||||
@ApiModelProperty(value = "保障项值")
|
||||
private String safeguardVal;
|
||||
|
||||
@ApiModelProperty(value = "保障项分类:0保障规则 1保障信息")
|
||||
private String safeguardType;
|
||||
|
||||
@ApiModelProperty(value = "排序")
|
||||
private Integer sortNo;
|
||||
|
||||
@ApiModelProperty(value = "备注")
|
||||
private String remake;
|
||||
|
||||
@ApiModelProperty(value = "批量操作:主键ID")
|
||||
private String[] checkedIds;
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user