Subversion Repositories SmartDukaan

Rev

Rev 21602 | 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;

import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.spice.profitmandi.dao.enumuration.AccountType;

@Entity
@Table(name="user_accounts",schema="dtr")
public class UserAccounts{
        /**
         * 
         */     
        @Id
        @GeneratedValue(strategy=GenerationType.IDENTITY)
        private int id;
        private int user_id;
        @Enumerated(EnumType.STRING)
        private AccountType account_type ;
        private String account_key;
        
        public int getId() {
                return id;
        }
        public void setId(int id) {
                this.id = id;
        }
        public int getUser_id() {
                return user_id;
        }
        public void setUser_id(int user_id) {
                this.user_id = user_id;
        }
        public AccountType getAccount_type() {
                return account_type;
        }
        public void setAccount_type(AccountType account_type) {
                this.account_type = account_type;
        }
        public String getAccount_key() {
                return account_key;
        }
        public void setAccount_key(String account_key) {
                this.account_key = account_key;
        }
        
}