13 lines
5.0 KiB
C#
13 lines
5.0 KiB
C#
|
||
namespace MiaoYu.Repository.EntityFramework.Admin.Migrations.SeedsDatas.Datas;
|
||
|
||
public static class MigrationsTVerificationCodeModelBuilderExtensions
|
||
{
|
||
public static void Seed(this ModelBuilder modelBuilder)
|
||
{
|
||
// ===============================================表:T_Verification_Code 种子数据=============================================
|
||
modelBuilder.Entity<TVerificationCode>().HasData(new TVerificationCode(){Id=1,Code="959746",CreateAt=DateTime.Parse("2024/7/8 23:37:27"),CreateDay=20240708,ExpireAt=DateTime.Parse("2024/7/8 23:41:14"),Key="18761127117",Remarks="登录验证码",TenantId=Guid.Parse("00000000-0000-0000-0000-000000000000"),VerificationType=0},new TVerificationCode(){Id=2,Code="327537",CreateAt=DateTime.Parse("2024/7/9 3:32:26"),CreateDay=20240709,ExpireAt=DateTime.Parse("2024/7/9 3:37:24"),Key="18761127117",Remarks="登录验证码",TenantId=Guid.Parse("00000000-0000-0000-0000-000000000000"),VerificationType=0},new TVerificationCode(){Id=3,Code="347544",CreateAt=DateTime.Parse("2024/7/9 3:40:27"),CreateDay=20240709,ExpireAt=DateTime.Parse("2024/7/9 3:45:26"),Key="17521010998",Remarks="登录验证码",TenantId=Guid.Parse("00000000-0000-0000-0000-000000000000"),VerificationType=0},new TVerificationCode(){Id=4,Code="295455",CreateAt=DateTime.Parse("2024/7/9 23:17:11"),CreateDay=20240709,ExpireAt=DateTime.Parse("2024/7/9 23:22:10"),Key="17521010998",Remarks="登录验证码",TenantId=Guid.Parse("00000000-0000-0000-0000-000000000000"),VerificationType=0},new TVerificationCode(){Id=5,Code="136582",CreateAt=DateTime.Parse("2024/7/9 23:55:10"),CreateDay=20240709,ExpireAt=DateTime.Parse("2024/7/9 23:59:51"),Key="17521010998",Remarks="登录验证码",TenantId=Guid.Parse("00000000-0000-0000-0000-000000000000"),VerificationType=0},new TVerificationCode(){Id=6,Code="148088",CreateAt=DateTime.Parse("2024/7/10 18:21:23"),CreateDay=20240710,ExpireAt=DateTime.Parse("2024/7/10 18:26:22"),Key="18631081160",Remarks="登录验证码",TenantId=Guid.Parse("00000000-0000-0000-0000-000000000000"),VerificationType=0},new TVerificationCode(){Id=7,Code="407608",CreateAt=DateTime.Parse("2024/7/10 18:22:32"),CreateDay=20240710,ExpireAt=DateTime.Parse("2024/7/10 18:27:32"),Key="18631081160",Remarks="登录验证码",TenantId=Guid.Parse("00000000-0000-0000-0000-000000000000"),VerificationType=0},new TVerificationCode(){Id=8,Code="845877",CreateAt=DateTime.Parse("2024/7/10 18:24:29"),CreateDay=20240710,ExpireAt=DateTime.Parse("2024/7/10 18:29:29"),Key="18631081160",Remarks="登录验证码",TenantId=Guid.Parse("00000000-0000-0000-0000-000000000000"),VerificationType=0},new TVerificationCode(){Id=9,Code="761664",CreateAt=DateTime.Parse("2024/7/10 18:26:13"),CreateDay=20240710,ExpireAt=DateTime.Parse("2024/7/10 18:31:13"),Key="18631081160",Remarks="登录验证码",TenantId=Guid.Parse("00000000-0000-0000-0000-000000000000"),VerificationType=0},new TVerificationCode(){Id=10,Code="570114",CreateAt=DateTime.Parse("2024/7/10 18:28:09"),CreateDay=20240710,ExpireAt=DateTime.Parse("2024/7/10 18:33:08"),Key="18631081160",Remarks="登录验证码",TenantId=Guid.Parse("00000000-0000-0000-0000-000000000000"),VerificationType=0},new TVerificationCode(){Id=11,Code="886514",CreateAt=DateTime.Parse("2024/7/10 20:55:15"),CreateDay=20240710,ExpireAt=DateTime.Parse("2024/7/10 21:00:14"),Key="18631081161",Remarks="登录验证码",TenantId=Guid.Parse("00000000-0000-0000-0000-000000000000"),VerificationType=0},new TVerificationCode(){Id=12,Code="820042",CreateAt=DateTime.Parse("2024/7/10 21:52:33"),CreateDay=20240710,ExpireAt=DateTime.Parse("2024/7/10 21:57:32"),Key="18631081161",Remarks="登录验证码",TenantId=Guid.Parse("00000000-0000-0000-0000-000000000000"),VerificationType=0},new TVerificationCode(){Id=13,Code="344030",CreateAt=DateTime.Parse("2024/7/11 16:14:58"),CreateDay=20240711,ExpireAt=DateTime.Parse("2024/7/11 16:19:57"),Key="18631081161",Remarks="登录验证码",TenantId=Guid.Parse("00000000-0000-0000-0000-000000000000"),VerificationType=0},new TVerificationCode(){Id=14,Code="663122",CreateAt=DateTime.Parse("2024/7/14 23:01:45"),CreateDay=20240714,ExpireAt=DateTime.Parse("2024/7/14 23:06:44"),Key="18631081161",Remarks="登录验证码",TenantId=Guid.Parse("00000000-0000-0000-0000-000000000000"),VerificationType=0},new TVerificationCode(){Id=15,Code="875704",CreateAt=DateTime.Parse("2024/7/15 18:28:43"),CreateDay=20240715,ExpireAt=DateTime.Parse("2024/7/15 18:33:38"),Key="17521010998",Remarks="登录验证码",TenantId=Guid.Parse("00000000-0000-0000-0000-000000000000"),VerificationType=0},new TVerificationCode(){Id=16,Code="565779",CreateAt=DateTime.Parse("2024/7/16 18:46:32"),CreateDay=20240716,ExpireAt=DateTime.Parse("2024/7/16 18:51:32"),Key="17521010998",Remarks="登录验证码",TenantId=Guid.Parse("00000000-0000-0000-0000-000000000000"),VerificationType=0},new TVerificationCode(){Id=17,Code="523837",CreateAt=DateTime.Parse("2024/7/17 12:54:43"),CreateDay=20240717,ExpireAt=DateTime.Parse("2024/7/17 12:59:42"),Key="17521010998",Remarks="登录验证码",TenantId=Guid.Parse("00000000-0000-0000-0000-000000000000"),VerificationType=0});
|
||
|
||
}
|
||
}
|