Pu Zhibing
8 天以前 7a4f9541331bef779a506b38a27ed5c3373c0bec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
package com.ruoyi.other.api.domain;
 
import com.baomidou.mybatisplus.annotation.*;
import com.ruoyi.common.core.web.domain.BasePojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
 
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
/**
 * <p>
 * 
 * </p>
 *
 * @author 无关风月
 * @since 2024-08-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_goods")
@ApiModel(value="TGoods对象", description="")
public class TGoods extends BasePojo {
 
    private static final long serialVersionUID = 1L;
 
    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
 
    @ApiModelProperty(value = "商品类型(1=购买商品,2=兑换商品)")
    @TableField("type")
    private Integer type;
 
    @ApiModelProperty(value = "商品名称")
    @TableField("name")
    private String name;
 
    @ApiModelProperty(value = "封面图")
    @TableField("cover_picture")
    private String coverPicture;
 
    @ApiModelProperty(value = "详情图片")
    @TableField("details_picture")
    private String detailsPicture;
 
    @ApiModelProperty(value = "发货地")
    @TableField("dispatch_address")
    private String dispatchAddress;
 
    @ApiModelProperty(value = "服务说明")
    @TableField("service_description")
    private String serviceDescription;
 
    @ApiModelProperty(value = "原价")
    @TableField("original_price")
    private BigDecimal originalPrice;
 
    @ApiModelProperty(value = "优惠价")
    @TableField("preferential_price")
    private BigDecimal preferentialPrice;
 
    @ApiModelProperty(value = "会员价")
    @TableField("vip_price")
    private BigDecimal vipPrice;
 
    @ApiModelProperty(value = "兑换积分")
    @TableField("redeem_points")
    private Integer redeemPoints;
 
    @ApiModelProperty(value = "限制兑换次数(-1表示不限制)")
    @TableField("limit_exchange_times")
    private Integer limitExchangeTimes;
 
    @ApiModelProperty(value = "库存数量(-1表示不限库存)")
    @TableField("inventory")
    private Integer inventory;
 
    @ApiModelProperty(value = "基础销量")
    @TableField("underlying_sales")
    private Integer underlyingSales;
 
    @ApiModelProperty(value = "商品描述")
    @TableField("describes")
    private String describes;
 
    @ApiModelProperty(value = "商品介绍")
    @TableField("introduce")
    private String introduce;
 
    @ApiModelProperty(value = "商品说明")
    @TableField("explains")
    private String explains;
 
    @ApiModelProperty(value = "状态(1=上架,2=下架)")
    @TableField("status")
    private Integer status;
 
 
    @ApiModelProperty(value = "销量")
    @TableField(exist = false)
    private Integer salesCount;
    @ApiModelProperty(value = "1商品2优惠卷")
    @TableField(exist = false)
    private Integer goodType;
 
}