ItemStepPriceImport.java
2.67 KB
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
111
112
113
114
115
116
package com.xiniunet.web.home.domain;
import com.xiniunet.framework.base.BaseDomain;
import com.xiniunet.framework.util.excel.annotation.Description;
import com.xiniunet.framework.util.excel.annotation.Name;
import com.xiniunet.framework.util.excel.annotation.Type;
import com.xiniunet.framework.util.excel.enumeration.DataType;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotNull;
/**
 * Created by xiniu on 2016/11/1.
 */
@Name("阶梯价")
public class ItemStepPriceImport extends BaseDomain {
    /**
     * 商品货号
     */
    @NotNull
    @Length(min = 0, max = 50)
    @Description("商品货号:若为数字,请设置为文本格式")
    @Name("商品货号")
    private String number;
    /**
     * 折扣1
     */
    @Type(DataType.DECIMAL)
    @Description("折扣率为百分比,如打8折请输入80")
    @Name("折扣1")
    @NotNull
    private Double discountRate1;
    /**
     * 折扣2
     */
    @Type(DataType.DECIMAL)
    @Description("折扣率为百分比,如打8折请输入80")
    @Name("折扣2")
    private Double discountRate2;
    /**
     * 折扣3
     */
    @Type(DataType.DECIMAL)
    @Description("折扣率为百分比,如打8折请输入80")
    @Name("折扣3")
    private Double discountRate3;
    /**
     * 折扣4
     */
    @Type(DataType.DECIMAL)
    @Description("折扣率为百分比,如打8折请输入80")
    @Name("折扣4")
    private Double discountRate4;
    /**
     * 折扣5
     */
    @Type(DataType.DECIMAL)
    @Description("折扣率为百分比,如打8折请输入80")
    @Name("折扣5")
    private Double discountRate5;
    public String getNumber() {
        return number;
    }
    public void setNumber(String number) {
        this.number = number;
    }
    public Double getDiscountRate1() {
        return discountRate1;
    }
    public void setDiscountRate1(Double discountRate1) {
        this.discountRate1 = discountRate1;
    }
    public Double getDiscountRate2() {
        return discountRate2;
    }
    public void setDiscountRate2(Double discountRate2) {
        this.discountRate2 = discountRate2;
    }
    public Double getDiscountRate3() {
        return discountRate3;
    }
    public void setDiscountRate3(Double discountRate3) {
        this.discountRate3 = discountRate3;
    }
    public Double getDiscountRate4() {
        return discountRate4;
    }
    public void setDiscountRate4(Double discountRate4) {
        this.discountRate4 = discountRate4;
    }
    public Double getDiscountRate5() {
        return discountRate5;
    }
    public void setDiscountRate5(Double discountRate5) {
        this.discountRate5 = discountRate5;
    }
}