Rev 30031 | 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.brands_limit", schema = "dtr")public class BrandLimit {@Id@Column(name = "id", unique = false, updatable = false)@GeneratedValue(strategy = GenerationType.IDENTITY)private int id;@Column(name = "brand_name")private String brandName;@Column(name = "brand_limit")private float brandLimit;@Column(name = "created_time_stamp")private LocalDateTime createdTimestamp;@Column(name = "updated_time_stamp")private LocalDateTime updatedTimestamp;public int getId() {return id;}public void setId(int id) {this.id = id;}public String getBrandName() {return brandName;}public void setBrandName(String brandName) {this.brandName = brandName;}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;}@Overridepublic String toString() {return "BrandLimit [id=" + id + ", brandName=" + brandName + ", brandLimit=" + brandLimit+ ", createdTimestamp=" + createdTimestamp + ", updatedTimestamp=" + updatedTimestamp + "]";}public BrandLimit() {super();// TODO Auto-generated constructor stub}}