Class Person

  • All Implemented Interfaces:
    Serializable, org.beangle.commons.entity.Entity<Long>, org.beangle.commons.entity.TimeEntity

    @Entity(name="org.openurp.base.model.Person")
    public class Person
    extends org.beangle.commons.entity.pojo.NumberIdTimeObject<Long>
    学生基本信息
    Since:
    2011-10-12
    See Also:
    Serialized Form
    • 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
        籍贯
    • Constructor Detail

      • Person

        public Person()
    • 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)
      • setPoliticalStatus

        public void setPoliticalStatus​(PoliticalStatus politicalStatus)