Security/Yuebon.Security.Seeds/MenuTenantSeedData.cs

(开头部分) 57KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using Yuebon.Commons.Attributes;
using Yuebon.Security.Models;

namespace Yuebon.Security.SeedData
{
    public class MenuTenantSeedData:SeedTenantDataEntity
    {
        /// <summary>
        /// 种子数据
        /// </summary>
        /// <returns></returns>
        [IgnoreUpdate]
        public IEnumerable<Menu> HasData(){
            return new[] {
                new Menu{
                    Id= 7612383675183980,
                    SystemTypeId= 9166287964471363,
                    ParentId= 0,
                    Layers= 1,
                    EnCode= "Cms",
                    FullName= "文章管理",
                    Icon= "news",
                    UrlAddress= "/cms",
                    Target= "",
                    MenuType= "C",
                    Component= "",
                    IsExpand= false,
                    IsShow= true,
                    IsFrame= false,
                    IsPublic= false,
                    AllowEdit= null,
                    AllowDelete= null,
                    SortCode= 990,
                    DeleteMark= false,
                    EnabledMark= true,
                    Description= "",
                    CreatorTime=DateTime.Now,
                    CreatorUserId = 9165855286886368,
                    LastModifyTime=null,
                    LastModifyUserId=null,
                    DeleteTime=null,
                    DeleteUserId=null,
                    TenantId=9242772129579077
                },
                new Menu{
                    Id= 7612464998158840,
                    SystemTypeId= 9166287964471363,
                    ParentId= 7612383675183980,
                    Layers= 2,
                    EnCode= "Articlecategory",
                    FullName= "文章分类",
                    Icon= "list",
                    UrlAddress= "/articlecategory/index",
                    Target= "",
                    MenuType= "M",
                    Component= "articlecategory/index",
                    IsExpand= false,
                    IsShow= true,
后面还有 2556 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。