class StoreMenuVO extends StoreMenu {

    @ApiModelProperty(value = "子菜单")
    private List<StoreMenuVO> children = new ArrayList<>();

    public StoreMenuVO() {

    }

    public StoreMenuVO(StoreMenu storeMenu) {
        BeanUtil.copyProperties(storeMenu, this);
    }

    public List<StoreMenuVO> getChildren() {<FILL_FUNCTION_BODY>}
}

        if (children != null) {
            children.sort(new Comparator<StoreMenuVO>() {
                @Override
                public int compare(StoreMenuVO o1, StoreMenuVO o2) {
                    return o1.getSortOrder().compareTo(o2.getSortOrder());
                }
            });
            return children;
        }
        return null;
    
<methods>public non-sealed void <init>() <variables>private java.lang.String frontRoute,private java.lang.Integer level,private java.lang.String name,private java.lang.String parentId,private java.lang.String path,private java.lang.String permission,private static final long serialVersionUID,private java.lang.Double sortOrder,private java.lang.String title