Pu Zhibing
2025-02-18 a445a1e7fa2545ce040e67286f720c8872669cf7
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
package com.ruoyi.web.controller.demo.domain;
 
import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
 
/**
 * 商品测试信息
 * 
 * @author ruoyi
 */
public class GoodsModel
{
    /**
     * 商品名称
     */
    private String name;
 
    /**
     * 商品重量
     */
    private Integer weight;
 
    /**
     * 商品价格
     */
    private Double price;
    
    /**
     * 商品日期
     */
    private Date date;
 
    /**
     * 商品种类
     */
    private String type;
 
    public String getName()
    {
        return name;
    }
 
    public void setName(String name)
    {
        this.name = name;
    }
 
    public Integer getWeight()
    {
        return weight;
    }
 
    public void setWeight(Integer weight)
    {
        this.weight = weight;
    }
 
    public Double getPrice()
    {
        return price;
    }
 
    public void setPrice(Double price)
    {
        this.price = price;
    }
 
    public Date getDate()
    {
        return date;
    }
 
    public void setDate(Date date)
    {
        this.date = date;
    }
 
    public String getType()
    {
        return type;
    }
 
    public void setType(String type)
    {
        this.type = type;
    }
 
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("name", getName())
            .append("weight", getWeight())
            .append("price", getPrice())
            .append("date", getDate())
            .append("type", getType())
            .toString();
    }
}