1
zj
2025-09-24 5b16e50ef283a1ccdd6408ee2ccf41726f349923
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
package com.ruoyi.system.domain;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;
 
/**
 * 保险产品实体类
 */
@Data
public class InsuranceProduct {
 
    // 产品ID
    @TableId(type = IdType.AUTO)
    private Integer id;
 
    // 产品名称
    private String productName;
 
    // 产品代码
    private String productCode;
 
    // 保障详情
    private String description;
 
    // 保额
    private BigDecimal coverageAmount;
 
    // 保费
    private BigDecimal premium;
 
    // 保险期限(如:1年/终身)
    private Integer term;
 
    // 产品状态
    private ProductStatus status;
 
    // 创建时间
    private Date createdAt;
 
    // 更新时间
    private Date updatedAt;
 
    // 医院数量
    private Integer hospitalNumber;
 
    // 保障说明
    private String guaranteeExplanation;
 
    // 投保年龄
    private String insureAge;
 
    // 告知义务
    private String obligationDisclose;
 
    // 产品特色
    @TableField(exist = false)
    private List<InsuranceFeature> productFeature;
 
    // 投保须知
    private String liabilityExemption;
 
    // 图片1
    private String img1;
 
    // 图片2
    private String img2;
 
    // 枚举类型  产品状态(ACTIVE  上架,INACTIVE  下架)
    public enum ProductStatus {
        ACTIVE, INACTIVE ,SOLDOUT
    }
 
 
}