@ -4669,7 +4669,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid ( "ef3d8e8a-a88e-ca1f-e615-714c6bc48824" ) ,
ConcurrencyStamp = "650fa7efb97a48a98ae99655da5f10b5 " ,
ConcurrencyStamp = "094fcb0226fa43689bc1e01b7fcc4fac " ,
Cron = "0 0 8 26 *" ,
IsDisabled = false ,
IsRunning = false ,
@ -4679,7 +4679,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid ( "185c5968-e02b-267e-db2f-225fccfc9716" ) ,
ConcurrencyStamp = "887aa288e05f486a9fc47cee5c16042c " ,
ConcurrencyStamp = "692a0ce1268c4ad2a143785ae1ef1f32 " ,
Cron = "0 0/1 * * * ?" ,
IsDisabled = false ,
IsRunning = false ,
@ -4689,7 +4689,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid ( "1bb02f67-ed05-6cc1-1507-502e8f6c7a31" ) ,
ConcurrencyStamp = "beb2a2793d944668aa12b145a4fed0af " ,
ConcurrencyStamp = "49af54e1a4a54b1ebad0d22fbe54951a " ,
Cron = "0 0/1 * * * ?" ,
IsDisabled = false ,
IsRunning = false ,
@ -4699,7 +4699,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid ( "b9b9c79f-4894-474b-4f67-b1ec121c41e5" ) ,
ConcurrencyStamp = "8b0dcc505f594d2fae7a011bd3c9cb0b " ,
ConcurrencyStamp = "5572a8f023dd49139c0c23080ebb5a84 " ,
Cron = "0 0/30 * * * ? " ,
IsDisabled = false ,
IsRunning = false ,
@ -4709,7 +4709,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid ( "49b1da12-418c-544d-fe8b-be7e5b572452" ) ,
ConcurrencyStamp = "f7a92e81d64d410e92517b70198cb883 " ,
ConcurrencyStamp = "52f76a1d4eac41b5afcd13c54a5007a1 " ,
Cron = "0 0/30 * * * ? " ,
IsDisabled = false ,
IsRunning = false ,
@ -4719,7 +4719,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid ( "7a0dc087-a859-5863-eb6e-56f588bd779e" ) ,
ConcurrencyStamp = "7ad9de79ed1942d58f8bdcf0f31a0182 " ,
ConcurrencyStamp = "577bc27326b04aafabebb3d342b907b9 " ,
Cron = "0 0/30 * * * ? " ,
IsDisabled = false ,
IsRunning = false ,
@ -4729,7 +4729,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid ( "6f68fc8f-b058-c3f4-e07d-722c61f3f7fa" ) ,
ConcurrencyStamp = "d24e993891c84beead44c675d352d17c " ,
ConcurrencyStamp = "ea90c6a6b4a94e23ad1e7bcf7f7f9def " ,
Cron = "0 0/30 * * * ? " ,
IsDisabled = false ,
IsRunning = false ,
@ -4739,7 +4739,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid ( "f306b380-47e5-5c01-b902-67ca4113a8f4" ) ,
ConcurrencyStamp = "9db06d1651824c52ac748e70d9bdd22c " ,
ConcurrencyStamp = "03777851aec947d689487481665eb8b5 " ,
Cron = "0 0/30 * * * ? " ,
IsDisabled = false ,
IsRunning = false ,
@ -4749,7 +4749,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid ( "8f7dc23d-e2e9-3691-cfe9-545bb958e3f2" ) ,
ConcurrencyStamp = "897a0bf76eba4d298de6997ac5451ffa " ,
ConcurrencyStamp = "8b834d5fc51f43f6b032565624b06ef2 " ,
Cron = "0 0/30 * * * ? " ,
IsDisabled = false ,
IsRunning = false ,
@ -4759,7 +4759,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid ( "c1f71240-1b81-0107-8b23-ddc9811a3efe" ) ,
ConcurrencyStamp = "2b4446c3583e4503b39f7b62d6f35701 " ,
ConcurrencyStamp = "f9dc1b87b1454780897836ab200b5fbc " ,
Cron = "0 0/30 * * * ? " ,
IsDisabled = false ,
IsRunning = false ,
@ -4769,7 +4769,7 @@ namespace Win.Sfs.SettleAccount.Migrations
new
{
Id = new Guid ( "c09c23ea-815f-1b43-4476-2365a8d9a60b" ) ,
ConcurrencyStamp = "72bea3403a0a4ca5be463389628ee6fd " ,
ConcurrencyStamp = "3f3dd3d083ff40998c5d70a0d2e1c966 " ,
Cron = "0 0/30 * * * ? " ,
IsDisabled = false ,
IsRunning = false ,
@ -4822,7 +4822,8 @@ namespace Win.Sfs.SettleAccount.Migrations
. HasColumnType ( "datetime2" ) ;
b . Property < string > ( "CodeType" )
. HasColumnType ( "nvarchar(450)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < string > ( "ConcurrencyStamp" )
. IsConcurrencyToken ( )
@ -4830,7 +4831,8 @@ namespace Win.Sfs.SettleAccount.Migrations
. HasColumnType ( "nvarchar(50)" ) ;
b . Property < string > ( "Configcode" )
. HasColumnType ( "nvarchar(450)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < DateTime > ( "CreatedTime" )
. ValueGeneratedOnAdd ( )
@ -4847,44 +4849,52 @@ namespace Win.Sfs.SettleAccount.Migrations
. HasColumnType ( "int" ) ;
b . Property < string > ( "ErpToLoc" )
. HasColumnType ( "nvarchar(450)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < bool? > ( "IsReplenished" )
. HasColumnType ( "bit" ) ;
b . Property < string > ( "MatchNumber" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < string > ( "OrderNum" )
. HasColumnType ( "nvarchar(450)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < string > ( "PjsNum" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < decimal > ( "Qty" )
. HasColumnType ( "decimal(18,2)" ) ;
b . Property < string > ( "ReMark" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 1 2 8 )
. HasColumnType ( "nvarchar(128)" ) ;
b . Property < string > ( "RealCode" )
. HasColumnType ( "nvarchar(max)" ) ;
b . Property < string > ( "RealPartCode" )
. HasMaxLength ( 5 0 )
. HasColumnType ( "nvarchar(50 )" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64 )" ) ;
b . Property < string > ( "Seq" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < string > ( "SettlementPartCode" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < string > ( "SettlementVinCode" )
. HasColumnType ( "nvarchar(max)" ) ;
b . Property < string > ( "UniqueCode" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < DateTime > ( "UpdatedTime" )
. ValueGeneratedOnAddOrUpdate ( )
@ -4892,13 +4902,17 @@ namespace Win.Sfs.SettleAccount.Migrations
. HasDefaultValueSql ( "getdate()" ) ;
b . Property < string > ( "VinCode" )
. HasColumnType ( "nvarchar(450)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < string > ( "factory" )
. HasColumnType ( "nvarchar(450)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . HasKey ( "Id" ) ;
b . HasIndex ( "CreatedTime" ) ;
b . HasIndex ( "DeliverBillType" , "CodeType" , "RealPartCode" , "VinCode" , "ErpToLoc" , "OrderNum" , "factory" , "Configcode" )
. IsUnique ( )
. HasFilter ( "[DeliverBillType] IS NOT NULL AND [CodeType] IS NOT NULL AND [RealPartCode] IS NOT NULL AND [VinCode] IS NOT NULL AND [ErpToLoc] IS NOT NULL AND [OrderNum] IS NOT NULL AND [factory] IS NOT NULL AND [Configcode] IS NOT NULL" ) ;
@ -4919,10 +4933,12 @@ namespace Win.Sfs.SettleAccount.Migrations
. HasColumnType ( "datetime2" ) ;
b . Property < string > ( "ChangedBy" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < string > ( "ChangedNumber" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < decimal > ( "ChangedQty" )
. HasColumnType ( "decimal(18,2)" ) ;
@ -4936,13 +4952,16 @@ namespace Win.Sfs.SettleAccount.Migrations
. HasColumnType ( "int" ) ;
b . Property < string > ( "CodeType" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < string > ( "ConcurrencyStamp" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < string > ( "Configcode" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < DateTime > ( "CreatedTime" )
. ValueGeneratedOnAdd ( )
@ -4950,7 +4969,8 @@ namespace Win.Sfs.SettleAccount.Migrations
. HasDefaultValueSql ( "getdate()" ) ;
b . Property < string > ( "CustPartCode" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < int? > ( "DeliverBillType" )
. HasColumnType ( "int" ) ;
@ -4959,7 +4979,8 @@ namespace Win.Sfs.SettleAccount.Migrations
. HasColumnType ( "int" ) ;
b . Property < string > ( "ErpToLoc" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < bool? > ( "IsReplenished" )
. HasColumnType ( "bit" ) ;
@ -4968,50 +4989,63 @@ namespace Win.Sfs.SettleAccount.Migrations
. HasColumnType ( "int" ) ;
b . Property < string > ( "MatchNumber" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < string > ( "OrderNum" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < string > ( "PjsNum" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < decimal > ( "Qty" )
. HasColumnType ( "decimal(18,2)" ) ;
b . Property < string > ( "ReMark" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 1 2 8 )
. HasColumnType ( "nvarchar(128)" ) ;
b . Property < string > ( "RealCode" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < string > ( "RealPartCode" )
. HasMaxLength ( 5 0 )
. HasColumnType ( "nvarchar(50 )" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64 )" ) ;
b . Property < string > ( "Seq" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < string > ( "SettlementPartCode" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < string > ( "SettlementVinCode" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < string > ( "UniqueCode" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < DateTime > ( "UpdatedTime" )
. HasColumnType ( "datetime2" ) ;
b . Property < string > ( "VinCode" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < string > ( "factory" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . HasKey ( "Id" ) ;
b . HasIndex ( "ChangedTime" ) ;
b . ToTable ( "Set_VmiLog" ) ;
} ) ;
@ -5058,10 +5092,12 @@ namespace Win.Sfs.SettleAccount.Migrations
. HasColumnType ( "datetime2" ) ;
b . Property < string > ( "ChangedBy" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < string > ( "ChangedNumber" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < decimal > ( "ChangedQty" )
. HasColumnType ( "decimal(18,2)" ) ;
@ -5073,19 +5109,23 @@ namespace Win.Sfs.SettleAccount.Migrations
. HasColumnType ( "int" ) ;
b . Property < string > ( "CodeType" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < string > ( "ConcurrencyStamp" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < string > ( "Configcode" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < DateTime > ( "CreatedTime" )
. HasColumnType ( "datetime2" ) ;
b . Property < string > ( "CustPartCode" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < int? > ( "DeliverBillType" )
. HasColumnType ( "int" ) ;
@ -5094,7 +5134,8 @@ namespace Win.Sfs.SettleAccount.Migrations
. HasColumnType ( "int" ) ;
b . Property < string > ( "ErpToLoc" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < bool? > ( "IsReplenished" )
. HasColumnType ( "bit" ) ;
@ -5103,47 +5144,58 @@ namespace Win.Sfs.SettleAccount.Migrations
. HasColumnType ( "int" ) ;
b . Property < string > ( "MatchNumber" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < string > ( "OrderNum" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < string > ( "PjsNum" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < decimal > ( "Qty" )
. HasColumnType ( "decimal(18,2)" ) ;
b . Property < string > ( "ReMark" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 1 2 8 )
. HasColumnType ( "nvarchar(128)" ) ;
b . Property < string > ( "RealCode" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < string > ( "RealPartCode" )
. HasMaxLength ( 5 0 )
. HasColumnType ( "nvarchar(50 )" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64 )" ) ;
b . Property < string > ( "Seq" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < string > ( "SettlementPartCode" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < string > ( "SettlementVinCode" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < string > ( "UniqueCode" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < DateTime > ( "UpdatedTime" )
. HasColumnType ( "datetime2" ) ;
b . Property < string > ( "VinCode" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . Property < string > ( "factory" )
. HasColumnType ( "nvarchar(max)" ) ;
. HasMaxLength ( 6 4 )
. HasColumnType ( "nvarchar(64)" ) ;
b . HasKey ( "Id" ) ;