积分模块相关接口
This commit is contained in:
@@ -106,11 +106,13 @@
|
|||||||
<version>6.1.4</version>
|
<version>6.1.4</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<!--
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.mybatis.spring.boot</groupId>
|
<groupId>org.mybatis.spring.boot</groupId>
|
||||||
<artifactId>mybatis-spring-boot-starter</artifactId>
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
||||||
<version>2.1.4</version>
|
<version>2.1.4</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
-->
|
||||||
|
|
||||||
<!-- <dependency>-->
|
<!-- <dependency>-->
|
||||||
<!-- <groupId>com.baomidou</groupId>-->
|
<!-- <groupId>com.baomidou</groupId>-->
|
||||||
@@ -120,12 +122,12 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.baomidou</groupId>
|
<groupId>com.baomidou</groupId>
|
||||||
<artifactId>mybatis-plus-generator</artifactId>
|
<artifactId>mybatis-plus-generator</artifactId>
|
||||||
<version>3.5.3.1</version>
|
<version>3.5.7</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.baomidou</groupId>
|
<groupId>com.baomidou</groupId>
|
||||||
<artifactId>mybatis-plus-boot-starter</artifactId>
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||||||
<version>3.5.3.1</version>
|
<version>3.5.7</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- zxing生成二维码 -->
|
<!-- zxing生成二维码 -->
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
package cn.ysk.cashier.mybatis.entity;
|
package cn.ysk.cashier.mybatis.entity;
|
||||||
|
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.*;
|
import com.baomidou.mybatisplus.annotation.*;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.EqualsAndHashCode;
|
import lombok.EqualsAndHashCode;
|
||||||
@@ -14,64 +15,64 @@ import java.util.Date;
|
|||||||
* @since 2.0 2024-10-25
|
* @since 2.0 2024-10-25
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper=false)
|
@EqualsAndHashCode(callSuper = false)
|
||||||
@TableName("tb_points_goods_setting")
|
@TableName("tb_points_goods_setting")
|
||||||
public class TbPointsGoodsSetting {
|
public class TbPointsGoodsSetting {
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* id
|
* id
|
||||||
*/
|
*/
|
||||||
@TableId(type = IdType.AUTO)
|
@TableId(type = IdType.AUTO)
|
||||||
private Long id;
|
private Long id;
|
||||||
/**
|
/**
|
||||||
* 店铺id
|
* 店铺id
|
||||||
*/
|
*/
|
||||||
private Long shopId;
|
private Long shopId;
|
||||||
/**
|
/**
|
||||||
* 商品类型 physical-实物 coupon-优惠劵
|
* 商品类型 physical-实物 coupon-优惠劵
|
||||||
*/
|
*/
|
||||||
private String goodsCategory;
|
private String goodsCategory;
|
||||||
/**
|
/**
|
||||||
* 商品名称
|
* 商品名称
|
||||||
*/
|
*/
|
||||||
private String goodsName;
|
private String goodsName;
|
||||||
/**
|
/**
|
||||||
* 商品图片URL
|
* 商品图片URL
|
||||||
*/
|
*/
|
||||||
@TableField(updateStrategy = FieldStrategy.ALWAYS)
|
@TableField(value = "goods_image_url", updateStrategy = FieldStrategy.ALWAYS)
|
||||||
private String goodsImageUrl;
|
private String goodsImageUrl;
|
||||||
/**
|
/**
|
||||||
* 所需积分
|
* 所需积分
|
||||||
*/
|
*/
|
||||||
private Integer requiredPoints;
|
private Integer requiredPoints;
|
||||||
/**
|
/**
|
||||||
* 额外价格
|
* 额外价格
|
||||||
*/
|
*/
|
||||||
private BigDecimal extraPrice;
|
private BigDecimal extraPrice;
|
||||||
/**
|
/**
|
||||||
* 排序(权重),数字越高,显示约靠前
|
* 排序(权重),数字越高,显示约靠前
|
||||||
*/
|
*/
|
||||||
private Integer sort;
|
private Integer sort;
|
||||||
/**
|
/**
|
||||||
* 数量
|
* 数量
|
||||||
*/
|
*/
|
||||||
private Integer quantity;
|
private Integer quantity;
|
||||||
/**
|
/**
|
||||||
* 商品详情
|
* 商品详情
|
||||||
*/
|
*/
|
||||||
@TableField(updateStrategy = FieldStrategy.ALWAYS)
|
@TableField(value = "goods_description", updateStrategy = FieldStrategy.ALWAYS)
|
||||||
private String goodsDescription;
|
private String goodsDescription;
|
||||||
/**
|
/**
|
||||||
* 是否上架 1-是 0-否
|
* 是否上架 1-是 0-否
|
||||||
*/
|
*/
|
||||||
private Integer status;
|
private Integer status;
|
||||||
/**
|
/**
|
||||||
* 创建时间
|
* 创建时间
|
||||||
*/
|
*/
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
/**
|
/**
|
||||||
* 更新时间
|
* 更新时间
|
||||||
*/
|
*/
|
||||||
private Date updateTime;
|
private Date updateTime;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user