namespace MiaoYu.Repository.EntityFramework.Admin.Migrations.SeedsDatas.Datas; public static class MigrationsTUserPhoneAccountModelBuilderExtensions { public static void Seed(this ModelBuilder modelBuilder) { // ===============================================表:T_User_Phone_Account 种子数据============================================= modelBuilder.Entity().HasData(new TUserPhoneAccount(){Id=2,CreatedAt=DateTime.Parse("2024/7/9 3:41:03"),LastLoginAt=DateTime.Parse("2024/7/9 3:41:03"),NikeName="新用户",PhoneNum="17521010998",TenantId=Guid.Parse("00000000-0000-0000-0000-000000000000"),UpdatedAt=DateTime.Parse("2024/7/9 3:41:03"),UserId=2,VerificationCode="347544"},new TUserPhoneAccount(){Id=3,CreatedAt=DateTime.Parse("2024/7/10 21:52:49"),LastLoginAt=DateTime.Parse("2024/7/10 21:52:49"),NikeName="新用户",PhoneNum="18631081161",TenantId=Guid.Parse("00000000-0000-0000-0000-000000000000"),UpdatedAt=DateTime.Parse("2024/7/10 21:52:49"),UserId=3,VerificationCode="820042"}); } }