Subversion Repositories SmartDukaan

Rev

Rev 34196 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34196 Rev 34213
Line 7... Line 7...
7
/**
7
/**
8
 * @author amit
8
 * @author amit
9
 *
9
 *
10
 */
10
 */
11
@Entity
11
@Entity
12
@Table(name = "transaction.loan_transaction")
12
@Table(name = "transaction.loan_transaction",uniqueConstraints = {@UniqueConstraint(columnNames = {"loan_id","transaction_id"})})
13
public class LoanTransaction implements Serializable {
13
public class LoanTransaction implements Serializable {
14
 
14
 
15
	@Id
15
	@Id
16
	@Column(name = "id", unique = true, updatable = false)
16
	@Column(name = "id", unique = true, updatable = false)
17
	@GeneratedValue(strategy = GenerationType.IDENTITY)
17
	@GeneratedValue(strategy = GenerationType.IDENTITY)