Subversion Repositories SmartDukaan

Rev

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

Rev 34443 Rev 34492
Line 1... Line 1...
1
package com.spice.profitmandi.service.catalog;
1
package com.spice.profitmandi.service.catalog;
2
 
2
 
3
import com.spice.profitmandi.common.model.ProfitMandiConstants;
3
import com.spice.profitmandi.common.model.ProfitMandiConstants;
4
import com.spice.profitmandi.dao.entity.catalog.Liquidation;
-
 
5
 
4
 
6
import java.time.LocalDateTime;
5
import java.time.LocalDateTime;
7
 
6
 
8
public class LiquidationModel {
7
public class LiquidationModel {
9
 
8
 
Line 13... Line 12...
13
    private LocalDateTime startDate;
12
    private LocalDateTime startDate;
14
    private LocalDateTime endDate;
13
    private LocalDateTime endDate;
15
    private float price;
14
    private float price;
16
    private ProfitMandiConstants.LIQUIDATION_ENUM status;
15
    private ProfitMandiConstants.LIQUIDATION_ENUM status;
17
    private int quantity;
16
    private int quantity;
-
 
17
    private int incrementStep;
18
 
18
 
19
    public Integer getId() {
19
    public Integer getId() {
20
        return id;
20
        return id;
21
    }
21
    }
22
 
22
 
Line 78... Line 78...
78
 
78
 
79
    public void setStatus(ProfitMandiConstants.LIQUIDATION_ENUM status) {
79
    public void setStatus(ProfitMandiConstants.LIQUIDATION_ENUM status) {
80
        this.status = status;
80
        this.status = status;
81
    }
81
    }
82
 
82
 
-
 
83
    public int getIncrementStep() {
-
 
84
        return incrementStep;
-
 
85
    }
-
 
86
 
-
 
87
    public void setIncrementStep(int incrementStep) {
-
 
88
        this.incrementStep = incrementStep;
-
 
89
    }
-
 
90
 
83
    @Override
91
    @Override
84
    public String toString() {
92
    public String toString() {
85
        return "LiquidationModel{" +
93
        return "LiquidationModel{" +
86
                "id=" + id +
94
                "id=" + id +
87
                ", catalogId=" + catalogId +
95
                ", catalogId=" + catalogId +
Line 89... Line 97...
89
                ", startDate=" + startDate +
97
                ", startDate=" + startDate +
90
                ", endDate=" + endDate +
98
                ", endDate=" + endDate +
91
                ", price=" + price +
99
                ", price=" + price +
92
                ", status=" + status +
100
                ", status=" + status +
93
                ", quantity=" + quantity +
101
                ", quantity=" + quantity +
-
 
102
                ", incrementStep=" + incrementStep +
94
                '}';
103
                '}';
95
    }
104
    }
96
}
105
}