package cn.stylefeng.team.portal.modular.front.pojo.appcenter;

import cn.stylefeng.roses.kernel.file.api.format.FileUrlFormatProcess;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import cn.stylefeng.roses.kernel.rule.annotation.SimpleFieldFormat;
import lombok.Data;

import java.util.List;

@Data
public class AppCenterCategory {

    @ChineseDescription("主键id")
    private Long categoryId;

    @ChineseDescription("应用链接分类名称")
    private String categoryName;

    @ChineseDescription("图标类型：1-文件id，2-选择图片")
    private Integer iconType;

    @ChineseDescription("图标编码")
    private String iconCode;

    @ChineseDescription("分类的图标")
    @SimpleFieldFormat(processClass = FileUrlFormatProcess.class)
    private Long categoryIconFileId;

    @ChineseDescription("应用链接列表")
    private List<AppCenterLink> appLinkList;

}
