44673626
3 years ago
7 changed files with 340 additions and 14627 deletions
File diff suppressed because it is too large
@ -1,62 +0,0 @@ |
|||||
using System; |
|
||||
using Microsoft.EntityFrameworkCore.Migrations; |
|
||||
|
|
||||
namespace Win.Sfs.SettleAccount.Migrations |
|
||||
{ |
|
||||
public partial class _20220207 : Migration |
|
||||
{ |
|
||||
protected override void Up(MigrationBuilder migrationBuilder) |
|
||||
{ |
|
||||
migrationBuilder.CreateTable( |
|
||||
name: "Set_WmsDetailReport", |
|
||||
columns: table => new |
|
||||
{ |
|
||||
Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
||||
LineNumber = table.Column<int>(type: "int", nullable: false), |
|
||||
Version = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|
||||
Client = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false), |
|
||||
Type = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|
||||
SettleCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|
||||
SaleCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|
||||
ClientCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|
||||
BillNum = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false), |
|
||||
MaterialCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|
||||
Qty = table.Column<decimal>(type: "decimal(18,2)", nullable: false), |
|
||||
OutputQty = table.Column<decimal>(type: "decimal(18,2)", nullable: false), |
|
||||
DiffQty = table.Column<decimal>(type: "decimal(18,2)", nullable: false), |
|
||||
Price = table.Column<decimal>(type: "decimal(18,2)", nullable: false), |
|
||||
Amt = table.Column<decimal>(type: "decimal(18,2)", nullable: false), |
|
||||
OutPutAmt = table.Column<decimal>(type: "decimal(18,2)", nullable: false), |
|
||||
DiffAmt = table.Column<decimal>(type: "decimal(18,2)", nullable: false), |
|
||||
MaterialGroupCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|
||||
MaterialGroup = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true), |
|
||||
MaterialDesc = table.Column<string>(type: "nvarchar(150)", maxLength: 150, nullable: true), |
|
||||
Remark1 = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|
||||
State = table.Column<int>(type: "int", nullable: false), |
|
||||
AccountDate = table.Column<DateTime>(type: "datetime2", nullable: false), |
|
||||
ExtraProperties = table.Column<string>(type: "nvarchar(max)", nullable: true), |
|
||||
ConcurrencyStamp = table.Column<string>(type: "nvarchar(40)", maxLength: 40, nullable: true), |
|
||||
CreationTime = table.Column<DateTime>(type: "datetime2", nullable: false), |
|
||||
CreatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), |
|
||||
LastModificationTime = table.Column<DateTime>(type: "datetime2", nullable: true), |
|
||||
LastModifierId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), |
|
||||
IsDeleted = table.Column<bool>(type: "bit", nullable: false, defaultValue: false), |
|
||||
DeleterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true), |
|
||||
DeletionTime = table.Column<DateTime>(type: "datetime2", nullable: true), |
|
||||
BranchId = table.Column<Guid>(type: "uniqueidentifier", nullable: false), |
|
||||
Enabled = table.Column<bool>(type: "bit", nullable: false), |
|
||||
Remark = table.Column<string>(type: "nvarchar(max)", nullable: true) |
|
||||
}, |
|
||||
constraints: table => |
|
||||
{ |
|
||||
table.PrimaryKey("PK_Set_WmsDetailReport", x => x.Id); |
|
||||
}); |
|
||||
} |
|
||||
|
|
||||
protected override void Down(MigrationBuilder migrationBuilder) |
|
||||
{ |
|
||||
migrationBuilder.DropTable( |
|
||||
name: "Set_WmsDetailReport"); |
|
||||
} |
|
||||
} |
|
||||
} |
|
Loading…
Reference in new issue