修正项目

This commit is contained in:
admin
2021-01-05 11:11:28 +08:00
parent 56d6cc89e9
commit e9b4b307c9
93 changed files with 2524 additions and 156 deletions

View File

@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model
{
/// <summary>
/// 到货单
/// </summary>
public class Arrival
{
private int id;
private string arrivalCode;
private DateTime _date;
}
}

View File

@@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model.Model
{
public class ArrivalDetail
{
public int Autoid;
}
}

30
NX.ERP.Model/Model/Bin.cs Normal file
View File

@@ -0,0 +1,30 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model
{
public class Bin
{
private string _BinCode;
private string _BinName;
private string _IsPosGrade;
private bool _bPosEnd;
private string _WarehouseCode;
private int _VolumeLimit;
private int _WeightLimit;
private string _cMemo;
private string _cBarCode;
public string BinCode { get => _BinCode; set => _BinCode = value; }
public string BinName { get => _BinName; set => _BinName = value; }
public string IsPosGrade { get => _IsPosGrade; set => _IsPosGrade = value; }
public bool BPosEnd { get => _bPosEnd; set => _bPosEnd = value; }
public string WarehouseCode { get => _WarehouseCode; set => _WarehouseCode = value; }
public int VolumeLimit { get => _VolumeLimit; set => _VolumeLimit = value; }
public int WeightLimit { get => _WeightLimit; set => _WeightLimit = value; }
public string CMemo { get => _cMemo; set => _cMemo = value; }
public string CBarCode { get => _cBarCode; set => _cBarCode = value; }
}
}

View File

@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model
{
public class Customer
{
private string customerCode;
private string customerName;
private string postalCode;
private string address;
private string contract;
private string contractPhone;
public string CustomerCode { get => customerCode; set => customerCode = value; }
public string PostalCode { get => postalCode; set => postalCode = value; }
public string Address { get => address; set => address = value; }
public string Contract { get => contract; set => contract = value; }
public string ContractPhone { get => contractPhone; set => contractPhone = value; }
public string CustomerName { get => customerName; set => customerName = value; }
}
}

View File

@@ -0,0 +1,38 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model
{
public class Materiel
{
private string materielCode;
private string materielName;
private decimal length;
private decimal wide;
private decimal height;
private int volume;
private int weight;
private int unitPrice;
private string unitCode;
private string specsModel;
private int maxStock;
private int minStock;
private int aql;
public string MaterielCode { get => materielCode; set => materielCode = value; }
public string MaterielName { get => materielName; set => materielName = value; }
public decimal Length { get => length; set => length = value; }
public decimal Wide { get => wide; set => wide = value; }
public decimal Height { get => height; set => height = value; }
public int Volume { get => volume; set => volume = value; }
public int Weight { get => weight; set => weight = value; }
public int UnitPrice { get => unitPrice; set => unitPrice = value; }
public string UnitCode { get => unitCode; set => unitCode = value; }
public string SpecsModel { get => specsModel; set => specsModel = value; }
public int MaxStock { get => maxStock; set => maxStock = value; }
public int MinStock { get => minStock; set => minStock = value; }
public int Aql { get => aql; set => aql = value; }
}
}

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model
{
public class MaterielType
{
private string materielTypeCode;
private string materielTypeName;
public string MaterielTypeCode { get => materielTypeCode; set => materielTypeCode = value; }
public string MaterielTypeName { get => materielTypeName; set => materielTypeName = value; }
}
}

View File

@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model
{
public class Supplier
{
private string supplierCode;
private string supplierName;
private string postalCode;
private string address;
private string contract;
public string SupplierCode { get => supplierCode; set => supplierCode = value; }
public string SupplierName { get => supplierName; set => supplierName = value; }
public string PostalCode { get => postalCode; set => postalCode = value; }
public string Address { get => address; set => address = value; }
public string Contract { get => contract; set => contract = value; }
}
}

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model
{
public class Unit
{
private string unitCode;
private string unitName;
private bool mainUnit;
private string groupCode;
public string UnitCode { get => unitCode; set => unitCode = value; }
public string UnitName { get => unitName; set => unitName = value; }
public bool MainUnit { get => mainUnit; set => mainUnit = value; }
public string GroupCode { get => groupCode; set => groupCode = value; }
}
}

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NX.ERP.Model
{
public class Warehouse
{
private string _WarehouseCode;
private string _WarehouseName;
public string WarehouseCode { get => _WarehouseCode; set => _WarehouseCode = value; }
public string WarehouseName { get => _WarehouseName; set => _WarehouseName = value; }
}
}

View File

@@ -0,0 +1,72 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{5D012E0A-AFED-474E-81A9-5820890B1B29}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>NX.ERP.Model</RootNamespace>
<AssemblyName>NX.ERP.Model</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<LangVersion>7.3</LangVersion>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Model\Arrival.cs" />
<Compile Include="Model\ArrivalDetail.cs" />
<Compile Include="Model\Bin.cs" />
<Compile Include="Model\Customer.cs" />
<Compile Include="Model\Materiel.cs" />
<Compile Include="Model\MaterielType.cs" />
<Compile Include="Model\Supplier.cs" />
<Compile Include="Model\Unit.cs" />
<Compile Include="Model\Warehouse.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("NX.ERP.Model")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("NX.ERP.Model")]
[assembly: AssemblyCopyright("Copyright © 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 会使此程序集中的类型
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
//请将此类型的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("5d012e0a-afed-474e-81a9-5820890b1b29")]
// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]