wlzboy
2025-12-03 656d6f8029f8bf9b2daa9dcc89101a879a70b860
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
package com.ruoyi.payment.domain.model;
 
import lombok.Data;
 
import java.io.Serializable;
 
/**
 * 商品明细
 * 
 * @author ruoyi
 */
@Data
public class GoodsDetail implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /** 商品ID */
    private String goodsId;
 
    /** 商品名称 */
    private String goodsName;
 
    /** 商品数量 */
    private Integer quantity;
 
    /** 商品单价(分) */
    private Integer price;
 
    /** 商品类别 */
    private String goodsCategory;
 
    /** 商品描述 */
    private String body;
    
    public GoodsDetail() {}
    
    public GoodsDetail(String goodsId, String goodsName, Integer quantity, Integer price) {
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.quantity = quantity;
        this.price = price;
    }
    
    public GoodsDetail(String goodsId, String goodsName, Integer quantity, Integer price, String goodsCategory, String body) {
        this.goodsId = goodsId;
        this.goodsName = goodsName;
        this.quantity = quantity;
        this.price = price;
        this.goodsCategory = goodsCategory;
        this.body = body;
    }
}