package cn.stylefeng.team.project.modular.filing.pojo.page;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import cn.stylefeng.roses.kernel.rule.annotation.SimpleFieldFormat;
import cn.stylefeng.roses.kernel.sys.api.format.OrgNameFormatProcess;
import cn.stylefeng.roses.kernel.sys.api.format.UserNameFormatProcess;
import lombok.Data;

import java.util.Date;

@Data
public class BusinessDesignPageResultVo {

    @ChineseDescription("业务id")
    private Long businessId;

    @ChineseDescription("业务分类id")
    private Long businessCategoryId;

    @ChineseDescription("业务名称")
    private String businessName;

    @ChineseDescription("业务编码")
    private String businessCode;

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

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

    @ChineseDescription("模块的图标")
    private Long businessIconFileId;

    @ChineseDescription("创建时间")
    private Date createTime;

    @ChineseDescription("创建人")
    @SimpleFieldFormat(processClass = UserNameFormatProcess.class)
    private Long createUser;

    @ChineseDescription("归属部门id，一般用在统计")
    @SimpleFieldFormat(processClass = OrgNameFormatProcess.class)
    private Long ownershipDeptId;

    @ChineseDescription("数据表数量")
    private Integer tableCount = 0;

    @ChineseDescription("表单数量")
    private Integer formCount = 0;

    @ChineseDescription("字典数量")
    private Integer dictCount = 0;

    @ChineseDescription("视图数量")
    private Integer viewCount = 0;

}
