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 13... Line 13...
13
    @Id
13
    @Id
14
    @GeneratedValue(strategy = GenerationType.IDENTITY)
14
    @GeneratedValue(strategy = GenerationType.IDENTITY)
15
    @Column(name = "id")
15
    @Column(name = "id")
16
    private int id;
16
    private int id;
17
 
17
 
18
    @Column(name = "warehouse_id")
18
    @Column(name = "restricted")
19
    private Integer warehouseId;
19
    private Boolean restricted;
20
 
20
 
21
    @Column(name = "catalog_id")
21
    @Column(name = "catalog_id")
22
    private Integer catalogId;
22
    private Integer catalogId;
23
 
23
 
24
    @Column(name = "start_date")
24
    @Column(name = "start_date")
Line 65... Line 65...
65
 
65
 
66
    public void setId(int id) {
66
    public void setId(int id) {
67
        this.id = id;
67
        this.id = id;
68
    }
68
    }
69
 
69
 
70
    public Integer getWarehouseId() {
70
    public Boolean getRestricted() {
71
        return warehouseId;
71
        return restricted;
72
    }
72
    }
73
 
73
 
74
    public void setWarehouseId(Integer warehouseId) {
74
    public void setRestricted(Boolean restricted) {
75
        this.warehouseId = warehouseId;
75
        this.restricted = restricted;
76
    }
76
    }
77
 
77
 
78
    public Integer getCatalogId() {
78
    public Integer getCatalogId() {
79
        return catalogId;
79
        return catalogId;
80
    }
80
    }
Line 140... Line 140...
140
    }
140
    }
141
 
141
 
142
    @Override
142
    @Override
143
    public String toString() {
143
    public String toString() {
144
        return "Liquidation{" +
144
        return "Liquidation{" +
145
                "id=" + id +
145
            "id=" + id +
146
                ", warehouseId=" + warehouseId +
146
            ", restricted=" + restricted +
147
                ", catalogId=" + catalogId +
147
            ", catalogId=" + catalogId +
148
                ", startDate=" + startDate +
148
            ", startDate=" + startDate +
149
                ", endDate=" + endDate +
149
            ", endDate=" + endDate +
150
                ", price=" + price +
150
            ", price=" + price +
151
                ", status=" + status +
151
            ", status=" + status +
152
                ", createdBy=" + createdBy +
152
            ", createdBy=" + createdBy +
153
                ", createdAt=" + createdAt +
153
            ", createdAt=" + createdAt +
154
                ", updatedAt=" + updatedAt +
154
            ", updatedAt=" + updatedAt +
155
                '}';
155
        '}';
156
    }
156
    }
157
}
157
}