CloudGamingAdmin/admin-server/CloudGaming.Repository.Admin/Migrations/SeedsDatas/Datas/MigrationsSysUserModelBuilderExtensions.cs
2024-11-15 02:58:48 +08:00

12 lines
3.8 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace CloudGaming.Repository.Admin.Migrations.SeedsDatas.Datas;
public static class MigrationsSysUserModelBuilderExtensions
{
public static void Seed(this ModelBuilder modelBuilder)
{
// ===============================================表sys_user 种子数据=============================================
modelBuilder.Entity<SysUser>().HasData(new SysUser() { Id = Guid.Parse("5722af0f-2366-4fc9-62d5-08da00e3d8a0"), CreationTime = DateTime.Parse("2022/3/8 17:13:02"), CreatorUserId = null, DeleteLock = bool.Parse("False"), Email = "12345678900@qq.com", LastModificationTime = DateTime.Parse("2022/3/8 17:13:02"), LastModifierUserId = null, LoginName = "杜甫", Name = "杜甫", OrganizationId = 7, Password = "46F94C8DE14FB36680850768FF1B7F2A", Phone = "12345678900" }, new SysUser() { Id = Guid.Parse("4fd6a740-0cf1-4975-62d6-08da00e3d8a0"), CreationTime = DateTime.Parse("2022/3/8 17:14:13"), CreatorUserId = null, DeleteLock = bool.Parse("False"), Email = "12345678900@qq.com", LastModificationTime = DateTime.Parse("2022/3/8 17:14:13"), LastModifierUserId = null, LoginName = "李商隐", Name = "李商隐", OrganizationId = 7, Password = "46F94C8DE14FB36680850768FF1B7F2A", Phone = "12345678900" }, new SysUser() { Id = Guid.Parse("e225e163-31c9-4da9-62d7-08da00e3d8a0"), CreationTime = DateTime.Parse("2022/3/8 17:15:07"), CreatorUserId = null, DeleteLock = bool.Parse("False"), Email = "12345678900@qq.com", LastModificationTime = DateTime.Parse("2022/3/8 17:15:07"), LastModifierUserId = null, LoginName = "苏轼", Name = "苏轼", OrganizationId = 7, Password = "46F94C8DE14FB36680850768FF1B7F2A", Phone = "12345678900" }, new SysUser() { Id = Guid.Parse("3739f349-7995-4c63-62d8-08da00e3d8a0"), CreationTime = DateTime.Parse("2022/3/8 17:17:58"), CreatorUserId = null, DeleteLock = bool.Parse("False"), Email = "12345678900@qq.com", LastModificationTime = DateTime.Parse("2022/3/8 17:17:58"), LastModifierUserId = null, LoginName = "白居易", Name = "白居易", OrganizationId = 7, Password = "46F94C8DE14FB36680850768FF1B7F2A", Phone = "12345678900" }, new SysUser() { Id = Guid.Parse("a3f9784c-5f00-4ec9-62d9-08da00e3d8a0"), CreationTime = DateTime.Parse("2022/3/8 17:19:22"), CreatorUserId = null, DeleteLock = bool.Parse("False"), Email = "12345678900@qq.com", LastModificationTime = DateTime.Parse("2022/3/8 17:19:22"), LastModifierUserId = null, LoginName = "陶渊明 ", Name = "陶渊明 ", OrganizationId = 7, Password = "46F94C8DE14FB36680850768FF1B7F2A", Phone = "12345678900" }, new SysUser() { Id = Guid.Parse("a1b6dafb-2b6a-4ff9-62da-08da00e3d8a0"), CreationTime = DateTime.Parse("2022/3/8 17:19:55"), CreatorUserId = null, DeleteLock = bool.Parse("False"), Email = "12345678900@qq.com", LastModificationTime = DateTime.Parse("2022/12/4 12:06:00"), LastModifierUserId = Guid.Parse("0198459e-2034-4533-b843-5d227ad20740"), LoginName = "屈原", Name = "屈原", OrganizationId = 7, Password = "46F94C8DE14FB36680850768FF1B7F2A", Phone = "12345678900" }, new SysUser() { Id = Guid.Parse("0198459e-2034-4533-b843-5d227ad20740"), CreationTime = DateTime.Parse("2017/4/6 19:55:53"), CreatorUserId = null, DeleteLock = bool.Parse("True"), Email = "1396510655@qq.com", LastModificationTime = DateTime.Parse("2022/3/8 17:27:36"), LastModifierUserId = null, LoginName = "admin", Name = "超级管理员", OrganizationId = 7, Password = "E10ADC3949BA59ABBE56E057F20F883E", Phone = "10000000000" }, new SysUser() { Id = Guid.Parse("ac18f496-e93d-42f0-b59e-e321acc85335"), CreationTime = DateTime.Parse("2017/4/6 19:55:53"), CreatorUserId = null, DeleteLock = bool.Parse("True"), Email = "12345678900@live.com", LastModificationTime = DateTime.Parse("2022/3/8 10:12:14"), LastModifierUserId = null, LoginName = "libai", Name = "李白", OrganizationId = 7, Password = "E10ADC3949BA59ABBE56E057F20F883E", Phone = "12345678900" });
}
}