Subversion Repositories SmartDukaan

Rev

Rev 37254 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 37254 Rev 37268
Line 30... Line 30...
30
 
30
 
31
    @Column(name = "item_condition")
31
    @Column(name = "item_condition")
32
    @Enumerated(EnumType.STRING)
32
    @Enumerated(EnumType.STRING)
33
    private HotDealCondition itemCondition;
33
    private HotDealCondition itemCondition;
34
 
34
 
-
 
35
    /** true = device unused/sealed ("Fresh"); replaces the old inverted "activated" term. */
35
    @Column(name = "activated")
36
    @Column(name = "fresh")
36
    private boolean activated;
37
    private boolean fresh;
37
 
38
 
38
    @Column(name = "finance_mapping")
39
    @Column(name = "finance_mapping")
39
    private boolean financeMapping;
40
    private boolean financeMapping;
40
 
41
 
41
    @Column(name = "affordability")
42
    @Column(name = "affordability")
Line 172... Line 173...
172
 
173
 
173
    public void setItemCondition(HotDealCondition itemCondition) {
174
    public void setItemCondition(HotDealCondition itemCondition) {
174
        this.itemCondition = itemCondition;
175
        this.itemCondition = itemCondition;
175
    }
176
    }
176
 
177
 
177
    public boolean isActivated() {
178
    public boolean isFresh() {
178
        return activated;
179
        return fresh;
179
    }
180
    }
180
 
181
 
181
    public void setActivated(boolean activated) {
182
    public void setFresh(boolean fresh) {
182
        this.activated = activated;
183
        this.fresh = fresh;
183
    }
184
    }
184
 
185
 
185
    public boolean isFinanceMapping() {
186
    public boolean isFinanceMapping() {
186
        return financeMapping;
187
        return financeMapping;
187
    }
188
    }