All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.didiglobal.logi.security.common.dto.dept.DeptDTO Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
package com.didiglobal.logi.security.common.dto.dept;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author cjm
 */
@Data
@ApiModel(description = "部门导入信息")
public class DeptDTO {

    @ApiModelProperty(value = "部门名", dataType = "String", required = true)
    private String deptName;

    @ApiModelProperty(value = "部门描述", dataType = "String", required = false)
    private String description;

    @ApiModelProperty(value = "子部门", dataType = "List", required = false)
    private List childDeptDTOList;

    public List getChildDeptDTOList() {
        if(childDeptDTOList == null) {
            childDeptDTOList = new ArrayList<>();
        }
        return childDeptDTOList;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy