sujinwen
2017-07-25 c7caa54d8d58af6159f2c758ad5d6687d461a333
VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/entity/Department.java
@@ -1,11 +1,12 @@
package cn.com.basic.face.discern.entity;
import java.io.Serializable;
import java.util.Date;
import cn.com.basic.face.discern.common.BaseEntity;
/**
 * Department
 * 向下
 */
public class Department extends BaseEntity implements Serializable {
@@ -17,69 +18,152 @@
      /**
       * 部门主键
       */
      public static final String id = "id";
      public static final String deptId = "deptId";
      /**
       * 部门名称
       */
      public static final String label = "label";
      public static final String deptName = "deptName";
      /**
       * 部门首字母
       */
      public static final String labelSpell = "labelSpell";
      public static final String deptNameEn = "deptNameEn";
      /**
       * 所在公司
       */
      public static final String companyId = "companyId";
      /**
       * 同步时间
       */
      public static final String updateTime = "updateTime";
      /**
       * 是否同步
       */
      public static final String isSynchron = "isSynchron";
      /**
       * 设备所在机构id
       */
      public static final String deviceCompanyId = "deviceCompanyId";
   }
   // 部门主键
   private Integer id;
   private String deptId;
   // 部门名称
   private String label;
   private String deptName;
   // 部门首字母
   private String labelSpell;
   private String deptNameEn;
   // 所在公司
   private String companyId;
   // 同步时间
   private String updateTime;
   // 是否同步
   private String isSynchron;
   // 设备所在机构id
   private String deviceCompanyId;
   /**
    * Get 部门主键
    */
   public Integer getId() {
      return id;
   public String getDeptId() {
      return deptId;
   }
   /**
    * Set 部门主键
    */
   public void setId(Integer id) {
      this.id = id;
   public void setDeptId(String deptId) {
      this.deptId = deptId;
   }
   /**
    * Get 部门名称
    */
   public String getLabel() {
      return label;
   public String getDeptName() {
      return deptName;
   }
   /**
    * Set 部门名称
    */
   public void setLabel(String label) {
      this.label = label;
   public void setDeptName(String deptName) {
      this.deptName = deptName;
   }
   /**
    * Get 部门首字母
    */
   public String getLabelSpell() {
      return labelSpell;
   public String getDeptNameEn() {
      return deptNameEn;
   }
   /**
    * Set 部门首字母
    */
   public void setLabelSpell(String labelSpell) {
      this.labelSpell = labelSpell;
   public void setDeptNameEn(String deptNameEn) {
      this.deptNameEn = deptNameEn;
   }
   /**
    * Get 所在公司
    */
   public String getCompanyId() {
      return companyId;
   }
   /**
    * Set 所在公司
    */
   public void setCompanyId(String companyId) {
      this.companyId = companyId;
   }
   /**
    * Get 同步时间
    */
   public String getUpdateTime() {
      return updateTime;
   }
   /**
    * Set 同步时间
    */
   public void setUpdateTime(String updateTime) {
      this.updateTime = updateTime;
   }
   /**
    * Get 是否同步
    * ,Y--已同步,N--未同步
    */
   public String getIsSynchron() {
      return isSynchron;
   }
   /**
    * Set 是否同步
    * ,Y--已同步,N--未同步
    */
   public void setIsSynchron(String isSynchron) {
      this.isSynchron = isSynchron;
   }
   /**
    * Get 设备所在机构id
    */
   public String getDeviceCompanyId() {
      return deviceCompanyId;
   }
   /**
    * Set 设备所在机构id
    */
   public void setDeviceCompanyId(String deviceCompanyId) {
      this.deviceCompanyId = deviceCompanyId;
   }
   public String toString() {
      return 
          ",部门主键 =" + id         +  ",部门名称 =" + label      +  ",部门首字母 ="+ labelSpell
         ;
          ",部门主键 =" + deptId     +  ",部门名称 =" + deptName   +  ",部门首字母 ="+ deptNameEn +
          ",所在公司 =" + companyId  +  ",同步时间 =" + updateTime +  ",是否同步 =" + isSynchron +
          ",设备所在机构id ="+ deviceCompanyId;
   }
}