Subversion Repositories SmartDukaan

Rev

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

Rev 25544 Rev 25545
Line 1... Line 1...
1
package com.spice.profitmandi.dao.entity.transaction;
1
package com.spice.profitmandi.dao.entity.transaction;
2
 
2
 
3
import java.time.LocalDateTime;
-
 
4
 
-
 
5
import javax.persistence.Column;
3
import javax.persistence.Column;
6
import javax.persistence.Entity;
4
import javax.persistence.Entity;
7
import javax.persistence.GeneratedValue;
5
import javax.persistence.GeneratedValue;
8
import javax.persistence.GenerationType;
6
import javax.persistence.GenerationType;
9
import javax.persistence.Id;
7
import javax.persistence.Id;
Line 15... Line 13...
15
 
13
 
16
@Entity
14
@Entity
17
@Table(name="transaction.userwallet",schema="transaction")
15
@Table(name="transaction.userwallet",schema="transaction")
18
public class UserWallet{
16
public class UserWallet{
19
	
17
	
-
 
18
	@Autowired 
20
	@Autowired UserWalletHistoryRepository userWalletHistoryRepository;
19
	UserWalletHistoryRepository userWalletHistoryRepository;
21
	
20
	
22
	@Id
21
	@Id
23
	@GeneratedValue(strategy=GenerationType.IDENTITY)
22
	@GeneratedValue(strategy=GenerationType.IDENTITY)
24
	private int id;
23
	private int id;
25
	private int userId;
24
	private int userId;