|
|
@@ -1,10 +1,4 @@
|
|
|
package com.hotent.uc.model;
|
|
|
-import io.swagger.annotations.ApiModel;
|
|
|
-import io.swagger.annotations.ApiModelProperty;
|
|
|
-
|
|
|
-import java.util.Map;
|
|
|
-
|
|
|
-import org.apache.commons.lang.builder.ToStringBuilder;
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
@@ -13,6 +7,11 @@ import com.hotent.uc.api.constant.GroupStructEnum;
|
|
|
import com.hotent.uc.api.constant.GroupTypeConstant;
|
|
|
import com.hotent.uc.api.model.IGroup;
|
|
|
import com.hotent.uc.api.model.IdentityType;
|
|
|
+import io.swagger.annotations.ApiModel;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
+import org.apache.commons.lang.builder.ToStringBuilder;
|
|
|
+
|
|
|
+import java.util.Map;
|
|
|
|
|
|
|
|
|
|
|
|
@@ -225,6 +224,22 @@ public class Org extends UcBaseModel<Org> implements IGroup{
|
|
|
@ApiModelProperty(name = "extSetting", notes = "是否有外部系统配置 0=无1=有")
|
|
|
protected String extSetting;
|
|
|
|
|
|
+ @TableField("DATA_SCOPE")
|
|
|
+ @ApiModelProperty(name="dataScope",notes="人员(数据)级别0:省,1:市,2:区(县)")
|
|
|
+ private Integer dataScope;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "所属省")
|
|
|
+ @TableField("PROVINCE_CODE")
|
|
|
+ private String provinceCode;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "所属市")
|
|
|
+ @TableField("CITY_CODE")
|
|
|
+ private String cityCode;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "所属区、县")
|
|
|
+ @TableField("COUNTY_CODE")
|
|
|
+ private String countyCode;
|
|
|
+
|
|
|
public String getExtSetting() {
|
|
|
return extSetting;
|
|
|
}
|
|
|
@@ -530,4 +545,44 @@ public class Org extends UcBaseModel<Org> implements IGroup{
|
|
|
public void setSuperiorDep(Org superiorDep) {
|
|
|
this.superiorDep = superiorDep;
|
|
|
}
|
|
|
+
|
|
|
+ public Integer getDataScope() {
|
|
|
+ return dataScope;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setDataScope(Integer dataScope) {
|
|
|
+ this.dataScope = dataScope;
|
|
|
+ }
|
|
|
+
|
|
|
+ public int getIsIsParent() {
|
|
|
+ return isIsParent;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setIsIsParent(int isIsParent) {
|
|
|
+ this.isIsParent = isIsParent;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getProvinceCode() {
|
|
|
+ return provinceCode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setProvinceCode(String provinceCode) {
|
|
|
+ this.provinceCode = provinceCode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getCityCode() {
|
|
|
+ return cityCode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCityCode(String cityCode) {
|
|
|
+ this.cityCode = cityCode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getCountyCode() {
|
|
|
+ return countyCode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCountyCode(String countyCode) {
|
|
|
+ this.countyCode = countyCode;
|
|
|
+ }
|
|
|
}
|