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.transaction;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 = "transaction.seller", schema = "transaction")public class Seller {@Id@Column(name = "id", unique = true, updatable = false)@GeneratedValue(strategy = GenerationType.IDENTITY)private int id;@Column(name = "label")private String label;@Column(name = "state_id")private int stateId;@Column(name = "organisation_id")private int organisationId;@Column(name = "address")private String address;@Column(name = "tin")private String tin;@Column(name = "gstin")private String gstin;public int getId() {return id;}public void setId(int id) {this.id = id;}public String getLabel() {return label;}public void setLabel(String label) {this.label = label;}public int getStateId() {return stateId;}public void setStateId(int stateId) {this.stateId = stateId;}public String getTin() {return tin;}public void setTin(String tin) {this.tin = tin;}public String getAddress() {return address;}public void setAddress(String address) {this.address = address;}public int getOrganisationId() {return organisationId;}public void setOrganisationId(int organisationId) {this.organisationId = organisationId;}public String getGstin() {return gstin;}public void setGstin(String gstin) {this.gstin = gstin;}@Overridepublic String toString() {return "Seller [id=" + id + ", label=" + label + ", stateId=" + stateId + ", organisationId=" + organisationId+ ", address=" + address + ", tin=" + tin + ", gstin=" + gstin + "]";}}