Package org.openurp.people.base.model
Class Person
- java.lang.Object
-
- org.beangle.commons.entity.pojo.NumberIdObject<T>
-
- org.beangle.commons.entity.pojo.NumberIdTimeObject<Long>
-
- org.openurp.people.base.model.Person
-
- All Implemented Interfaces:
Serializable,org.beangle.commons.entity.Entity<Long>,org.beangle.commons.entity.TimeEntity
@Entity(name="org.openurp.people.base.model.Person") public class Person extends org.beangle.commons.entity.pojo.NumberIdTimeObject<Long>
学生基本信息- Since:
- 2011-10-12
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Datebirthday出生年月protected Stringcode人员编码protected Countrycountry国家地区protected StringformatedName姓名protected StringformerName曾用名protected Gendergender性别protected StringhomeTown籍贯protected IdTypeidTypeprotected Nationnation民族 留学生使用外国民族protected StringphoneticName英文名
-
Constructor Summary
Constructors Constructor Description Person()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetBirthday()StringgetCode()CountrygetCountry()StringgetFormatedName()StringgetFormerName()GendergetGender()StringgetHomeTown()IdTypegetIdType()StringgetName()NationgetNation()StringgetPhoneticName()voidsetBirthday(Date birthday)voidsetCode(String code)voidsetCountry(Country country)voidsetFormatedName(String name)voidsetFormerName(String oldname)voidsetGender(Gender gender)voidsetHomeTown(String homeTown)voidsetIdType(IdType idType)voidsetNation(Nation nation)voidsetPhoneticName(String enName)-
Methods inherited from class org.beangle.commons.entity.pojo.NumberIdTimeObject
getUpdatedAt, setUpdatedAt
-
-
-
-
Field Detail
-
code
@NotNull @Size(max=32) protected String code
人员编码
-
formatedName
@NotNull protected String formatedName
姓名
-
phoneticName
@Size(max=255) protected String phoneticName
英文名
-
formerName
protected String formerName
曾用名
-
gender
@NotNull protected Gender gender
性别
-
birthday
protected Date birthday
出生年月
-
idType
@NotNull protected IdType idType
-
country
protected Country country
国家地区
-
nation
protected Nation nation
民族 留学生使用外国民族
-
homeTown
protected String homeTown
籍贯
-
-
Method Detail
-
getCode
public String getCode()
-
setCode
public void setCode(String code)
-
getFormerName
public String getFormerName()
-
getName
public String getName()
-
setFormerName
public void setFormerName(String oldname)
-
getBirthday
public Date getBirthday()
-
setBirthday
public void setBirthday(Date birthday)
-
getIdType
public IdType getIdType()
-
setIdType
public void setIdType(IdType idType)
-
getCountry
public Country getCountry()
-
setCountry
public void setCountry(Country country)
-
getNation
public Nation getNation()
-
setNation
public void setNation(Nation nation)
-
getFormatedName
public String getFormatedName()
-
setFormatedName
public void setFormatedName(String name)
-
getPhoneticName
public String getPhoneticName()
-
setPhoneticName
public void setPhoneticName(String enName)
-
getGender
public Gender getGender()
-
setGender
public void setGender(Gender gender)
-
getHomeTown
public String getHomeTown()
-
setHomeTown
public void setHomeTown(String homeTown)
-
-