| 25721 |
tejbeer |
1 |
package com.spice.profitmandi.dao.entity.catalog;
|
|
|
2 |
|
|
|
3 |
import java.io.Serializable;
|
|
|
4 |
import java.time.LocalDateTime;
|
|
|
5 |
|
|
|
6 |
import javax.persistence.Column;
|
|
|
7 |
import javax.persistence.Entity;
|
|
|
8 |
import javax.persistence.Id;
|
|
|
9 |
import javax.persistence.Table;
|
|
|
10 |
|
|
|
11 |
@Entity
|
|
|
12 |
@Table(name = "catalog.focused_model", schema = "catalog")
|
|
|
13 |
public class FocusedModel implements Serializable {
|
|
|
14 |
|
|
|
15 |
private static final long serialVersionUID = 1L;
|
|
|
16 |
|
|
|
17 |
@Id
|
|
|
18 |
@Column(name = "catalog_id", columnDefinition = "int(11)")
|
|
|
19 |
private int catalogId;
|
|
|
20 |
|
|
|
21 |
@Column(name = "recommended_qty")
|
|
|
22 |
private int recommendedQty;
|
|
|
23 |
|
|
|
24 |
@Column(name = "minimum_qty")
|
|
|
25 |
private int minimumQty;
|
|
|
26 |
|
|
|
27 |
@Column(name = "created_timestamp")
|
|
|
28 |
private LocalDateTime createdTimestamp;
|
|
|
29 |
|
|
|
30 |
public int getCatalogId() {
|
|
|
31 |
return catalogId;
|
|
|
32 |
}
|
|
|
33 |
|
|
|
34 |
public LocalDateTime getCreatedTimestamp() {
|
|
|
35 |
return createdTimestamp;
|
|
|
36 |
}
|
|
|
37 |
|
|
|
38 |
public void setCreatedTimestamp(LocalDateTime createdTimestamp) {
|
|
|
39 |
this.createdTimestamp = createdTimestamp;
|
|
|
40 |
}
|
|
|
41 |
|
|
|
42 |
public void setCatalogId(int catalogId) {
|
|
|
43 |
this.catalogId = catalogId;
|
|
|
44 |
}
|
|
|
45 |
|
|
|
46 |
public int getRecommendedQty() {
|
|
|
47 |
return recommendedQty;
|
|
|
48 |
}
|
|
|
49 |
|
|
|
50 |
public void setRecommendedQty(int recommendedQty) {
|
|
|
51 |
this.recommendedQty = recommendedQty;
|
|
|
52 |
}
|
|
|
53 |
|
|
|
54 |
public int getMinimumQty() {
|
|
|
55 |
return minimumQty;
|
|
|
56 |
}
|
|
|
57 |
|
|
|
58 |
public void setMinimumQty(int minimumQty) {
|
|
|
59 |
this.minimumQty = minimumQty;
|
|
|
60 |
}
|
|
|
61 |
|
|
|
62 |
public static long getSerialversionuid() {
|
|
|
63 |
return serialVersionUID;
|
|
|
64 |
}
|
|
|
65 |
|
|
|
66 |
@Override
|
|
|
67 |
public String toString() {
|
|
|
68 |
return "FocusedModel [catalogId=" + catalogId + ", recommendedQty=" + recommendedQty + ", minimumQty="
|
|
|
69 |
+ minimumQty + ", createdTimestamp=" + createdTimestamp + "]";
|
|
|
70 |
}
|
|
|
71 |
|
|
|
72 |
}
|