| | |
| | | import lombok.Data; |
| | | import org.omg.PortableInterceptor.ACTIVE; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.time.LocalDate; |
| | | import java.time.LocalDateTime; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 用户保单实体类 |
| | |
| | | private Integer id; |
| | | |
| | | // 系统生成的用户ID |
| | | private String userId; |
| | | private Integer userId; |
| | | |
| | | // 账号(唯一) |
| | | private String account; |
| | | |
| | | // 保险产品ID |
| | | private Integer productId; |
| | | |
| | | // 产品名称 |
| | | private String productName; |
| | | |
| | | // 保额 |
| | | private BigDecimal coverageAmount; |
| | | |
| | | // 保费 |
| | | private BigDecimal premium; |
| | | |
| | | // 保险期限(如:1年/终身) |
| | | private Integer term; |
| | | |
| | | // 姓名 |
| | | private String name; |
| | |
| | | // 保险结束日期 |
| | | private LocalDate endDate; |
| | | |
| | | // 是否终身保险 0:是 1:否 |
| | | private Integer isLifelong ; |
| | | |
| | | // 创建时间 |
| | | private LocalDateTime createdAt; |
| | | private Date createdAt; |
| | | |
| | | // 更新时间 |
| | | private LocalDateTime updatedAt; |
| | | private Date updatedAt; |
| | | |
| | | // 性别枚举 |
| | | //审批状态 0:待审批 1:通过 2:驳回 |
| | | private Integer approvalStatus; |
| | | |
| | | //驳回信息 |
| | | private String message; |
| | | |
| | | // 性别枚举 M:男 F:女 OTHER:其他 |
| | | public enum Gender { |
| | | M, F, OTHER |
| | | } |