Bläddra i källkod

feat(marketing): 添加会员优惠券实体类

hechunping 4 månader sedan
förälder
incheckning
2a2a597b2f
1 ändrade filer med 69 tillägg och 0 borttagningar
  1. 69 0
      src/main/java/com/xynet/marketing/entity/MemberCoupon.java

+ 69 - 0
src/main/java/com/xynet/marketing/entity/MemberCoupon.java

@@ -0,0 +1,69 @@
+package com.xynet.marketing.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import lombok.experimental.Accessors;
+
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * 会员优惠券表
+ *
+ * @author hechunping
+ * @date 2025/2/17
+ */
+@Data
+@Accessors(chain = true)
+@EqualsAndHashCode(callSuper = false)
+@TableName("marketing_member_coupon")
+public class MemberCoupon implements Serializable {
+
+    @TableId(type = IdType.AUTO)
+    private Integer id;
+
+    /**
+     * 商户id
+     */
+    private Integer mercId;
+
+    /**
+     * 第三方会员id
+     */
+    private String thirdMemberId;
+
+    private Integer couponId;
+
+    private String couponName;
+
+    private Boolean isAllDevice;
+
+    private Boolean isAllGoods;
+
+    private LocalDateTime validStartDate;
+
+    private LocalDateTime validEndDate;
+
+    private Integer useMinPrice;
+
+    private String type;
+
+    private String price;
+
+    private String status;
+
+    private String useOrderId;
+
+    private LocalDateTime useTime;
+
+    private LocalDateTime createTime;
+
+    private LocalDateTime updateTime;
+
+    private String createDate;
+
+    private String createOrderId;
+}