|
|
@@ -0,0 +1,178 @@
|
|
|
+package com.jzg.quotation.summary.entity.vo;
|
|
|
+
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
+import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
|
+import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
+import lombok.Data;
|
|
|
+
|
|
|
+import java.io.Serializable;
|
|
|
+import java.math.BigDecimal;
|
|
|
+import java.time.LocalDateTime;
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+/**
|
|
|
+ * 本地生活活动规则
|
|
|
+ */
|
|
|
+@Data
|
|
|
+@JsonIgnoreProperties(ignoreUnknown = true)
|
|
|
+public class LocalLivingActivityTableVO implements Serializable {
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ @Schema(description = "ID")
|
|
|
+ private String id;
|
|
|
+
|
|
|
+ @Schema(description = "标题")
|
|
|
+ private String title;
|
|
|
+
|
|
|
+ @Schema(description = "说明")
|
|
|
+ private String instructions;
|
|
|
+
|
|
|
+ @Schema(description = "开始时间")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ private LocalDateTime startTime;
|
|
|
+
|
|
|
+ @Schema(description = "结束时间")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ private LocalDateTime endTime;
|
|
|
+
|
|
|
+ @Schema(description = "用户类型")
|
|
|
+ private String userType;
|
|
|
+
|
|
|
+ @Schema(description = "用户等级ID")
|
|
|
+ private String userLevelId;
|
|
|
+
|
|
|
+ @Schema(description = "产品类型")
|
|
|
+ private String productType;
|
|
|
+
|
|
|
+ @Schema(description = "产品ID")
|
|
|
+ private String productId;
|
|
|
+
|
|
|
+ @Schema(description = "产品名称")
|
|
|
+ private String productName;
|
|
|
+
|
|
|
+ @Schema(description = "奖品类型")
|
|
|
+ private String awardType;
|
|
|
+
|
|
|
+ @Schema(description = "转盘ID")
|
|
|
+ private String turntableId;
|
|
|
+
|
|
|
+ @Schema(description = "积分数量")
|
|
|
+ private Integer pointNumber;
|
|
|
+
|
|
|
+ @Schema(description = "优惠券ID")
|
|
|
+ private String couponId;
|
|
|
+
|
|
|
+ @Schema(description = "创建时间")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ private LocalDateTime createTime;
|
|
|
+
|
|
|
+ @Schema(description = "更新人")
|
|
|
+ private String updateBy;
|
|
|
+
|
|
|
+ @Schema(description = "更新时间")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ private LocalDateTime updateTime;
|
|
|
+
|
|
|
+ @Schema(description = "删除标识")
|
|
|
+ private Integer delFlag;
|
|
|
+
|
|
|
+ @Schema(description = "备注")
|
|
|
+ private String remark;
|
|
|
+
|
|
|
+ @Schema(description = "类型 6-报价 7-签到 8-出单 9-承保")
|
|
|
+ private String type;
|
|
|
+
|
|
|
+ @Schema(description = "背景图")
|
|
|
+ private String backImage;
|
|
|
+
|
|
|
+ @Schema(description = "商户ID")
|
|
|
+ private String merchantId;
|
|
|
+
|
|
|
+ @Schema(description = "是否商品")
|
|
|
+ private String isProduct;
|
|
|
+
|
|
|
+ @Schema(description = "幸运转盘")
|
|
|
+ private String luckyWheel;
|
|
|
+
|
|
|
+ @Schema(description = "用户参与ID")
|
|
|
+ private String userParticipateId;
|
|
|
+
|
|
|
+ @Schema(description = "项目类型")
|
|
|
+ private String projectType;
|
|
|
+
|
|
|
+ @Schema(description = "报价次数")
|
|
|
+ private String qutNum;
|
|
|
+
|
|
|
+ @Schema(description = "报价获得抽奖次数")
|
|
|
+ private String qutLotteryNum;
|
|
|
+
|
|
|
+ @Schema(description = "报价最大抽奖次数")
|
|
|
+ private String qutLotteryMax;
|
|
|
+
|
|
|
+ @Schema(description = "签到规则列表")
|
|
|
+ private List<SignRule> signRules;
|
|
|
+
|
|
|
+ @Schema(description = "出单规则列表")
|
|
|
+ private List<OrderRule> orderRules;
|
|
|
+
|
|
|
+ @Schema(description = "承保规则列表")
|
|
|
+ private List<UnderwritingRule> underwritingRules;
|
|
|
+
|
|
|
+ @Schema(description = "租户ID")
|
|
|
+ private String tenantId;
|
|
|
+
|
|
|
+ @Schema(description = "租户名称")
|
|
|
+ private String tenantName;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 签到规则
|
|
|
+ */
|
|
|
+ @Data
|
|
|
+ @JsonIgnoreProperties(ignoreUnknown = true)
|
|
|
+ public static class SignRule implements Serializable {
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ @Schema(description = "签到天数")
|
|
|
+ private String signNum;
|
|
|
+
|
|
|
+ @Schema(description = "签到获得抽奖次数")
|
|
|
+ private String signLotteryNum;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 出单规则
|
|
|
+ */
|
|
|
+ @Data
|
|
|
+ @JsonIgnoreProperties(ignoreUnknown = true)
|
|
|
+ public static class OrderRule implements Serializable {
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ @Schema(description = "出单数量")
|
|
|
+ private String ordNum;
|
|
|
+
|
|
|
+ @Schema(description = "出单获得抽奖次数")
|
|
|
+ private String ordLotteryNum;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 承保规则
|
|
|
+ */
|
|
|
+ @Data
|
|
|
+ @JsonIgnoreProperties(ignoreUnknown = true)
|
|
|
+ public static class UnderwritingRule implements Serializable {
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ @Schema(description = "最小保费")
|
|
|
+ private BigDecimal uwMinPremium;
|
|
|
+
|
|
|
+ @Schema(description = "最大保费")
|
|
|
+ private BigDecimal uwMaxPremium;
|
|
|
+
|
|
|
+ @Schema(description = "承保获得抽奖次数")
|
|
|
+ private String uwLotteryNum;
|
|
|
+ }
|
|
|
+}
|