Commit 6f1096d6 by 郭倩芳

common 1.7.8.1 自定义字段类放到common中,统一使用一个自定义类

parent aa7ead48
......@@ -19,7 +19,7 @@ android {
//包含的jar包
include('classes.jar')
//重命名jar包为mysdk
rename('classes.jar', 'sobot_common_x_1.7.6.jar')
rename('classes.jar', 'sobot_common_x_1.7.8.jar')
}
makeJar.dependsOn(build)
}
......
......@@ -12,7 +12,7 @@ task androidSourcesJar(type: Jar) {
ext {
PUBLISH_GROUP_ID = "com.sobot.library" //项目包名
PUBLISH_ARTIFACT_ID = 'sobotcommon_x' //项目名
PUBLISH_VERSION = '1.7.8' //版本号
PUBLISH_VERSION = '1.7.8.1' //版本号
}
......
package com.sobot.common.model;
import java.io.Serializable;
public class SobotBaseDataCode<T> implements Serializable {
private String retCode;
private T data;
private String retMsg;
private String code;
private String msg;
public String getRetCode() {
return retCode;
}
public void setRetCode(String retCode) {
this.retCode = retCode;
}
public T getData() {
return data;
}
public void setData(T data) {
this.data = data;
}
public String getRetMsg() {
return retMsg;
}
public void setRetMsg(String retMsg) {
this.retMsg = retMsg;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getMsg() {
return msg;
}
public void setMsg(String msg) {
this.msg = msg;
}
}
\ No newline at end of file
package com.sobot.common.model;
import java.io.Serializable;
public class SobotBaseDateItemsCode<T> implements Serializable {
private SobotBaseItemsCode<T> data;
private String code;
private String msg;
public SobotBaseItemsCode getData() {
return data;
}
public void setData(SobotBaseItemsCode data) {
this.data = data;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getMsg() {
return msg;
}
public void setMsg(String msg) {
this.msg = msg;
}
}
\ No newline at end of file
package com.sobot.common.model;
import java.io.Serializable;
public class SobotBaseItemCode<T> implements Serializable {
public T item;
public String retMsg;
public String retCode;
public int totalCount;
public T getItem() {
return item;
}
public void setItem(T item) {
this.item = item;
}
public String getRetMsg() {
return retMsg;
}
public void setRetMsg(String retMsg) {
this.retMsg = retMsg;
}
public String getRetCode() {
return retCode;
}
public void setRetCode(String retCode) {
this.retCode = retCode;
}
public int getTotalCount() {
return totalCount;
}
public void setTotalCount(int totalCount) {
this.totalCount = totalCount;
}
}
\ No newline at end of file
package com.sobot.common.model;
import java.io.Serializable;
import java.util.List;
public class SobotBaseItemsCode<T> implements Serializable {
private String retCode;
private String retMsg;
private int totalCount;
private List<T> items;
public String getRetCode() {
return retCode;
}
public void setRetCode(String retCode) {
this.retCode = retCode;
}
public String getRetMsg() {
return retMsg;
}
public void setRetMsg(String retMsg) {
this.retMsg = retMsg;
}
public int getTotalCount() {
return totalCount;
}
public void setTotalCount(int totalCount) {
this.totalCount = totalCount;
}
public List<T> getItems() {
return items;
}
public void setItems(List<T> items) {
this.items = items;
}
}
\ No newline at end of file
package com.sobot.common.model;
import java.io.Serializable;
//组合字段实体类
public class SobotCombinFormField implements Serializable {
/**
* checked : false
* companyId : e6fb17f5af9f4487a8ec7f1f58c972ba
* createId : 1b6d22ab52bc4db99c3c7b055abd3332
* createTime : 1543475161
* dataId : 9febfc1678bf4799a53113fcbd7010f6
* fieldId : 13376ed6680d4e9a8d7d9cb225517bca
* fieldLevel : 1
* fieldName : 实时分类
* fieldStatus : 1
* fieldType : 6
* fieldVariable : customField3
* fillFlag : 0
* isOpenFlag : 1
* nodeFlag : 1
* numericalFlag : 0
* openFlag : 1
* operateType : 32
* optionValueFlag : 1
* parentFieldId : 1df7de037c784ba1a2d68d44cbbb77ad
* queryFlag : 1
* queryShowFlag : 1
* relatedField :
* relatedFlag : 0
* sortNo : 3
* text : 鞋靴
* title : 实时分类
* updateId : 1b6d22ab52bc4db99c3c7b055abd3332
* updateTime : 1544441525
* value : 543475161958938
* workShowFlag : 0
* workSortNo : 1
*/
private String tmpId;
private boolean checked;
private String companyId;
private String createId;
private long createTime;
private String dataId;
private String fieldId;
private int fieldLevel;
private String fieldName;
private int fieldStatus;
private int fieldType;
private String fieldVariable;
private int fillFlag;
private int isOpenFlag;
private int nodeFlag;
private int numericalFlag;
private int openFlag;
private int operateType;
private int optionValueFlag;
private String parentFieldId;
private int queryFlag;
private int queryShowFlag;
private String relatedField;
private int relatedFlag;
private int sortNo;
private String text;
private String title;
private String updateId;
private long updateTime;
private String value;
private int workShowFlag;
private int workSortNo;
private boolean lastItem = false;//组合字段中 一组数据的最后一个设置为1,用来标记删除按钮
private String tmpValue;//如果是数值类型和文本类型,用来存放数据
private String changeValue;//第一二三级字段的数据发生改变后,与之相关的那些字段的数据也要改变,
private boolean clearValue = false;//当前等级的选项发生改变后,是否要清空与之有关系的那些字段的数据
private int authStatus = 1;// 1可读写 2可读 3不可见
public SobotCombinFormField() {
}
public boolean isClearValue() {
return clearValue;
}
public void setClearValue(boolean clearValue) {
this.clearValue = clearValue;
}
public String getChangeValue() {
return changeValue;
}
public void setChangeValue(String changeValue) {
this.changeValue = changeValue;
}
public String getTmpId() {
return tmpId;
}
public void setTmpId(String tmpId) {
this.tmpId = tmpId;
}
public boolean isChecked() {
return checked;
}
public void setChecked(boolean checked) {
this.checked = checked;
}
public String getCompanyId() {
return companyId;
}
public void setCompanyId(String companyId) {
this.companyId = companyId;
}
public String getCreateId() {
return createId;
}
public void setCreateId(String createId) {
this.createId = createId;
}
public long getCreateTime() {
return createTime;
}
public void setCreateTime(long createTime) {
this.createTime = createTime;
}
public String getDataId() {
return dataId;
}
public void setDataId(String dataId) {
this.dataId = dataId;
}
public String getFieldId() {
return fieldId;
}
public void setFieldId(String fieldId) {
this.fieldId = fieldId;
}
public int getFieldLevel() {
return fieldLevel;
}
public void setFieldLevel(int fieldLevel) {
this.fieldLevel = fieldLevel;
}
public String getFieldName() {
return fieldName;
}
public void setFieldName(String fieldName) {
this.fieldName = fieldName;
}
public int getFieldStatus() {
return fieldStatus;
}
public void setFieldStatus(int fieldStatus) {
this.fieldStatus = fieldStatus;
}
public int getFieldType() {
return fieldType;
}
public void setFieldType(int fieldType) {
this.fieldType = fieldType;
}
public String getFieldVariable() {
return fieldVariable;
}
public void setFieldVariable(String fieldVariable) {
this.fieldVariable = fieldVariable;
}
public int getFillFlag() {
return fillFlag;
}
public void setFillFlag(int fillFlag) {
this.fillFlag = fillFlag;
}
public int getIsOpenFlag() {
return isOpenFlag;
}
public void setIsOpenFlag(int isOpenFlag) {
this.isOpenFlag = isOpenFlag;
}
public int getNodeFlag() {
return nodeFlag;
}
public void setNodeFlag(int nodeFlag) {
this.nodeFlag = nodeFlag;
}
public int getNumericalFlag() {
return numericalFlag;
}
public void setNumericalFlag(int numericalFlag) {
this.numericalFlag = numericalFlag;
}
public int getOpenFlag() {
return openFlag;
}
public void setOpenFlag(int openFlag) {
this.openFlag = openFlag;
}
public int getOperateType() {
return operateType;
}
public void setOperateType(int operateType) {
this.operateType = operateType;
}
public int getOptionValueFlag() {
return optionValueFlag;
}
public void setOptionValueFlag(int optionValueFlag) {
this.optionValueFlag = optionValueFlag;
}
public String getParentFieldId() {
return parentFieldId;
}
public void setParentFieldId(String parentFieldId) {
this.parentFieldId = parentFieldId;
}
public int getQueryFlag() {
return queryFlag;
}
public void setQueryFlag(int queryFlag) {
this.queryFlag = queryFlag;
}
public int getQueryShowFlag() {
return queryShowFlag;
}
public void setQueryShowFlag(int queryShowFlag) {
this.queryShowFlag = queryShowFlag;
}
public String getRelatedField() {
return relatedField;
}
public void setRelatedField(String relatedField) {
this.relatedField = relatedField;
}
public int getRelatedFlag() {
return relatedFlag;
}
public void setRelatedFlag(int relatedFlag) {
this.relatedFlag = relatedFlag;
}
public int getSortNo() {
return sortNo;
}
public void setSortNo(int sortNo) {
this.sortNo = sortNo;
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getUpdateId() {
return updateId;
}
public void setUpdateId(String updateId) {
this.updateId = updateId;
}
public long getUpdateTime() {
return updateTime;
}
public void setUpdateTime(long updateTime) {
this.updateTime = updateTime;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
public int getWorkShowFlag() {
return workShowFlag;
}
public void setWorkShowFlag(int workShowFlag) {
this.workShowFlag = workShowFlag;
}
public int getWorkSortNo() {
return workSortNo;
}
public void setWorkSortNo(int workSortNo) {
this.workSortNo = workSortNo;
}
public String getTmpValue() {
return tmpValue;
}
public void setTmpValue(String tmpValue) {
this.tmpValue = tmpValue;
}
public boolean isLastItem() {
return lastItem;
}
public void setLastItem(boolean lastItem) {
this.lastItem = lastItem;
}
public int getAuthStatus() {
return authStatus;
}
public void setAuthStatus(int authStatus) {
this.authStatus = authStatus;
}
@Override
public String toString() {
return "CombinFormField{" +
"tmpId='" + tmpId + '\'' +
", checked=" + checked +
", companyId='" + companyId + '\'' +
", createId='" + createId + '\'' +
", createTime=" + createTime +
", dataId='" + dataId + '\'' +
", fieldId='" + fieldId + '\'' +
", fieldLevel=" + fieldLevel +
", fieldName='" + fieldName + '\'' +
", fieldStatus=" + fieldStatus +
", fieldType=" + fieldType +
", fieldVariable='" + fieldVariable + '\'' +
", fillFlag=" + fillFlag +
", isOpenFlag=" + isOpenFlag +
", nodeFlag=" + nodeFlag +
", numericalFlag=" + numericalFlag +
", openFlag=" + openFlag +
", operateType=" + operateType +
", optionValueFlag=" + optionValueFlag +
", parentFieldId='" + parentFieldId + '\'' +
", queryFlag=" + queryFlag +
", queryShowFlag=" + queryShowFlag +
", relatedField='" + relatedField + '\'' +
", relatedFlag=" + relatedFlag +
", sortNo=" + sortNo +
", text='" + text + '\'' +
", title='" + title + '\'' +
", updateId='" + updateId + '\'' +
", updateTime=" + updateTime +
", value='" + value + '\'' +
", workShowFlag=" + workShowFlag +
", workSortNo=" + workSortNo +
", lastItem=" + lastItem +
", tmpValue='" + tmpValue + '\'' +
", changeValue='" + changeValue + '\'' +
", clearValue=" + clearValue +
", authStatus=" + authStatus +
'}';
}
}
\ No newline at end of file
package com.sobot.common.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
public class SobotCombinFormFieldList implements Serializable {
private SobotCombinFormField combinFormField;
private ArrayList<SobotCusFieldDataInfoList> cusFieldDataInfoList;
private List<SobotGroupFieldItemModel> groupFieldItemModels;
@Override
public String toString() {
return "CombinFormFieldList{" +
"combinFormField=" + combinFormField +
", cusFieldDataInfoList=" + cusFieldDataInfoList +
", groupFieldItemModels=" + groupFieldItemModels +
'}';
}
public List<SobotGroupFieldItemModel> getGroupFieldItemModels() {
return groupFieldItemModels;
}
public void setGroupFieldItemModels(List<SobotGroupFieldItemModel> groupFieldItemModels) {
this.groupFieldItemModels = groupFieldItemModels;
}
public SobotCombinFormField getCombinFormField() {
return combinFormField;
}
public void setCombinFormField(SobotCombinFormField combinFormField) {
this.combinFormField = combinFormField;
}
public ArrayList<SobotCusFieldDataInfoList> getCusFieldDataInfoList() {
return cusFieldDataInfoList;
}
public void setCusFieldDataInfoList(ArrayList<SobotCusFieldDataInfoList> cusFieldDataInfoList) {
this.cusFieldDataInfoList = cusFieldDataInfoList;
}
}
\ No newline at end of file
package com.sobot.common.model;
import java.io.Serializable;
import java.util.List;
/**
* 通过工单分类获取关联的自定义字段实体类
*/
public class SobotCusFieldConfig extends SobotBaseItemCode<SobotCusFieldConfig> implements Serializable {
//"自定义字段ID")
private String fieldId;
//"自定义字段名称")
private String fieldName;
//"自定义字段值")//预设文案
private String fieldValue;
//选项显示的内容
private String fieldText;
//"是否必填 0 否 1 是")
private int fillFlag;
//"自定义字段类型1单行文本 2多行文本 3:日期,需要格式化成yyyy-MM-dd 4时间 5数值 6下拉列表 7复选框 8单选框")
private int fieldType;
//"是否开启 0 关闭 1 开启")
private int openFlag;
//------------
private int authStatus = 1;// 1可读写 2可读 3不可见
private String creationTime;
private String customFieldFlag;
private int displayFlag;
private String fieldVariable;
private String limitChar;
private List<String> limitOptions;
private int numericalFlag;
private int operateType;
private int optionFlag;
private int optionValueFlag;
private int queryFlag;
private int queryShowFlag;
private int relatedFlag;
private int removed;
private int sort;
private int sortNo;
private int validInformationFlag;
private int workShowFlag;
private int workSortNo;
private String templateFieldId;
private String basicType;
private String basicName;
private boolean isCopy;
private String companyId;
private int computedUnit;//1 是相加,2是相乘
private String createId;
private long createTime;
private int fieldLevel;
private int regionalLevel;//地区级别
private String fieldRemark;//字段描述
private int fieldStatus;
private int isOpenFlag;
private String operateUnitId1;//"e1db9834d1ad4e509139ee2d9d7d00a8"
private String operateUnitId2;//"1ca6115e414b47bcb4014fa0571c568c"
private String updateId;
private long updateTime;
private String fieldDataValue;//name
private String temFieldId;//id
private String temDataId;//id
private String summy;//最后合计
private int mustFillFlag;//关单必填 0 默认 没有开启,1 开启
private List<SobotCombinFormFieldList> combinFormFieldList;
private List<SobotCusFieldDataInfoList> cusFieldDataInfoList;
private String text;//地区显示的文本
private boolean isFieldDelete;//字段是否删除 2024.04.15-gqf
private boolean isFieldValueDelete;//选项是否删除 2024.04.15-gqf
public SobotCusFieldConfig() {
}
public boolean isFieldDelete() {
return isFieldDelete;
}
public void setFieldDelete(boolean fieldDelete) {
isFieldDelete = fieldDelete;
}
public boolean isFieldValueDelete() {
return isFieldValueDelete;
}
public void setFieldValueDelete(boolean fieldValueDelete) {
isFieldValueDelete = fieldValueDelete;
}
public int getRegionalLevel() {
return regionalLevel;
}
public void setRegionalLevel(int regionalLevel) {
this.regionalLevel = regionalLevel;
}
public int getIsOpenFlag() {
return isOpenFlag;
}
public void setIsOpenFlag(int isOpenFlag) {
this.isOpenFlag = isOpenFlag;
}
public List<String> getLimitOptions() {
return limitOptions;
}
public String getFieldText() {
return fieldText;
}
public void setFieldText(String fieldText) {
this.fieldText = fieldText;
}
public void setLimitOptions(List<String> limitOptions) {
this.limitOptions = limitOptions;
}
public String getSummy() {
return summy;
}
public void setSummy(String summy) {
this.summy = summy;
}
public String getCompanyId() {
return companyId;
}
public void setCompanyId(String companyId) {
this.companyId = companyId;
}
public int getComputedUnit() {
return computedUnit;
}
public void setComputedUnit(int computedUnit) {
this.computedUnit = computedUnit;
}
public String getCreateId() {
return createId;
}
public void setCreateId(String createId) {
this.createId = createId;
}
public long getCreateTime() {
return createTime;
}
public void setCreateTime(long createTime) {
this.createTime = createTime;
}
public String getFieldId() {
return fieldId;
}
public void setFieldId(String fieldId) {
this.fieldId = fieldId;
}
public int getFieldLevel() {
return fieldLevel;
}
public void setFieldLevel(int fieldLevel) {
this.fieldLevel = fieldLevel;
}
public String getFieldName() {
return fieldName;
}
public void setFieldName(String fieldName) {
this.fieldName = fieldName;
}
public String getFieldRemark() {
return fieldRemark;
}
public void setFieldRemark(String fieldRemark) {
this.fieldRemark = fieldRemark;
}
public int getFieldStatus() {
return fieldStatus;
}
public void setFieldStatus(int fieldStatus) {
this.fieldStatus = fieldStatus;
}
public int getFieldType() {
return fieldType;
}
public void setFieldType(int fieldType) {
this.fieldType = fieldType;
}
public String getFieldVariable() {
return fieldVariable;
}
public void setFieldVariable(String fieldVariable) {
this.fieldVariable = fieldVariable;
}
public int getNumericalFlag() {
return numericalFlag;
}
public void setNumericalFlag(int numericalFlag) {
this.numericalFlag = numericalFlag;
}
public int getFillFlag() {
return fillFlag;
}
public void setFillFlag(int fillFlag) {
this.fillFlag = fillFlag;
}
public int getOpenFlag() {
return openFlag;
}
public void setOpenFlag(int openFlag) {
this.openFlag = openFlag;
}
public int getOperateType() {
return operateType;
}
public void setOperateType(int operateType) {
this.operateType = operateType;
}
public int getOptionFlag() {
return optionFlag;
}
public void setOptionFlag(int optionFlag) {
this.optionFlag = optionFlag;
}
public int getQueryFlag() {
return queryFlag;
}
public void setQueryFlag(int queryFlag) {
this.queryFlag = queryFlag;
}
public String getOperateUnitId1() {
return operateUnitId1;
}
public void setOperateUnitId1(String operateUnitId1) {
this.operateUnitId1 = operateUnitId1;
}
public String getOperateUnitId2() {
return operateUnitId2;
}
public void setOperateUnitId2(String operateUnitId2) {
this.operateUnitId2 = operateUnitId2;
}
public int getOptionValueFlag() {
return optionValueFlag;
}
public void setOptionValueFlag(int optionValueFlag) {
this.optionValueFlag = optionValueFlag;
}
public int getQueryShowFlag() {
return queryShowFlag;
}
public void setQueryShowFlag(int queryShowFlag) {
this.queryShowFlag = queryShowFlag;
}
public int getRelatedFlag() {
return relatedFlag;
}
public void setRelatedFlag(int relatedFlag) {
this.relatedFlag = relatedFlag;
}
public int getSortNo() {
return sortNo;
}
public void setSortNo(int sortNo) {
this.sortNo = sortNo;
}
public String getUpdateId() {
return updateId;
}
public void setUpdateId(String updateId) {
this.updateId = updateId;
}
public long getUpdateTime() {
return updateTime;
}
public void setUpdateTime(long updateTime) {
this.updateTime = updateTime;
}
public int getWorkShowFlag() {
return workShowFlag;
}
public void setWorkShowFlag(int workShowFlag) {
this.workShowFlag = workShowFlag;
}
public int getWorkSortNo() {
return workSortNo;
}
public void setWorkSortNo(int workSortNo) {
this.workSortNo = workSortNo;
}
public String getFieldDataValue() {
return fieldDataValue;
}
public void setFieldDataValue(String fieldDataValue) {
this.fieldDataValue = fieldDataValue;
}
public String getTemFieldId() {
return temFieldId;
}
public void setTemFieldId(String temFieldId) {
this.temFieldId = temFieldId;
}
public String getFieldValue() {
return fieldValue;
}
public void setFieldValue(String fieldValue) {
this.fieldValue = fieldValue;
}
public String getTemDataId() {
return temDataId;
}
public void setTemDataId(String temDataId) {
this.temDataId = temDataId;
}
public int getAuthStatus() {
return authStatus;
}
public void setAuthStatus(int authStatus) {
this.authStatus = authStatus;
}
public List<SobotCombinFormFieldList> getCombinFormFieldList() {
return combinFormFieldList;
}
public void setCombinFormFieldList(List<SobotCombinFormFieldList> combinFormFieldList) {
this.combinFormFieldList = combinFormFieldList;
}
public List<SobotCusFieldDataInfoList> getCusFieldDataInfoList() {
return cusFieldDataInfoList;
}
public void setCusFieldDataInfoList(List<SobotCusFieldDataInfoList> cusFieldDataInfoList) {
this.cusFieldDataInfoList = cusFieldDataInfoList;
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public int getMustFillFlag() {
return mustFillFlag;
}
public void setMustFillFlag(int mustFillFlag) {
this.mustFillFlag = mustFillFlag;
}
@Override
public boolean equals(Object obj) {
if (obj instanceof SobotCusFieldConfig) {
if (((SobotCusFieldConfig) obj).getFieldId().equals(this.getFieldId())) {
return true;
}
}
return false;
}
public String getCreationTime() {
return creationTime;
}
public void setCreationTime(String creationTime) {
this.creationTime = creationTime;
}
public String getCustomFieldFlag() {
return customFieldFlag;
}
public void setCustomFieldFlag(String customFieldFlag) {
this.customFieldFlag = customFieldFlag;
}
public int getDisplayFlag() {
return displayFlag;
}
public void setDisplayFlag(int displayFlag) {
this.displayFlag = displayFlag;
}
public String getLimitChar() {
return limitChar;
}
public void setLimitChar(String limitChar) {
this.limitChar = limitChar;
}
public int getRemoved() {
return removed;
}
public void setRemoved(int removed) {
this.removed = removed;
}
public int getSort() {
return sort;
}
public void setSort(int sort) {
this.sort = sort;
}
public int getValidInformationFlag() {
return validInformationFlag;
}
public void setValidInformationFlag(int validInformationFlag) {
this.validInformationFlag = validInformationFlag;
}
public String getTemplateFieldId() {
return templateFieldId;
}
public void setTemplateFieldId(String templateFieldId) {
this.templateFieldId = templateFieldId;
}
public String getBasicType() {
return basicType;
}
public void setBasicType(String basicType) {
this.basicType = basicType;
}
public String getBasicName() {
return basicName;
}
public void setBasicName(String basicName) {
this.basicName = basicName;
}
public boolean isCopy() {
return isCopy;
}
public void setCopy(boolean copy) {
isCopy = copy;
}
}
\ No newline at end of file
package com.sobot.common.model;
import java.io.Serializable;
import java.util.List;
/**
* 通过工单分类获取关联的自定义字段实体类
*/
public class SobotCusFieldConfigList implements Serializable {
private List<SobotCusFieldConfig> cusFieldConfigList;
public List<SobotCusFieldConfig> getCusFieldConfigList() {
return cusFieldConfigList;
}
public void setCusFieldConfigList(List<SobotCusFieldConfig> cusFieldConfigList) {
this.cusFieldConfigList = cusFieldConfigList;
}
}
\ No newline at end of file
package com.sobot.common.model;
import java.io.Serializable;
/**
* 通过工单分类获取关联的自定义字段实体类
*/
public class SobotCusFieldConfiga implements Serializable {
//"自定义字段ID")
private String fieldId;
//"自定义字段名称")
private String fieldName;
}
\ No newline at end of file
package com.sobot.common.model;
import java.io.Serializable;
/**
* 工单自定义字段 下拉列表对应的实体类
*/
public class SobotCusFieldDataInfoList implements Serializable {
private String tmpData;//获取本地时间,作为标识
private String companyId;//e6fb17f5af9f4487a8ec7f1f58c972ba
private String createId;//1b6d22ab52bc4db99c3c7b055abd3332
private String createTime;//150071054
private String dataId;//aa1974e833814089a3016df7fc1ecbf7
private String dataName;//66666666
private int dataStatus;// 1
private String dataValue;//500710546694836
private String fieldId;// 0ab01b8393a7472b9aa4c6a8698cbdb4
private String fieldVariable;//customField8
private String parentDataId;// "0"
private String updateId;//1b6d22ab52bc4db99c3c7b055abd3332
private String updateTime;//1500710546
private String optionValue;
private boolean isChecked = false;
private String tmpDataName;//
private String id;
private String valueDataId;
private String numerical;
private String text;
private boolean hasNewNode = false;//是否还有下一级
private int dataHideFlag;
private String key;
private String value;
private int sortNo;
public int getDataHideFlag() {
return dataHideFlag;
}
public void setDataHideFlag(int dataHideFlag) {
this.dataHideFlag = dataHideFlag;
}
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
public int getSortNo() {
return sortNo;
}
public void setSortNo(int sortNo) {
this.sortNo = sortNo;
}
public boolean isChecked() {
return isChecked;
}
public void setChecked(boolean checked) {
isChecked = checked;
}
public String getCompanyId() {
return companyId;
}
public void setCompanyId(String companyId) {
this.companyId = companyId;
}
public String getCreateId() {
return createId;
}
public void setCreateId(String createId) {
this.createId = createId;
}
public String getCreateTime() {
return createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public String getDataId() {
return dataId;
}
public void setDataId(String dataId) {
this.dataId = dataId;
}
public String getDataName() {
return dataName;
}
public void setDataName(String dataName) {
this.dataName = dataName;
}
public int getDataStatus() {
return dataStatus;
}
public void setDataStatus(int dataStatus) {
this.dataStatus = dataStatus;
}
public String getDataValue() {
return dataValue;
}
public void setDataValue(String dataValue) {
this.dataValue = dataValue;
}
public String getFieldId() {
return fieldId;
}
public void setFieldId(String fieldId) {
this.fieldId = fieldId;
}
public String getFieldVariable() {
return fieldVariable;
}
public void setFieldVariable(String fieldVariable) {
this.fieldVariable = fieldVariable;
}
public String getParentDataId() {
return parentDataId;
}
public void setParentDataId(String parentDataId) {
this.parentDataId = parentDataId;
}
public String getUpdateId() {
return updateId;
}
public void setUpdateId(String updateId) {
this.updateId = updateId;
}
public String getUpdateTime() {
return updateTime;
}
public void setUpdateTime(String updateTime) {
this.updateTime = updateTime;
}
public String getTmpDataName() {
return tmpDataName;
}
public void setTmpDataName(String tmpDataName) {
this.tmpDataName = tmpDataName;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getValueDataId() {
return valueDataId;
}
public void setValueDataId(String valueDataId) {
this.valueDataId = valueDataId;
}
public String getNumerical() {
return numerical;
}
public void setNumerical(String numerical) {
this.numerical = numerical;
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public String getTmpData() {
return tmpData;
}
public void setTmpData(String tmpData) {
this.tmpData = tmpData;
}
public String getOptionValue() {
return optionValue;
}
public void setOptionValue(String optionValue) {
this.optionValue = optionValue;
}
public boolean isHasNewNode() {
return hasNewNode;
}
public void setHasNewNode(boolean hasNewNode) {
this.hasNewNode = hasNewNode;
}
}
\ No newline at end of file
package com.sobot.common.model;
import java.io.Serializable;
import java.util.ArrayList;
/**
* 模板--自定义字段
* @author: guoqf
* 2022/10/25
*/
public class SobotCusFieldEntity implements Serializable {
private SobotCusFieldConfig cusFieldConfig; //自定义字段
private ArrayList<SobotCusFieldDataInfoList> cusFieldDataInfoList;//选项
public SobotCusFieldConfig getCusFieldConfig() {
return cusFieldConfig;
}
public void setCusFieldConfig(SobotCusFieldConfig cusFieldConfig) {
this.cusFieldConfig = cusFieldConfig;
}
public ArrayList<SobotCusFieldDataInfoList> getCusFieldDataInfoList() {
return cusFieldDataInfoList;
}
public void setCusFieldDataInfoList(ArrayList<SobotCusFieldDataInfoList> cusFieldDataInfoList) {
this.cusFieldDataInfoList = cusFieldDataInfoList;
}
}
package com.sobot.common.model;
import java.io.Serializable;
public class SobotCustomerFromLavelModel implements Serializable {
private String vipLevel;
public String getVipLevel() {
return vipLevel;
}
public void setVipLevel(String vipLevel) {
this.vipLevel = vipLevel;
}
}
package com.sobot.common.model;
import java.io.Serializable;
public class SobotCustomerListModel implements Serializable {
private String queryContent;
private int pageSize;
private int pageNo;
private int queryType;
private String staffId;
private String warnStatus;
private String groupId;
public SobotCustomerListModel() {
}
public String getStaffId() {
return staffId;
}
public void setStaffId(String staffId) {
this.staffId = staffId;
}
public String getWarnStatus() {
return warnStatus;
}
public void setWarnStatus(String warnStatus) {
this.warnStatus = warnStatus;
}
public String getGroupId() {
return groupId;
}
public void setGroupId(String groupId) {
this.groupId = groupId;
}
public String getQueryContent() {
return queryContent;
}
public void setQueryContent(String queryContent) {
this.queryContent = queryContent;
}
public int getPageSize() {
return pageSize;
}
public void setPageSize(int pageSize) {
this.pageSize = pageSize;
}
public int getPageNo() {
return pageNo;
}
public void setPageNo(int pageNo) {
this.pageNo = pageNo;
}
public int getQueryType() {
return queryType;
}
public void setQueryType(int queryType) {
this.queryType = queryType;
}
@Override
public String toString() {
return "SobotWOUserList{" +
"queryContent='" + queryContent + '\'' +
", pageSize=" + pageSize +
", pageNo=" + pageNo +
", queryType=" + queryType +
", staffId='" + staffId + '\'' +
", warnStatus='" + warnStatus + '\'' +
", groupId='" + groupId + '\'' +
'}';
}
}
\ No newline at end of file
package com.sobot.common.model;
import java.io.Serializable;
/**
* 加密手机号解析
*/
public class SobotEncryptTel implements Serializable {
//加密后的号码
private String encrypt;
//显示的号码
private String tel;
public String getEncrypt() {
return encrypt;
}
public void setEncrypt(String encrypt) {
this.encrypt = encrypt;
}
public String getTel() {
return tel;
}
public void setTel(String tel) {
this.tel = tel;
}
}
package com.sobot.common.model;
import java.io.Serializable;
//创建客户时,选择公司实体类
public class SobotEnterPriseModel implements Serializable {
/**
* items : [{"companyId":"acb290d666814d65834c70073aed65f2","createServiceId":"efcfda336b5d4caeb4fd71392c54b5c9","createTime":1516774127,"enterpriseId":"4c9049f20ad24a07a400b2de772563ed","enterpriseName":"c014252","enterpriseStatus":1,"id":"4c9049f20ad24a07a400b2de772563ed","rowId":"4c9049f20ad24a07a400b2de772563ed","rowkey":"4c9049f20ad24a07a400b2de772563ed","updateTime":1516774127},{"companyId":"acb290d666814d65834c70073aed65f2","createServiceId":"efcfda336b5d4caeb4fd71392c54b5c9","createTime":1516774127,"enterpriseId":"fd11962566544b7c858f520b8c518849","enterpriseName":"c014260","enterpriseStatus":1,"id":"fd11962566544b7c858f520b8c518849","rowId":"fd11962566544b7c858f520b8c518849","rowkey":"fd11962566544b7c858f520b8c518849","updateTime":1516774127},{"companyId":"acb290d666814d65834c70073aed65f2","createServiceId":"efcfda336b5d4caeb4fd71392c54b5c9","createTime":1516774127,"enterpriseId":"3e8db5279b81463b8c0e159be2576d20","enterpriseName":"c014285","enterpriseStatus":1,"id":"3e8db5279b81463b8c0e159be2576d20","rowId":"3e8db5279b81463b8c0e159be2576d20","rowkey":"3e8db5279b81463b8c0e159be2576d20","updateTime":1516774127},{"companyId":"acb290d666814d65834c70073aed65f2","createServiceId":"efcfda336b5d4caeb4fd71392c54b5c9","createTime":1516774127,"enterpriseId":"b12fb509e33f406cbc51dc8d65423619","enterpriseName":"c014292","enterpriseStatus":1,"id":"b12fb509e33f406cbc51dc8d65423619","rowId":"b12fb509e33f406cbc51dc8d65423619","rowkey":"b12fb509e33f406cbc51dc8d65423619","updateTime":1516774127},{"companyId":"acb290d666814d65834c70073aed65f2","createServiceId":"efcfda336b5d4caeb4fd71392c54b5c9","createTime":1516774127,"enterpriseId":"6c7534b18cb449f2a5fcd0a6b39257b0","enterpriseName":"c014295","enterpriseStatus":1,"id":"6c7534b18cb449f2a5fcd0a6b39257b0","rowId":"6c7534b18cb449f2a5fcd0a6b39257b0","rowkey":"6c7534b18cb449f2a5fcd0a6b39257b0","updateTime":1516774127},{"companyId":"acb290d666814d65834c70073aed65f2","createServiceId":"efcfda336b5d4caeb4fd71392c54b5c9","createTime":1516774127,"enterpriseId":"cb3c042dce454d2292ac56c7f786c57a","enterpriseName":"c014326","enterpriseStatus":1,"id":"cb3c042dce454d2292ac56c7f786c57a","rowId":"cb3c042dce454d2292ac56c7f786c57a","rowkey":"cb3c042dce454d2292ac56c7f786c57a","updateTime":1516774127},{"companyId":"acb290d666814d65834c70073aed65f2","createServiceId":"efcfda336b5d4caeb4fd71392c54b5c9","createTime":1516774127,"enterpriseId":"714197ae40f0493998e091744b968d4c","enterpriseName":"c014333","enterpriseStatus":1,"id":"714197ae40f0493998e091744b968d4c","rowId":"714197ae40f0493998e091744b968d4c","rowkey":"714197ae40f0493998e091744b968d4c","updateTime":1516774127},{"companyId":"acb290d666814d65834c70073aed65f2","createServiceId":"efcfda336b5d4caeb4fd71392c54b5c9","createTime":1516774127,"enterpriseId":"999b0d66adea486eb239bb0824517b1f","enterpriseName":"c014339","enterpriseStatus":1,"id":"999b0d66adea486eb239bb0824517b1f","rowId":"999b0d66adea486eb239bb0824517b1f","rowkey":"999b0d66adea486eb239bb0824517b1f","updateTime":1516774127},{"companyId":"acb290d666814d65834c70073aed65f2","createServiceId":"efcfda336b5d4caeb4fd71392c54b5c9","createTime":1516774127,"enterpriseId":"dfa4edcdfa0d4a7f93821ace0926b9ea","enterpriseName":"c014361","enterpriseStatus":1,"id":"dfa4edcdfa0d4a7f93821ace0926b9ea","rowId":"dfa4edcdfa0d4a7f93821ace0926b9ea","rowkey":"dfa4edcdfa0d4a7f93821ace0926b9ea","updateTime":1516774127},{"companyId":"acb290d666814d65834c70073aed65f2","createServiceId":"efcfda336b5d4caeb4fd71392c54b5c9","createTime":1516774127,"enterpriseId":"a8ba2f6cfb364fef90cc6d5207016a41","enterpriseName":"c014367","enterpriseStatus":1,"id":"a8ba2f6cfb364fef90cc6d5207016a41","rowId":"a8ba2f6cfb364fef90cc6d5207016a41","rowkey":"a8ba2f6cfb364fef90cc6d5207016a41","updateTime":1516774127},{"companyId":"acb290d666814d65834c70073aed65f2","createServiceId":"efcfda336b5d4caeb4fd71392c54b5c9","createTime":1516774127,"enterpriseId":"73f9ffee392a4822b442a6d70b742b3b","enterpriseName":"c014368","enterpriseStatus":1,"id":"73f9ffee392a4822b442a6d70b742b3b","rowId":"73f9ffee392a4822b442a6d70b742b3b","rowkey":"73f9ffee392a4822b442a6d70b742b3b","updateTime":1516774127},{"companyId":"acb290d666814d65834c70073aed65f2","createServiceId":"efcfda336b5d4caeb4fd71392c54b5c9","createTime":1516774127,"enterpriseId":"45bd5057d96f440eb6ffdf1621020a7b","enterpriseName":"c014392","enterpriseStatus":1,"id":"45bd5057d96f440eb6ffdf1621020a7b","rowId":"45bd5057d96f440eb6ffdf1621020a7b","rowkey":"45bd5057d96f440eb6ffdf1621020a7b","updateTime":1516774127},{"companyId":"acb290d666814d65834c70073aed65f2","createServiceId":"efcfda336b5d4caeb4fd71392c54b5c9","createTime":1516774127,"enterpriseId":"7ce9dcadc14741ce880ce9ac8281ab38","enterpriseName":"c014820","enterpriseStatus":1,"id":"7ce9dcadc14741ce880ce9ac8281ab38","rowId":"7ce9dcadc14741ce880ce9ac8281ab38","rowkey":"7ce9dcadc14741ce880ce9ac8281ab38","updateTime":1516774127},{"companyId":"acb290d666814d65834c70073aed65f2","createServiceId":"efcfda336b5d4caeb4fd71392c54b5c9","createTime":1516774127,"enterpriseId":"11597190f0bb4911a3e21449137608a2","enterpriseName":"c014851","enterpriseStatus":1,"id":"11597190f0bb4911a3e21449137608a2","rowId":"11597190f0bb4911a3e21449137608a2","rowkey":"11597190f0bb4911a3e21449137608a2","updateTime":1516774127},{"companyId":"acb290d666814d65834c70073aed65f2","createServiceId":"efcfda336b5d4caeb4fd71392c54b5c9","createTime":1516774127,"enterpriseId":"e91521cce56249ac927cd5714ae48e1c","enterpriseName":"c014858","enterpriseStatus":1,"id":"e91521cce56249ac927cd5714ae48e1c","rowId":"e91521cce56249ac927cd5714ae48e1c","rowkey":"e91521cce56249ac927cd5714ae48e1c","updateTime":1516774127}]
* pageCount : 1334
* pageNo : 1
* pageSize : 15
* retCode : 000000
* totalCount : 20005
*/
private String companyId;
private String createServiceId;
private long createTime;
private String enterpriseId;
private String enterpriseName;
private int enterpriseStatus;
private String id;
private String rowId;
private String rowkey;
private long updateTime;
public String getCreateServiceId() {
return createServiceId;
}
public void setCreateServiceId(String createServiceId) {
this.createServiceId = createServiceId;
}
public long getCreateTime() {
return createTime;
}
public void setCreateTime(long createTime) {
this.createTime = createTime;
}
public String getEnterpriseId() {
return enterpriseId;
}
public void setEnterpriseId(String enterpriseId) {
this.enterpriseId = enterpriseId;
}
public String getEnterpriseName() {
return enterpriseName;
}
public String getCompanyId() {
return companyId;
}
public void setCompanyId(String companyId) {
this.companyId = companyId;
}
public void setEnterpriseName(String enterpriseName) {
this.enterpriseName = enterpriseName;
}
public int getEnterpriseStatus() {
return enterpriseStatus;
}
public void setEnterpriseStatus(int enterpriseStatus) {
this.enterpriseStatus = enterpriseStatus;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getRowId() {
return rowId;
}
public void setRowId(String rowId) {
this.rowId = rowId;
}
public String getRowkey() {
return rowkey;
}
public void setRowkey(String rowkey) {
this.rowkey = rowkey;
}
public long getUpdateTime() {
return updateTime;
}
public void setUpdateTime(long updateTime) {
this.updateTime = updateTime;
}
}
\ No newline at end of file
package com.sobot.common.model;
import java.io.Serializable;
//组合字段-下拉列表
public class SobotGroupFieldItemModel implements Serializable {
/**
* dataId : 104276675dbb4d5bb10b629c0c62eaf8
* id : 1
* pId : 0
* text : 男
* numerical :
* serial : 98af6b3e-bad5-41b0-8a92-88c15c569c5b
*/
private String tmpData;////获取本地时间,作为标识
private String dataId;
private String id;
private String pid;
private String text;
private String numerical;
private String serial;
private boolean isChecked = false;
public SobotGroupFieldItemModel() {
}
public String getTmpData() {
return tmpData;
}
public void setTmpData(String tmpData) {
this.tmpData = tmpData;
}
public String getDataId() {
return dataId;
}
public void setDataId(String dataId) {
this.dataId = dataId;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getpid() {
return pid;
}
public void setpid(String pId) {
this.pid = pId;
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public String getNumerical() {
return numerical;
}
public void setNumerical(String numerical) {
this.numerical = numerical;
}
public String getSerial() {
return serial;
}
public void setSerial(String serial) {
this.serial = serial;
}
public boolean isChecked() {
return isChecked;
}
public void setChecked(boolean checked) {
isChecked = checked;
}
@Override
public String toString() {
return "GroupFieldItemModel{" +
"dataId='" + dataId + '\'' +
", id='" + id + '\'' +
", pId='" + pid + '\'' +
", text='" + text + '\'' +
", numerical='" + numerical + '\'' +
", serial='" + serial + '\'' +
", isChecked='" + isChecked + '\'' +
", tmpData='" + tmpData + '\'' +
'}';
}
}
\ No newline at end of file
package com.sobot.common.model;
import java.io.Serializable;
import java.util.List;
//工单组合字段中 下一级数据 实体类
public class SobotGroupFieldModel implements Serializable {
/**
* fieldId : 4
* fieldLevel : 1
* fieldName : 性别
* items : [{"dataId":"104276675dbb4d5bb10b629c0c62eaf8","id":"1","pId":"0","text":"男"},{"dataId":"44759f378e934de98ef06963258f2a97","id":"1","pId":"0","text":"身份证"},{"dataId":"5269a5dfc5a54338ac76de010c6ad736","id":"2","pId":"0","text":"女"},{"dataId":"657a50cdbbab4536a10710cbe692b888","id":"2","pId":"0","text":"军官"},{"dataId":"1ca5bb986a5d465caeb051a17e59eb20","id":"500697715202502","pId":"0","text":"二二二"},{"dataId":"851f62f4560d4741a3974c9eb47c852b","id":"500697715207155","pId":"0","text":"二二二二二"},{"dataId":"839e6df6235f44ef92be3f6443a13954","id":"500697715212018","pId":"0","text":"二二二二二二二"},{"dataId":"2f84839c7d8e4304a0362741e87928ff","id":"500710546694836","pId":"0","text":"66666"},{"dataId":"0b1fb5aabf954bdc9e352ea5bbde6d80","id":"500710754774515","pId":"0","text":"7777"},{"dataId":"eb75e8af12664bef95d5ca0cf4876c47","id":"500710806685090","pId":"0","text":"88888"},{"dataId":"eedcefebf93a4f3f878b2adc536a3224","id":"500710806690478","pId":"0","text":"8888888"},{"dataId":"214b102a013e40079debe7c267916f1f","id":"500710806695414","pId":"0","text":"88888888"},{"dataId":"2d93ec5f50b746508e01cd0d6eb181ce","id":"501041397780700","pId":"0","text":"八八八"},{"dataId":"6443e1b1368047c0b38275d49014df78","id":"501041413200452","pId":"0","text":"八八八八八"},{"dataId":"e17c73b924d94616a15e392edc5a62ab","id":"501041413205597","pId":"0","text":"八八八八八八八八"},{"dataId":"e39ac941e8344978974e701973f53a3b","id":"501228641369774","pId":"0","text":"七七七七"},{"dataId":"5772bd860cf44ce1989ae8f5dceaf63a","id":"501228641373249","pId":"0","text":"77777777"},{"dataId":"189f15083e6840c88eb0abf582aa38fa","id":"501228641380852","pId":"0","text":"七七七七七七七七"},{"dataId":"89b44ce260734eac8e81d7eacc016ddd","id":"501228684100458","pId":"0","text":"六六六六六"},{"dataId":"b56252f982d44c429707c59937aa9702","id":"501228684105511","pId":"0","text":"陆陆陆陆陆"},{"dataId":"3867f5be3eed47bbbf97f2e2b7e11e5c","id":"501228684110336","pId":"0","text":"6666666666"},{"dataId":"c20967159a5a47828f10e659fba9b538","id":"501228721773501","pId":"0","text":"ⅧⅧⅧⅧⅧⅧⅧ"},{"dataId":"e7e2a59909a642188f6d31c245f8d4b8","id":"505890904867969","pId":"0","text":"ⅧⅧⅧⅧⅧⅧ1"},{"dataId":"6a2b66b6857646cfa40c8ba6c11c7f0d","id":"505890904872207","pId":"0","text":"ⅧⅧⅧⅧⅧⅧ2"},{"dataId":"22fe1dcad86446b0b0ccb1c00246d91f","id":"505890904876719","pId":"0","text":"ⅧⅧⅧⅧⅧⅧ3"},{"dataId":"fd918124b9624e94bbe97f35619cf44d","id":"505890904881243","pId":"0","text":"ⅧⅧⅧⅧⅧⅧ4"},{"dataId":"30568eb124794786b14851d7bcda961e","id":"505890904886364","pId":"0","text":"ⅧⅧⅧⅧⅧⅧ5"},{"dataId":"c9d3b1f36fb44b11b10502ed023a5f9e","id":"514876777313769","pId":"0","text":"AAAAA"},{"dataId":"45223143ae784a97b2c98e757009c8a6","id":"514876796708635","pId":"0","text":"AAAAAAA"},{"dataId":"5431e1cfa42e4d9f9d5e0b861e5a822a","id":"514876796722431","pId":"0","text":"AAAAAAAAA"},{"dataId":"56adcc819d844c52bd33aa28e59c6e48","id":"514876796734057","pId":"0","text":"AAA"},{"dataId":"349d4501c011496d858bc79051da8f72","id":"540286969380959","pId":"0","text":"6666666"},{"dataId":"4366a99b44db4734b3fe77b528c8793d","id":"543305104979463","numerical":"","pId":"0","serial":"98af6b3e-bad5-41b0-8a92-88c15c569c5b","text":"666"},{"dataId":"ee5853a37cb64b71afc61125f733a62b","id":"543305104983123","numerical":"","pId":"0","serial":"957cf3d9-42df-47a9-80af-6aeff546f0bb","text":"444"},{"dataId":"9febfc1678bf4799a53113fcbd7010f6","id":"543475161958938","numerical":"100","pId":"0","serial":"11324949-2026-4896-b85c-4285eb3e697a","text":"鞋靴"},{"dataId":"33807e95d4f9492fb355bda5bc48c17a","id":"543475161961863","numerical":"100","pId":"0","serial":"8ddf6553-ff4d-4a36-abc0-c2bef47302b3","text":"女装"},{"dataId":"8b9ef638814d49c68706f712bb4ee65e","id":"543475161963685","numerical":"100","pId":"0","serial":"af89e34a-8e6d-4ac3-840c-4ec59d1979f7","text":"男装"},{"dataId":"4fe54d2f56b642eab9fd3992df89e3c2","id":"543475161965054","numerical":"100","pId":"0","serial":"2903f5c4-7736-4c4f-89af-1de8cab307b8","text":"百货"},{"dataId":"0375e179a1a94c70a7bee75a697f6666","id":"543475251185287","numerical":"199","pId":"9febfc1678bf4799a53113fcbd7010f6","serial":"0ce35c03-165a-4198-8708-39ab2eac831b","text":"单鞋"},{"dataId":"2ab2ea2950eb4d9f9922c4ee3187f7e4","id":"543475251187169","numerical":"199","pId":"9febfc1678bf4799a53113fcbd7010f6","serial":"30b3a6f1-02b3-4b32-9544-26d1f95b9ebd","text":"帆布鞋"},{"dataId":"e1b620a8cdef41f985da5b6694900ed7","id":"543475251189729","numerical":"199","pId":"9febfc1678bf4799a53113fcbd7010f6","serial":"72c5ffc1-b846-45df-8a05-7b27e10f4280","text":"拖鞋"},{"dataId":"cacf11a539314f0ba29a3085622a90d2","id":"543475251191154","numerical":"199","pId":"9febfc1678bf4799a53113fcbd7010f6","serial":"8d771c46-cfc8-4ecd-bf90-f6d2869bab71","text":"凉鞋"},{"dataId":"f38ff200bf964e65981dea6ed5bb554a","id":"543475296779717","numerical":"299","pId":"2ab2ea2950eb4d9f9922c4ee3187f7e4","serial":"6666d816-a32f-4559-8446-5260a2a660d2","text":"耐克"},{"dataId":"b2c6dbcff5fc4309bfe33e84d88cd48c","id":"543475296781946","numerical":"399","pId":"2ab2ea2950eb4d9f9922c4ee3187f7e4","serial":"e81e45d2-bb09-44ff-8f5f-77eac88df317","text":"阿迪"},{"dataId":"f4f88bb485d14ea29ee1e55c8aded200","id":"543475296783328","numerical":"499","pId":"2ab2ea2950eb4d9f9922c4ee3187f7e4","serial":"8b8f8c84-15a3-416e-8f3f-49fe832c661d","text":"匡威"},{"dataId":"413b9548457d47b08d45e45a04c78db8","id":"99","pId":"0","text":"其他"},{"dataId":"ebdb2781867640e7874b4762d10a72d3","id":"ce2b85fc3a4641db97e4988a41cc5ac6","text":"VIP1"}]
*/
private String fieldId;
private int fieldLevel;
private String fieldName;
private List<SobotGroupFieldItemModel> items;
public SobotGroupFieldModel() {
}
public String getFieldId() {
return fieldId;
}
public void setFieldId(String fieldId) {
this.fieldId = fieldId;
}
public int getFieldLevel() {
return fieldLevel;
}
public void setFieldLevel(int fieldLevel) {
this.fieldLevel = fieldLevel;
}
public String getFieldName() {
return fieldName;
}
public void setFieldName(String fieldName) {
this.fieldName = fieldName;
}
public List<SobotGroupFieldItemModel> getItems() {
return items;
}
public void setItems(List<SobotGroupFieldItemModel> items) {
this.items = items;
}
@Override
public String toString() {
return "GroupFieldModel{" +
"fieldId='" + fieldId + '\'' +
", fieldLevel=" + fieldLevel +
", fieldName='" + fieldName + '\'' +
", items=" + items +
'}';
}
}
\ No newline at end of file
package com.sobot.common.model;
import java.io.Serializable;
// 自定义组合字段中,下拉列表选项类型传值使用
public class SobotListTypeModel implements Serializable {
private boolean flag = false;//
private String tmpId;//获取UUID本地唯一标识,区别每组数据的唯一标识
private String fieldId;//CombinFormField 的 fieldId
private String value;//CusFieldDataInfoList 的 datavalue
private String text;//CusFieldDataInfoList 的 dataname
private int position;//到新页面以后,查询出列表值,然后选择哪个的位置
private Object list;
private String fieldValueId;//选项值的 dataId CusFieldDataInfoList 的 dataId
private String changeValue;
public String getChangeValue() {
return changeValue;
}
public void setChangeValue(String changeValue) {
this.changeValue = changeValue;
}
public String getFieldValueId() {
return fieldValueId;
}
public void setFieldValueId(String fieldValueId) {
this.fieldValueId = fieldValueId;
}
public boolean isFlag() {
return flag;
}
public void setFlag(boolean flag) {
this.flag = flag;
}
public Object getList() {
return list;
}
public void setList(Object list) {
this.list = list;
}
public int getPosition() {
return position;
}
public void setPosition(int position) {
this.position = position;
}
public String getFieldId() {
return fieldId;
}
public void setFieldId(String fieldId) {
this.fieldId = fieldId;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public String getTmpId() {
return tmpId;
}
public void setTmpId(String tmpId) {
this.tmpId = tmpId;
}
public SobotListTypeModel() {
}
}
\ No newline at end of file
package com.sobot.common.model;
import java.io.Serializable;
import java.util.List;
/**
* 多选、下拉的选项
*/
public class SobotResultListModel implements Serializable{
private boolean checked;
private String fieldId;
private String id;
private int fieldType;
private String title;
private String value;
private String text;
private int isOpenFlag = 1;//自定义字段是否开启 0 是关闭 1开启
private String summary;
private int numericalFlag;
private List<?> items;
private List<List<SobotCombinFormField>> combinFormFieldList;
public SobotResultListModel(boolean checked, String fieldId, int fieldType, String title, String value, String text, int isOpenFlag, String summary) {
this.checked = checked;
this.fieldId = fieldId;
this.fieldType = fieldType;
this.title = title;
this.value = value;
this.text = text;
this.isOpenFlag = isOpenFlag;
this.summary = summary;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public int getNumericalFlag() {
return numericalFlag;
}
public void setNumericalFlag(int numericalFlag) {
this.numericalFlag = numericalFlag;
}
public List<List<SobotCombinFormField>> getCombinFormFieldList() {
return combinFormFieldList;
}
public void setCombinFormFieldList(List<List<SobotCombinFormField>> combinFormFieldList) {
this.combinFormFieldList = combinFormFieldList;
}
@Override
public String toString() {
return "TicketResultListModel{" +
"checked=" + checked +
", fieldId='" + fieldId + '\'' +
", fieldType=" + fieldType +
", title='" + title + '\'' +
", value='" + value + '\'' +
", text='" + text + '\'' +
", isOpenFlag='" + isOpenFlag + '\'' +
", items=" + items +
", summary=" + summary +
", combinFormFieldList=" + combinFormFieldList +
'}';
}
public String getSummary() {
return summary;
}
public void setSummary(String summary) {
this.summary = summary;
}
public int getIsOpenFlag() {
return isOpenFlag;
}
public void setIsOpenFlag(int isOpenFlag) {
this.isOpenFlag = isOpenFlag;
}
public boolean isChecked() {
return checked;
}
public void setChecked(boolean checked) {
this.checked = checked;
}
public String getFieldId() {
return fieldId;
}
public void setFieldId(String fieldId) {
this.fieldId = fieldId;
}
public int getFieldType() {
return fieldType;
}
public void setFieldType(int fieldType) {
this.fieldType = fieldType;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public List<?> getItems() {
return items;
}
public void setItems(List<?> items) {
this.items = items;
}
}
\ No newline at end of file
package com.sobot.common.model.placename;
import java.io.Serializable;
public class AreaModel implements Serializable {
private String areaId;//(区域id)
private String areaName;//区域名称
public String getAreaId() {
return areaId;
}
public void setAreaId(String areaId) {
this.areaId = areaId;
}
public String getAreaName() {
return areaName;
}
public void setAreaName(String areaName) {
this.areaName = areaName;
}
}
package com.sobot.common.model.placename;
import java.io.Serializable;
public class CityModel implements Serializable {
private String cityId;//(城市id)
private String cityName;//(城市名称)
public String getCityId() {
return cityId;
}
public void setCityId(String cityId) {
this.cityId = cityId;
}
public String getCityName() {
return cityName;
}
public void setCityName(String cityName) {
this.cityName = cityName;
}
}
package com.sobot.common.model.placename;
import java.io.Serializable;
public class CountryModel implements Serializable {
private String countryId;//(国家id)
private String countryName;//(国家名称)
public String getCountryId() {
return countryId;
}
public void setCountryId(String countryId) {
this.countryId = countryId;
}
public String getCountryName() {
return countryName;
}
public void setCountryName(String countryName) {
this.countryName = countryName;
}
}
package com.sobot.common.model.placename;
import java.io.Serializable;
public class PlaceModel implements Serializable {
private String id;//(id)
private String name;//(name)
private String parentId;//父类id
private String pid;//父类id
private boolean hasChild;//是否有子类
public int level = 0;//当前的级别
public boolean isChecked = false;//是否已选中
public String getPid() {
return pid;
}
public void setPid(String pid) {
this.pid = pid;
}
public String getParentId() {
return parentId;
}
public void setParentId(String parentId) {
this.parentId = parentId;
}
public boolean isHasChild() {
return hasChild;
}
public void setHasChild(boolean hasChild) {
this.hasChild = hasChild;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getLevel() {
return level;
}
public void setLevel(int level) {
this.level = level;
}
public boolean isChecked() {
return isChecked;
}
public void setChecked(boolean checked) {
isChecked = checked;
}
}
package com.sobot.common.model.placename;
import java.io.Serializable;
public class ProvinceModel implements Serializable {
private String provinceId;//(省id)
public String getProvinceId() {
return provinceId;
}
public void setProvinceId(String provinceId) {
this.provinceId = provinceId;
}
public String getProvinceName() {
return provinceName;
}
public void setProvinceName(String provinceName) {
this.provinceName = provinceName;
}
private String provinceName;//(省名称)
}
package com.sobot.common.model.placename;
import java.io.Serializable;
/**
* 搜索地区 by gqf 2024.03.26
*/
public class RegionModel implements Serializable {
private String province;
private String provinceCode;
private String city;
private String cityCode;
private String area;
private String areaCode;
private String street;
private String streetCode;
public String getProvince() {
return province;
}
public void setProvince(String province) {
this.province = province;
}
public String getProvinceCode() {
return provinceCode;
}
public void setProvinceCode(String provinceCode) {
this.provinceCode = provinceCode;
}
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getCityCode() {
return cityCode;
}
public void setCityCode(String cityCode) {
this.cityCode = cityCode;
}
public String getArea() {
return area;
}
public void setArea(String area) {
this.area = area;
}
public String getAreaCode() {
return areaCode;
}
public void setAreaCode(String areaCode) {
this.areaCode = areaCode;
}
public String getStreet() {
return street;
}
public void setStreet(String street) {
this.street = street;
}
public String getStreetCode() {
return streetCode;
}
public void setStreetCode(String streetCode) {
this.streetCode = streetCode;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment