package com.goafanti.common.model;

public class OrganizationContactBook {

	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.id
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	private String id;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.uid
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	private String uid;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.name
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	private String name;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.sex
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	private String sex;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.mobile
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	private String mobile;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.email
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	private String email;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.qq
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	private String qq;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.wechat
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	private String wechat;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.department
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	private String department;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.position
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	private String position;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.tel_num
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	private String telNum;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.major
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	private Integer major;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.aid
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	private String aid;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.fixed_tel
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	private String fixedTel;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.aname
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	private String aname;

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.id
	 * @return  the value of organization_contact_book.id
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public String getId() {
		return id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.id
	 * @param id  the value for organization_contact_book.id
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.uid
	 * @return  the value of organization_contact_book.uid
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public String getUid() {
		return uid;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.uid
	 * @param uid  the value for organization_contact_book.uid
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public void setUid(String uid) {
		this.uid = uid;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.name
	 * @return  the value of organization_contact_book.name
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public String getName() {
		return name;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.name
	 * @param name  the value for organization_contact_book.name
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.sex
	 * @return  the value of organization_contact_book.sex
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public String getSex() {
		return sex;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.sex
	 * @param sex  the value for organization_contact_book.sex
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public void setSex(String sex) {
		this.sex = sex;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.mobile
	 * @return  the value of organization_contact_book.mobile
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public String getMobile() {
		return mobile;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.mobile
	 * @param mobile  the value for organization_contact_book.mobile
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.email
	 * @return  the value of organization_contact_book.email
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.email
	 * @param email  the value for organization_contact_book.email
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.qq
	 * @return  the value of organization_contact_book.qq
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public String getQq() {
		return qq;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.qq
	 * @param qq  the value for organization_contact_book.qq
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public void setQq(String qq) {
		this.qq = qq;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.wechat
	 * @return  the value of organization_contact_book.wechat
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public String getWechat() {
		return wechat;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.wechat
	 * @param wechat  the value for organization_contact_book.wechat
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public void setWechat(String wechat) {
		this.wechat = wechat;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.department
	 * @return  the value of organization_contact_book.department
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public String getDepartment() {
		return department;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.department
	 * @param department  the value for organization_contact_book.department
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public void setDepartment(String department) {
		this.department = department;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.position
	 * @return  the value of organization_contact_book.position
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public String getPosition() {
		return position;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.position
	 * @param position  the value for organization_contact_book.position
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public void setPosition(String position) {
		this.position = position;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.tel_num
	 * @return  the value of organization_contact_book.tel_num
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public String getTelNum() {
		return telNum;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.tel_num
	 * @param telNum  the value for organization_contact_book.tel_num
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public void setTelNum(String telNum) {
		this.telNum = telNum;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.major
	 * @return  the value of organization_contact_book.major
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public Integer getMajor() {
		return major;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.major
	 * @param major  the value for organization_contact_book.major
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public void setMajor(Integer major) {
		this.major = major;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.aid
	 * @return  the value of organization_contact_book.aid
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public String getAid() {
		return aid;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.aid
	 * @param aid  the value for organization_contact_book.aid
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public void setAid(String aid) {
		this.aid = aid;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.fixed_tel
	 * @return  the value of organization_contact_book.fixed_tel
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public String getFixedTel() {
		return fixedTel;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.fixed_tel
	 * @param fixedTel  the value for organization_contact_book.fixed_tel
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public void setFixedTel(String fixedTel) {
		this.fixedTel = fixedTel;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column organization_contact_book.aname
	 * @return  the value of organization_contact_book.aname
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public String getAname() {
		return aname;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.aname
	 * @param aname  the value for organization_contact_book.aname
	 * @mbg.generated  Fri Jun 05 08:58:43 CST 2020
	 */
	public void setAname(String aname) {
		this.aname = aname;
	}
	
	private String provinceName;
	private String cityName;
	private String areaName;
	private String createTimes;

	@Override  
    public boolean equals(Object arg0) {  
    	OrganizationContactBook p = (OrganizationContactBook) arg0;  
        return name.equals(p.name) && name.equals(p.name);  
    }  
      
    @Override  
    public int hashCode() {  
        String str = name + mobile;  
        return str.hashCode();  
    }

	public String getProvinceName() {
		return provinceName;
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public String getCreateTimes() {
		return createTimes;
	}

	public void setCreateTimes(String createTimes) {
		this.createTimes = createTimes;
	}  
}