| | |
| | | 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; |
| | | |
| | | /** |
| | | * 保险产品实体类 |
| | |
| | | |
| | | // 产品ID |
| | | @TableId(type = IdType.AUTO) |
| | | private Integer productId; |
| | | private Integer id; |
| | | |
| | | // 产品名称 |
| | | private String productName; |
| | |
| | | private BigDecimal premium; |
| | | |
| | | // 保险期限(如:1年/终身) |
| | | private String term; |
| | | private Integer term; |
| | | |
| | | //可领取天数 |
| | | private Integer numberDays; |
| | | |
| | | // 产品状态 |
| | | private ProductStatus status; |
| | | |
| | | // 创建时间 |
| | | private LocalDateTime createdAt; |
| | | private Date createdAt; |
| | | |
| | | // 更新时间 |
| | | private LocalDateTime updatedAt; |
| | | private Date updatedAt; |
| | | |
| | | // 医院数量 |
| | | private Integer hospitalNumber; |
| | |
| | | private String obligationDisclose; |
| | | |
| | | // 产品特色 |
| | | private String productFeature; |
| | | @TableField(exist = false) |
| | | private List<InsuranceFeature> productFeature; |
| | | |
| | | // 是否已购买 false:未购买 true: 已购买 |
| | | @TableField(exist = false) |
| | | private Boolean isBuy = false; |
| | | |
| | | // 投保须知 |
| | | private String liabilityExemption; |
| | |
| | | |
| | | // 枚举类型 产品状态(ACTIVE 上架,INACTIVE 下架) |
| | | public enum ProductStatus { |
| | | ACTIVE, INACTIVE |
| | | ACTIVE, INACTIVE ,SOLDOUT |
| | | } |
| | | |
| | | |