Subversion Repositories SmartDukaan

Rev

Rev 34387 | Rev 34443 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34387 Rev 34405
Line 7... Line 7...
7
 
7
 
8
public class LiquidationModel {
8
public class LiquidationModel {
9
 
9
 
10
    private Integer id;
10
    private Integer id;
11
    private Integer catalogId;
11
    private Integer catalogId;
12
    private Integer warehouseId;
12
    private Boolean restricted;
13
    private LocalDate startDate;
13
    private LocalDate startDate;
14
    private LocalDate endDate;
14
    private LocalDate endDate;
15
    private BigDecimal price;
15
    private BigDecimal price;
16
    private Liquidation.Status status;
16
    private Liquidation.Status status;
17
 
17
 
Line 29... Line 29...
29
 
29
 
30
    public void setCatalogId(Integer catalogId) {
30
    public void setCatalogId(Integer catalogId) {
31
        this.catalogId = catalogId;
31
        this.catalogId = catalogId;
32
    }
32
    }
33
 
33
 
34
    public Integer getWarehouseId() {
34
    public Boolean getRestricted() {
35
        return warehouseId;
35
        return restricted;
36
    }
36
    }
37
 
37
 
38
    public void setWarehouseId(Integer warehouseId) {
38
    public void setRestricted(Boolean restricted) {
39
        this.warehouseId = warehouseId;
39
        this.restricted = restricted;
40
    }
40
    }
41
 
41
 
42
    public LocalDate getStartDate() {
42
    public LocalDate getStartDate() {
43
        return startDate;
43
        return startDate;
44
    }
44
    }
Line 74... Line 74...
74
    @Override
74
    @Override
75
    public String toString() {
75
    public String toString() {
76
        return "LiquidationModel{" +
76
        return "LiquidationModel{" +
77
                "id=" + id +
77
                "id=" + id +
78
                ", catalogId=" + catalogId +
78
                ", catalogId=" + catalogId +
79
                ", warehouseId=" + warehouseId +
79
                ", restricted=" + restricted +
80
                ", startDate=" + startDate +
80
                ", startDate=" + startDate +
81
                ", endDate=" + endDate +
81
                ", endDate=" + endDate +
82
                ", price=" + price +
82
                ", price=" + price +
83
                ", status=" + status +
83
                ", status=" + status +
84
                '}';
84
                '}';