@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class DepartmentInfoDTO extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
DepartmentInfoDTO.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_DEPARTMENT_CODE |
static String |
SERIALIZED_NAME_DEPARTMENT_ID |
static String |
SERIALIZED_NAME_DEPARTMENT_NAME |
static String |
SERIALIZED_NAME_GMT_CREATE |
static String |
SERIALIZED_NAME_GMT_MODIFIED |
static String |
SERIALIZED_NAME_PARENT_DEPARTMENT_ID |
| 构造器和说明 |
|---|
DepartmentInfoDTO() |
| 限定符和类型 | 方法和说明 |
|---|---|
DepartmentInfoDTO |
departmentCode(String departmentCode) |
DepartmentInfoDTO |
departmentId(String departmentId) |
DepartmentInfoDTO |
departmentName(String departmentName) |
boolean |
equals(Object o) |
static DepartmentInfoDTO |
fromJson(String jsonString)
Create an instance of DepartmentInfoDTO given an JSON string
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getDepartmentCode()
部门编码
|
String |
getDepartmentId()
部门id
|
String |
getDepartmentName()
部门名称
|
String |
getGmtCreate()
创建时间
|
String |
getGmtModified()
修改时间
|
String |
getParentDepartmentId()
上级部门id,特殊值-1表示根部门
|
DepartmentInfoDTO |
gmtCreate(String gmtCreate) |
DepartmentInfoDTO |
gmtModified(String gmtModified) |
int |
hashCode() |
DepartmentInfoDTO |
parentDepartmentId(String parentDepartmentId) |
DepartmentInfoDTO |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setDepartmentCode(String departmentCode) |
void |
setDepartmentId(String departmentId) |
void |
setDepartmentName(String departmentName) |
void |
setGmtCreate(String gmtCreate) |
void |
setGmtModified(String gmtModified) |
void |
setParentDepartmentId(String parentDepartmentId) |
String |
toJson()
Convert an instance of DepartmentInfoDTO to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_DEPARTMENT_CODE
public static final String SERIALIZED_NAME_DEPARTMENT_NAME
public static final String SERIALIZED_NAME_PARENT_DEPARTMENT_ID
public DepartmentInfoDTO departmentCode(String departmentCode)
public void setDepartmentCode(String departmentCode)
public DepartmentInfoDTO departmentId(String departmentId)
public void setDepartmentId(String departmentId)
public DepartmentInfoDTO departmentName(String departmentName)
public void setDepartmentName(String departmentName)
public DepartmentInfoDTO gmtCreate(String gmtCreate)
public void setGmtCreate(String gmtCreate)
public DepartmentInfoDTO gmtModified(String gmtModified)
public void setGmtModified(String gmtModified)
public DepartmentInfoDTO parentDepartmentId(String parentDepartmentId)
@Nullable public String getParentDepartmentId()
public void setParentDepartmentId(String parentDepartmentId)
public DepartmentInfoDTO putAdditionalProperty(String key, Object value)
key - name of the propertyvalue - value of the propertypublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - name of the propertypublic static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to DepartmentInfoDTOpublic static DepartmentInfoDTO fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to DepartmentInfoDTOpublic String toJson()
Copyright © 2024. All rights reserved.