HuanMengAdmin/admin-server/MiaoYu.Repository.Admin/Migrations/SeedsDatas/Datas/MigrationsSysUserRoleModelBuilderExtensions.cs
2024-07-18 02:27:50 +08:00

12 lines
3.4 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 MiaoYu.Repository.Admin.Migrations.SeedsDatas.Datas;
public static class MigrationsSysUserRoleModelBuilderExtensions
{
public static void Seed(this ModelBuilder modelBuilder)
{
// ===============================================表sys_user_role 种子数据=============================================
modelBuilder.Entity<SysUserRole>().HasData(new SysUserRole() { Id = Guid.Parse("3da871b8-fda5-4935-b532-0ff0b3c3913b"), CreationTime = DateTime.Parse("2022/12/4 12:06:00"), CreatorUserId = Guid.Parse("0198459e-2034-4533-b843-5d227ad20740"), LastModificationTime = DateTime.Parse("2022/6/21 19:59:02"), LastModifierUserId = null, RoleId = Guid.Parse("40ff1844-c099-4061-98e0-cd6e544fcfd3"), UserId = Guid.Parse("a1b6dafb-2b6a-4ff9-62da-08da00e3d8a0") }, new SysUserRole() { Id = Guid.Parse("ce9f61ac-79d8-426f-9066-36962c017bf6"), CreationTime = DateTime.Parse("2022/3/8 17:13:02"), CreatorUserId = null, LastModificationTime = DateTime.Parse("2022/3/8 17:13:02"), LastModifierUserId = null, RoleId = Guid.Parse("40ff1844-c099-4061-98e0-cd6e544fcfd3"), UserId = Guid.Parse("5722af0f-2366-4fc9-62d5-08da00e3d8a0") }, new SysUserRole() { Id = Guid.Parse("dbc656a6-4264-417d-97d8-577e1218feca"), CreationTime = DateTime.Parse("2022/3/8 17:19:22"), CreatorUserId = null, LastModificationTime = DateTime.Parse("2022/3/8 17:19:22"), LastModifierUserId = null, RoleId = Guid.Parse("40ff1844-c099-4061-98e0-cd6e544fcfd3"), UserId = Guid.Parse("a3f9784c-5f00-4ec9-62d9-08da00e3d8a0") }, new SysUserRole() { Id = Guid.Parse("e5396c4c-2b8c-468d-94c3-8d5be0e559c1"), CreationTime = DateTime.Parse("2022/10/20 21:02:11"), CreatorUserId = Guid.Parse("0198459e-2034-4533-b843-5d227ad20740"), LastModificationTime = DateTime.Parse("2022/3/8 17:17:58"), LastModifierUserId = null, RoleId = Guid.Parse("40ff1844-c099-4061-98e0-cd6e544fcfd3"), UserId = Guid.Parse("3739f349-7995-4c63-62d8-08da00e3d8a0") }, new SysUserRole() { Id = Guid.Parse("a9f8a23b-8c2f-43cc-97af-8ed6f4c4d097"), CreationTime = DateTime.Parse("2022/3/8 17:14:13"), CreatorUserId = null, LastModificationTime = DateTime.Parse("2022/3/8 17:14:13"), LastModifierUserId = null, RoleId = Guid.Parse("40ff1844-c099-4061-98e0-cd6e544fcfd3"), UserId = Guid.Parse("4fd6a740-0cf1-4975-62d6-08da00e3d8a0") }, new SysUserRole() { Id = Guid.Parse("982f0a52-e8c8-4b9f-91c7-beb592d6502d"), CreationTime = DateTime.Parse("2022/12/12 10:36:51"), CreatorUserId = Guid.Parse("0198459e-2034-4533-b843-5d227ad20740"), LastModificationTime = DateTime.Parse("2022/3/8 17:15:07"), LastModifierUserId = null, RoleId = Guid.Parse("40ff1844-c099-4061-98e0-cd6e544fcfd3"), UserId = Guid.Parse("e225e163-31c9-4da9-62d7-08da00e3d8a0") }, new SysUserRole() { Id = Guid.Parse("1c9f81df-c8a0-45bb-a272-c84bd3af0c19"), CreationTime = DateTime.Parse("2022/3/8 17:29:22"), CreatorUserId = null, LastModificationTime = DateTime.Parse("2022/3/8 17:29:22"), LastModifierUserId = null, RoleId = Guid.Parse("18fa4771-6f58-46a3-80d2-6f0f5e9972e3"), UserId = Guid.Parse("0198459e-2034-4533-b843-5d227ad20740") }, new SysUserRole() { Id = Guid.Parse("fa1fdf14-3847-4194-894c-cd935a3dd9e6"), CreationTime = DateTime.Parse("2022/3/8 10:13:35"), CreatorUserId = null, LastModificationTime = DateTime.Parse("2022/3/8 10:13:35"), LastModifierUserId = null, RoleId = Guid.Parse("40ff1844-c099-4061-98e0-cd6e544fcfd3"), UserId = Guid.Parse("ac18f496-e93d-42f0-b59e-e321acc85335") });
}
}