瀏覽代碼

删除联系人表remarks字段

liliang4869 7 年之前
父節點
當前提交
e8ff277c89

+ 8 - 19
src/main/java/com/goafanti/common/mapper/OrganizationContactBookMapper.xml

@@ -17,7 +17,6 @@
     <result column="wechat" jdbcType="VARCHAR" property="wechat" />
     <result column="department" jdbcType="VARCHAR" property="department" />
     <result column="position" jdbcType="VARCHAR" property="position" />
-    <result column="remarks" jdbcType="VARCHAR" property="remarks" />
     <result column="tel_num" jdbcType="VARCHAR" property="telNum" />
     <result column="major" jdbcType="INTEGER" property="major" />
     <result column="aid" jdbcType="VARCHAR" property="aid" />
@@ -96,7 +95,7 @@
       This element is automatically generated by MyBatis Generator, do not modify.
       This element was generated on Tue Jun 12 16:31:20 CST 2018.
     -->
-    id, uid, name, sex, mobile, email, qq, wechat, department, position, remarks, tel_num, 
+    id, uid, name, sex, mobile, email, qq, wechat, department, position,  tel_num, 
     major, aid
   </sql>
   <select id="selectByExample" parameterType="com.goafanti.common.model.OrganizationContactBookExample" resultMap="BaseResultMap">
