Security/Yuebon.Security.Seeds/OrganizeSeedData.cs

(开头部分) 2KB

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

using Yuebon.Commons.Attributes;

namespace Yuebon.Security.SeedData;

public class OrganizeSeedData : SeedDataEntity
{
    /// <summary>
    /// 种子数据
    /// </summary>
    /// <returns></returns>
    [IgnoreUpdate]
    public IEnumerable<Organize> HasData()
    {
        return new[] { 
            new Organize{
                Id= 9165855286886469,
                ParentId= 0,
                Layers= 1,
                EnCode= "Company",
                FullName= "上海越邦网络科技有限公司",
                ShortName= "越邦科技",
                CategoryId= "Group",
                ManagerId= "陈青文",
                TelePhone= "021-61974937",
                MobilePhone= "13800013800",
                WeChat= "cqinwn",
                Fax= null,
                Email= "admin@qq.com",
                AreaId= null,
                Address= "上海市松江区",
                AllowEdit= false,
                AllowDelete= false,
                SortCode= 1,
                DeleteMark= false,
                EnabledMark= true,
                Description= null,
                CreatorTime= DateTime.Now,
                CreatorUserId = 9165855286886368,
                LastModifyTime= null,
                LastModifyUserId= null,
                DeleteTime= null,
                DeleteUserId= null,
                TenantId=9242772129579077
            },
            new Organize{
                Id= 9165855286886470,
                ParentId= 9165855286886469,
                Layers= 2,
                EnCode= "Department",
                FullName= "开发部",
                ShortName= "越邦科技",
                CategoryId= "Department",
                ManagerId= "陈青文",
                TelePhone= "021-61974937",
                MobilePhone= "13800013800",
                WeChat= "cqinwn",
                Fax= null,
                Email= "admin@qq.com",
                AreaId= null,
                Address= "上海市松江区",
后面还有 17 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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