|
@@ -1,12 +1,5 @@
|
|
|
package com.ydd.common.core.domain.entity;
|
|
|
|
|
|
-import java.util.Date;
|
|
|
-import java.util.List;
|
|
|
-import javax.validation.constraints.Email;
|
|
|
-import javax.validation.constraints.NotBlank;
|
|
|
-import javax.validation.constraints.Size;
|
|
|
-import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
-import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
import com.ydd.common.annotation.Excel;
|
|
@@ -14,6 +7,14 @@ import com.ydd.common.annotation.Excel.ColumnType;
|
|
|
import com.ydd.common.annotation.Excel.Type;
|
|
|
import com.ydd.common.annotation.Excels;
|
|
|
import com.ydd.common.core.domain.BaseEntity;
|
|
|
+import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
+import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
+
|
|
|
+import javax.validation.constraints.Email;
|
|
|
+import javax.validation.constraints.NotBlank;
|
|
|
+import javax.validation.constraints.Size;
|
|
|
+import java.util.Date;
|
|
|
+import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* 用户对象 sys_user
|
|
@@ -100,6 +101,16 @@ public class SysUser extends BaseEntity
|
|
|
/** 岗位组 */
|
|
|
private Long[] postIds;
|
|
|
|
|
|
+ /**
|
|
|
+ * 符合条件的用户id
|
|
|
+ */
|
|
|
+ private List<Long> userIds;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 符合条件的代理商id
|
|
|
+ */
|
|
|
+ private List<Long> agentIds;
|
|
|
+
|
|
|
public Integer getType() {
|
|
|
return type;
|
|
|
}
|
|
@@ -340,6 +351,22 @@ public class SysUser extends BaseEntity
|
|
|
this.dadaDspId = dadaDspId;
|
|
|
}
|
|
|
|
|
|
+ public List<Long> getUserIds() {
|
|
|
+ return userIds;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setUserIds(List<Long> userIds) {
|
|
|
+ this.userIds = userIds;
|
|
|
+ }
|
|
|
+
|
|
|
+ public List<Long> getAgentIds() {
|
|
|
+ return agentIds;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAgentIds(List<Long> agentIds) {
|
|
|
+ this.agentIds = agentIds;
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
public String toString() {
|
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|