ecology_maven/weaver/aiyh_pcn/async_organization/result/ApiAsyncConfigResult.java

122 lines
2.4 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package weaver.aiyh_pcn.async_organization.result;
/**
* @author EBU7-dev1-ayh
* @create 2021/7/23 0023 15:28
* api配置结果查询结果
*/
public class ApiAsyncConfigResult {
/**
* id
*/
private long id;
/**
* 同步类型0表示部门信息1表示人员信息2表示职位信息
*/
private int asyncType;
/**
* 第三方api返回的数据对应字段
*/
private String apiField;
/**
* api对应字段的值需要插入到的OA系统的字段
*/
private String oAField;
/**
* OA字段类型0表示系统自带的字段1表示用户自定义的字段
*/
private int fieldType;
/**
* 同步数据时的转换规则0表示不转换1表示固定值3表示自定义SQL转换
*/
private int changeRules;
/**
* 自定义的转换规则
*/
private String customRules;
public ApiAsyncConfigResult() {
}
public ApiAsyncConfigResult(long id, int asyncType, String apiField, String oAField, int fieldType, int changeRules, String customRules) {
this.id = id;
this.asyncType = asyncType;
this.apiField = apiField;
this.oAField = oAField;
this.fieldType = fieldType;
this.changeRules = changeRules;
this.customRules = customRules;
}
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public int getAsyncType() {
return asyncType;
}
public void setAsyncType(int asyncType) {
this.asyncType = asyncType;
}
public String getApiField() {
return apiField;
}
public void setApiField(String apiField) {
this.apiField = apiField;
}
public String getoAField() {
return oAField;
}
public void setoAField(String oAField) {
this.oAField = oAField;
}
public int getFieldType() {
return fieldType;
}
public void setFieldType(int fieldType) {
this.fieldType = fieldType;
}
public int getChangeRules() {
return changeRules;
}
public void setChangeRules(int changeRules) {
this.changeRules = changeRules;
}
public String getCustomRules() {
return customRules;
}
public void setCustomRules(String customRules) {
this.customRules = customRules;
}
@Override
public String toString() {
return "ApiAsyncConfigResult{" +
"id=" + id +
", asyncType=" + asyncType +
", apiField='" + apiField + '\'' +
", oAField='" + oAField + '\'' +
", fieldType=" + fieldType +
", changeRules=" + changeRules +
", customRules='" + customRules + '\'' +
'}';
}
}