Subversion Repositories SmartDukaan

Rev

Rev 28493 | Rev 29004 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 28493 Rev 28988
Line 11... Line 11...
11
import com.spice.profitmandi.dao.enumuration.transaction.OrganisationType;
11
import com.spice.profitmandi.dao.enumuration.transaction.OrganisationType;
12
 
12
 
13
 
13
 
14
@Entity
14
@Entity
15
@Table(name = "transaction.organisation", schema = "transaction")
15
@Table(name = "transaction.organisation", schema = "transaction")
16
public class organisation {
16
public class Organisation {
17
 
17
 
18
	@Id
18
	@Id
19
	@Column(name = "id", unique = true, updatable = false)
19
	@Column(name = "id", unique = true, updatable = false)
20
	@GeneratedValue(strategy = GenerationType.IDENTITY)
20
	@GeneratedValue(strategy = GenerationType.IDENTITY)
21
	private int id;
21
	private int id;
Line 73... Line 73...
73
		this.registeredId = registeredId;
73
		this.registeredId = registeredId;
74
	}
74
	}
75
 
75
 
76
	@Override
76
	@Override
77
	public String toString() {
77
	public String toString() {
78
		return "organisation [id=" + id + ", name=" + name + ", type=" + type + ", address=" + address
78
		return "Organisation [id=" + id + ", name=" + name + ", type=" + type + ", address=" + address
79
				+ ", registeredId=" + registeredId + "]";
79
				+ ", registeredId=" + registeredId + "]";
80
	}
80
	}
81
	
81
	
82
	
82
	
83
	
83