package com.mini.capi.sys.domain;

import com.mini.capi.biz.domain.ApiMenus;
import com.mini.capi.biz.domain.ApiModule;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
public class ModuleMenuDTO implements Serializable {

    private String moduleName;
    private String moduleCode;
    private String icon;
    private String href;

    List<ApiMenus> menus = new ArrayList<>();

    public ModuleMenuDTO() {
    }

    public ModuleMenuDTO(String moduleName,String moduleCode,String icon,String href,List<ApiMenus> menus){
        this.moduleName = moduleName;
        this.moduleCode = moduleCode;
        this.icon = icon;
        this.href = href;
        this.menus = menus;
    }
}
