net.stepniak.api.auth.entity
Class UserEntity
java.lang.Object
net.stepniak.api.auth.entity.BaseAuthEntity<Long>
net.stepniak.api.auth.entity.UserEntity
- All Implemented Interfaces:
- net.stepniak.api.entities.Pojo
@Entity
public class UserEntity
- extends BaseAuthEntity<Long>
- implements net.stepniak.api.entities.Pojo
userName
public String userName
email
public String email
accountType
public char accountType
UserEntity
public UserEntity()
UserEntity
public UserEntity(String userName,
String email,
net.stepniak.common.user.AccountType accountType)
getName
public String getName()
getEmail
public String getEmail()
getAccountType
public char getAccountType()
getPojos
public net.stepniak.common.pojos.auth.v1.User getPojos()
- Specified by:
getPojos in interface net.stepniak.api.entities.Pojo
getUpdateDate
public Date getUpdateDate()
setUpdateDate
public void setUpdateDate(Date date)
getId
public Long getId()
- Specified by:
getId in class BaseAuthEntity<Long>
setId
public void setId(Long id)
- Specified by:
setId in class BaseAuthEntity<Long>
Copyright © 2013. All Rights Reserved.