Rev 28272 | Rev 30044 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.entity.dtr;import java.time.LocalDateTime;import javax.persistence.Column;import javax.persistence.Entity;import javax.persistence.GeneratedValue;import javax.persistence.GenerationType;import javax.persistence.Id;import javax.persistence.Table;@Entity@Table(name = "dtr.retailer_brands_limit", schema = "dtr")public class RetailerBrandsLimit {@Id@Column(name = "id", unique = false, updatable = false)@GeneratedValue(strategy = GenerationType.IDENTITY)private int id;@Column(name = "brand_name")private String brandName;@Column(name = "is_update")private int isUpdate;@Column(name = "partner_id")private int partnerId;@Column(name = "brand_limit")private float brandLimit;@Column(name = "min_stock_limit")private float minStockLimit;@Column(name = "create_timestamp")private LocalDateTime createdTimestamp;@Column(name = "updated_timestamp")private LocalDateTime updatedTimestamp;public String getBrandName() {return brandName;}public float getMinStockLimit() {return minStockLimit;}public void setMinStockLimit(float minStockLimit) {this.minStockLimit = minStockLimit;}public void setBrandName(String brandName) {this.brandName = brandName;}public int getPartnerId() {return partnerId;}public void setPartnerId(int partnerId) {this.partnerId = partnerId;}public float getBrandLimit() {return brandLimit;}public void setBrandLimit(float brandLimit) {this.brandLimit = brandLimit;}public LocalDateTime getCreatedTimestamp() {return createdTimestamp;}public void setCreatedTimestamp(LocalDateTime createdTimestamp) {this.createdTimestamp = createdTimestamp;}public LocalDateTime getUpdatedTimestamp() {return updatedTimestamp;}public void setUpdatedTimestamp(LocalDateTime updatedTimestamp) {this.updatedTimestamp = updatedTimestamp;}public int getId() {return id;}public void setId(int id) {this.id = id;}public int getIsUpdate() {return isUpdate;}public void setIsUpdate(int isUpdate) {this.isUpdate = isUpdate;}@Overridepublic String toString() {return "RetailerBrandsLimit [id=" + id + ", brandName=" + brandName + ", isUpdate=" + isUpdate + ", partnerId="+ partnerId + ", brandLimit=" + brandLimit + ", minStockLimit=" + minStockLimit + ", createdTimestamp="+ createdTimestamp + ", updatedTimestamp=" + updatedTimestamp + "]";}public RetailerBrandsLimit() {super();}}