@@ -158,12 +157,12 @@
     insert into organization_contact_book (id, uid, name, 
       sex, mobile, email, qq, 
       wechat, department, position, 
-      remarks, tel_num, major, 
+    tel_num, major, 
       aid)
     values (#{id,jdbcType=VARCHAR}, #{uid,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, 
       #{sex,jdbcType=CHAR}, #{mobile,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{qq,jdbcType=VARCHAR}, 
       #{wechat,jdbcType=VARCHAR}, #{department,jdbcType=VARCHAR}, #{position,jdbcType=VARCHAR}, 
-      #{remarks,jdbcType=VARCHAR}, #{telNum,jdbcType=VARCHAR}, #{major,jdbcType=INTEGER}, 
+      #{telNum,jdbcType=VARCHAR}, #{major,jdbcType=INTEGER}, 
       #{aid,jdbcType=VARCHAR})
   </insert>
   <insert id="insertSelective" parameterType="com.goafanti.common.model.OrganizationContactBook">
@@ -204,9 +203,7 @@
       <if test="position != null">
         position,
       </if>
-      <if test="remarks != null">
-        remarks,
-      </if>
+    
       <if test="telNum != null">
         tel_num,
       </if>
@@ -248,9 +245,7 @@
       <if test="position != null">
         #{position,jdbcType=VARCHAR},
       </if>
-      <if test="remarks != null">
-        #{remarks,jdbcType=VARCHAR},
-      </if>
+     
       <if test="telNum != null">
         #{telNum,jdbcType=VARCHAR},
       </if>
@@ -311,9 +306,7 @@
       <if test="record.position != null">
         position = #{record.position,jdbcType=VARCHAR},
       </if>
-      <if test="record.remarks != null">
-        remarks = #{record.remarks,jdbcType=VARCHAR},
-      </if>
+   
       <if test="record.telNum != null">
         tel_num = #{record.telNum,jdbcType=VARCHAR},
       </if>
@@ -345,7 +338,6 @@
       wechat = #{record.wechat,jdbcType=VARCHAR},
       department = #{record.department,jdbcType=VARCHAR},
       position = #{record.position,jdbcType=VARCHAR},
-      remarks = #{record.remarks,jdbcType=VARCHAR},
       tel_num = #{record.telNum,jdbcType=VARCHAR},
       major = #{record.major,jdbcType=INTEGER},
       aid = #{record.aid,jdbcType=VARCHAR}
@@ -388,9 +380,7 @@
       <if test="position != null">
         position = #{position,jdbcType=VARCHAR},
       </if>
-      <if test="remarks != null">
-        remarks = #{remarks,jdbcType=VARCHAR},
-      </if>
+   
       <if test="telNum != null">
         tel_num = #{telNum,jdbcType=VARCHAR},
       </if>
@@ -419,7 +409,6 @@
       wechat = #{wechat,jdbcType=VARCHAR},
       department = #{department,jdbcType=VARCHAR},
       position = #{position,jdbcType=VARCHAR},
-      remarks = #{remarks,jdbcType=VARCHAR},
       tel_num = #{telNum,jdbcType=VARCHAR},
       major = #{major,jdbcType=INTEGER},
       aid = #{aid,jdbcType=VARCHAR}
@@ -451,7 +440,7 @@
   </update>
   
   <select id="selectContactByUid" resultType="com.goafanti.user.bo.UserContactBo">
-  	select id,name,mobile,email,qq,wechat,department,position,major,remarks from organization_contact_book
+  	select id,name,mobile,email,qq,wechat,department,position,major from organization_contact_book
 	where uid = #{uid,jdbcType=VARCHAR}
   </select>
 </mapper>

+ 322 - 338
src/main/java/com/goafanti/common/model/OrganizationContactBook.java

@@ -1,339 +1,323 @@
-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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	private String id;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.uid
-	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
-	 */
-	private String uid;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.name
-	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
-	 */
-	private String name;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.sex
-	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
-	 */
-	private String sex;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.mobile
-	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
-	 */
-	private String mobile;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.email
-	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
-	 */
-	private String email;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.qq
-	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
-	 */
-	private String qq;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.wechat
-	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
-	 */
-	private String wechat;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.department
-	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
-	 */
-	private String department;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.position
-	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
-	 */
-	private String position;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.remarks
-	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
-	 */
-	private String remarks;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.tel_num
-	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
-	 */
-	private String telNum;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.major
-	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
-	 */
-	private Integer major;
-	/**
-	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.aid
-	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
-	 */
-	private String aid;
-
-	/**
-	 * 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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	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.remarks
-	 * @return  the value of organization_contact_book.remarks
-	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
-	 */
-	public String getRemarks() {
-		return remarks;
-	}
-
-	/**
-	 * This method was generated by MyBatis Generator. This method sets the value of the database column organization_contact_book.remarks
-	 * @param remarks  the value for organization_contact_book.remarks
-	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
-	 */
-	public void setRemarks(String remarks) {
-		this.remarks = remarks;
-	}
-
-	/**
-	 * 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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	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  Tue Jun 12 16:31:20 CST 2018
-	 */
-	public void setAid(String aid) {
-		this.aid = aid;
-	}
-
-	@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();  
-    }  
+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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	private String id;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.uid
+	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
+	 */
+	private String uid;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.name
+	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
+	 */
+	private String name;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.sex
+	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
+	 */
+	private String sex;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.mobile
+	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
+	 */
+	private String mobile;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.email
+	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
+	 */
+	private String email;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.qq
+	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
+	 */
+	private String qq;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.wechat
+	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
+	 */
+	private String wechat;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.department
+	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
+	 */
+	private String department;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.position
+	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
+	 */
+	private String position;
+
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.tel_num
+	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
+	 */
+	private String telNum;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.major
+	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
+	 */
+	private Integer major;
+	/**
+	 * This field was generated by MyBatis Generator. This field corresponds to the database column organization_contact_book.aid
+	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
+	 */
+	private String aid;
+
+	/**
+	 * 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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	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.remarks
+	 * @return  the value of organization_contact_book.remarks
+	 * @mbg.generated  Tue Jun 12 16:31:20 CST 2018
+	 */
+	
+	/**
+	 * 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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	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  Tue Jun 12 16:31:20 CST 2018
+	 */
+	public void setAid(String aid) {
+		this.aid = aid;
+	}
+
+	@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();  
+    }  
 }