mirror of
https://github.com/stokebob/bnhtrade.git
synced 2026-03-19 06:27:15 +00:00
wip
This commit is contained in:
149
bnhtrade.gui/Form1.Designer.cs
generated
Normal file
149
bnhtrade.gui/Form1.Designer.cs
generated
Normal file
@@ -0,0 +1,149 @@
|
|||||||
|
namespace bnhtrade.gui
|
||||||
|
{
|
||||||
|
partial class Form1
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
tabControl1 = new TabControl();
|
||||||
|
tabPage1 = new TabPage();
|
||||||
|
tabPage3 = new TabPage();
|
||||||
|
comboBox1 = new ComboBox();
|
||||||
|
dtTmOrderSearch = new DateTimePicker();
|
||||||
|
label1 = new Label();
|
||||||
|
txtbxOrderSearch = new TextBox();
|
||||||
|
tabPage2 = new TabPage();
|
||||||
|
tabControl1.SuspendLayout();
|
||||||
|
tabPage3.SuspendLayout();
|
||||||
|
SuspendLayout();
|
||||||
|
//
|
||||||
|
// tabControl1
|
||||||
|
//
|
||||||
|
tabControl1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
||||||
|
tabControl1.Controls.Add(tabPage1);
|
||||||
|
tabControl1.Controls.Add(tabPage3);
|
||||||
|
tabControl1.Controls.Add(tabPage2);
|
||||||
|
tabControl1.Location = new Point(12, 12);
|
||||||
|
tabControl1.Name = "tabControl1";
|
||||||
|
tabControl1.SelectedIndex = 0;
|
||||||
|
tabControl1.Size = new Size(1010, 533);
|
||||||
|
tabControl1.TabIndex = 0;
|
||||||
|
tabControl1.SelectedIndexChanged += tabControl1_SelectedIndexChanged;
|
||||||
|
//
|
||||||
|
// tabPage1
|
||||||
|
//
|
||||||
|
tabPage1.Location = new Point(4, 24);
|
||||||
|
tabPage1.Name = "tabPage1";
|
||||||
|
tabPage1.Padding = new Padding(3);
|
||||||
|
tabPage1.Size = new Size(1002, 505);
|
||||||
|
tabPage1.TabIndex = 0;
|
||||||
|
tabPage1.Text = "Home";
|
||||||
|
tabPage1.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// tabPage3
|
||||||
|
//
|
||||||
|
tabPage3.Controls.Add(comboBox1);
|
||||||
|
tabPage3.Controls.Add(dtTmOrderSearch);
|
||||||
|
tabPage3.Controls.Add(label1);
|
||||||
|
tabPage3.Controls.Add(txtbxOrderSearch);
|
||||||
|
tabPage3.Location = new Point(4, 24);
|
||||||
|
tabPage3.Name = "tabPage3";
|
||||||
|
tabPage3.Padding = new Padding(3);
|
||||||
|
tabPage3.Size = new Size(1002, 505);
|
||||||
|
tabPage3.TabIndex = 2;
|
||||||
|
tabPage3.Text = "Receiving";
|
||||||
|
tabPage3.UseVisualStyleBackColor = true;
|
||||||
|
tabPage3.Click += tabPage3_Click;
|
||||||
|
//
|
||||||
|
// comboBox1
|
||||||
|
//
|
||||||
|
comboBox1.FormattingEnabled = true;
|
||||||
|
comboBox1.Location = new Point(580, 46);
|
||||||
|
comboBox1.Name = "comboBox1";
|
||||||
|
comboBox1.Size = new Size(214, 23);
|
||||||
|
comboBox1.TabIndex = 3;
|
||||||
|
//
|
||||||
|
// dtTmOrderSearch
|
||||||
|
//
|
||||||
|
dtTmOrderSearch.Location = new Point(356, 46);
|
||||||
|
dtTmOrderSearch.Name = "dtTmOrderSearch";
|
||||||
|
dtTmOrderSearch.Size = new Size(157, 23);
|
||||||
|
dtTmOrderSearch.TabIndex = 2;
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
label1.AutoSize = true;
|
||||||
|
label1.Location = new Point(31, 28);
|
||||||
|
label1.Name = "label1";
|
||||||
|
label1.Size = new Size(75, 15);
|
||||||
|
label1.TabIndex = 1;
|
||||||
|
label1.Text = "Order Search";
|
||||||
|
//
|
||||||
|
// txtbxOrderSearch
|
||||||
|
//
|
||||||
|
txtbxOrderSearch.Location = new Point(31, 46);
|
||||||
|
txtbxOrderSearch.Name = "txtbxOrderSearch";
|
||||||
|
txtbxOrderSearch.Size = new Size(268, 23);
|
||||||
|
txtbxOrderSearch.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// tabPage2
|
||||||
|
//
|
||||||
|
tabPage2.AccessibleName = "";
|
||||||
|
tabPage2.Location = new Point(4, 24);
|
||||||
|
tabPage2.Name = "tabPage2";
|
||||||
|
tabPage2.Padding = new Padding(3);
|
||||||
|
tabPage2.Size = new Size(1002, 505);
|
||||||
|
tabPage2.TabIndex = 1;
|
||||||
|
tabPage2.Text = "FBA Shipments";
|
||||||
|
tabPage2.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
|
// Form1
|
||||||
|
//
|
||||||
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||||
|
AutoScaleMode = AutoScaleMode.Font;
|
||||||
|
ClientSize = new Size(1034, 557);
|
||||||
|
Controls.Add(tabControl1);
|
||||||
|
Name = "Form1";
|
||||||
|
Text = "Form1";
|
||||||
|
Load += Form1_Load;
|
||||||
|
tabControl1.ResumeLayout(false);
|
||||||
|
tabPage3.ResumeLayout(false);
|
||||||
|
tabPage3.PerformLayout();
|
||||||
|
ResumeLayout(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private TabControl tabControl1;
|
||||||
|
private TabPage tabPage1;
|
||||||
|
private TabPage tabPage2;
|
||||||
|
private TabPage tabPage3;
|
||||||
|
private TextBox txtbxOrderSearch;
|
||||||
|
private Label label1;
|
||||||
|
private DateTimePicker dtTmOrderSearch;
|
||||||
|
private ComboBox comboBox1;
|
||||||
|
}
|
||||||
|
}
|
||||||
33
bnhtrade.gui/Form1.cs
Normal file
33
bnhtrade.gui/Form1.cs
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
namespace bnhtrade.gui
|
||||||
|
{
|
||||||
|
public partial class Form1 : Form
|
||||||
|
{
|
||||||
|
|
||||||
|
bool loadedTabIndex1 = false;
|
||||||
|
|
||||||
|
public Form1()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Form1_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void tabPage3_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
int index = (sender as TabControl).SelectedIndex;
|
||||||
|
|
||||||
|
if (index == 1)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
120
bnhtrade.gui/Form1.resx
Normal file
120
bnhtrade.gui/Form1.resx
Normal file
@@ -0,0 +1,120 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 2.0
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">2.0</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
|
<comment>This is a comment</comment>
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used for serialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="metadata">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="assembly">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
<xsd:attribute ref="xml:space" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>2.0</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
</root>
|
||||||
17
bnhtrade.gui/Program.cs
Normal file
17
bnhtrade.gui/Program.cs
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
namespace bnhtrade.gui
|
||||||
|
{
|
||||||
|
internal static class Program
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// The main entry point for the application.
|
||||||
|
/// </summary>
|
||||||
|
[STAThread]
|
||||||
|
static void Main()
|
||||||
|
{
|
||||||
|
// To customize application configuration such as set high DPI settings or default font,
|
||||||
|
// see https://aka.ms/applicationconfiguration.
|
||||||
|
ApplicationConfiguration.Initialize();
|
||||||
|
Application.Run(new Form1());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
11
bnhtrade.gui/bnhtrade.gui.csproj
Normal file
11
bnhtrade.gui/bnhtrade.gui.csproj
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>WinExe</OutputType>
|
||||||
|
<TargetFramework>net8.0-windows</TargetFramework>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
<UseWindowsForms>true</UseWindowsForms>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
@@ -13,6 +13,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "bnhtrade.ComTypeLib", "src\
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "lib", "lib", "{3D90C0F5-02E7-44E5-A89D-F5E217C6602F}"
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "lib", "lib", "{3D90C0F5-02E7-44E5-A89D-F5E217C6602F}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "bnhtrade.gui", "bnhtrade.gui\bnhtrade.gui.csproj", "{9FC75037-D13C-46F2-A3F4-5C13F0A8850E}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
@@ -31,6 +33,10 @@ Global
|
|||||||
{C3405E9D-B47A-4569-B6A3-BC9E7AA71EE5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{C3405E9D-B47A-4569-B6A3-BC9E7AA71EE5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{C3405E9D-B47A-4569-B6A3-BC9E7AA71EE5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{C3405E9D-B47A-4569-B6A3-BC9E7AA71EE5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{C3405E9D-B47A-4569-B6A3-BC9E7AA71EE5}.Release|Any CPU.Build.0 = Release|Any CPU
|
{C3405E9D-B47A-4569-B6A3-BC9E7AA71EE5}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{9FC75037-D13C-46F2-A3F4-5C13F0A8850E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{9FC75037-D13C-46F2-A3F4-5C13F0A8850E}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{9FC75037-D13C-46F2-A3F4-5C13F0A8850E}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{9FC75037-D13C-46F2-A3F4-5C13F0A8850E}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
|||||||
@@ -0,0 +1,54 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Data.SqlClient;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace bnhtrade.Core.Data.Database.Purchase
|
||||||
|
{
|
||||||
|
internal class PurchaseLineStatus : Connection
|
||||||
|
{
|
||||||
|
public List<Model.Purchase.PurchaseLineStatus> Read()
|
||||||
|
{
|
||||||
|
var returnList = new List<Model.Purchase.PurchaseLineStatus>();
|
||||||
|
|
||||||
|
using (SqlConnection conn = new SqlConnection(SqlConnectionString))
|
||||||
|
{
|
||||||
|
conn.Open();
|
||||||
|
|
||||||
|
using (SqlCommand cmd = new SqlCommand(@"
|
||||||
|
SELECT [PurchaseLineStatusID]
|
||||||
|
,[PurchaseLineStatus]
|
||||||
|
,[ListSort]
|
||||||
|
,[TimeStamp]
|
||||||
|
FROM [e2A].[dbo].[tblPurchaseLineStatus]
|
||||||
|
ORDER BY [ListSort]
|
||||||
|
", conn))
|
||||||
|
{
|
||||||
|
|
||||||
|
using (SqlDataReader reader = cmd.ExecuteReader())
|
||||||
|
{
|
||||||
|
if (!reader.HasRows)
|
||||||
|
{
|
||||||
|
// do something
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
while (reader.Read())
|
||||||
|
{
|
||||||
|
int id = reader.GetInt32(0);
|
||||||
|
string name = reader.GetString(1);
|
||||||
|
int lineSort = reader.GetInt32(2);
|
||||||
|
|
||||||
|
var returnItem = new Model.Purchase.PurchaseLineStatus(id, name,lineSort);
|
||||||
|
returnList.Add( returnItem );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return returnList;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
16
src/bnhtrade.Core/Logic/Purchase/PurchaseLineStatus.cs
Normal file
16
src/bnhtrade.Core/Logic/Purchase/PurchaseLineStatus.cs
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace bnhtrade.Core.Logic.Purchase
|
||||||
|
{
|
||||||
|
public class PurchaseLineStatus
|
||||||
|
{
|
||||||
|
public List<Model.Purchase.PurchaseLineStatus> ReadAll()
|
||||||
|
{
|
||||||
|
return new Data.Database.Purchase.PurchaseLineStatus().Read();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
18
src/bnhtrade.Core/Model/Purchase/PurchaseLineStatus.cs
Normal file
18
src/bnhtrade.Core/Model/Purchase/PurchaseLineStatus.cs
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
namespace bnhtrade.Core.Model.Purchase
|
||||||
|
{
|
||||||
|
public class PurchaseLineStatus
|
||||||
|
{
|
||||||
|
public PurchaseLineStatus(int statusId, string statusName, int listSort)
|
||||||
|
{
|
||||||
|
PurchaseLineStatusId = statusId;
|
||||||
|
PurchaseLineStatusName = statusName;
|
||||||
|
ListSort = listSort;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int PurchaseLineStatusId {get; private set;}
|
||||||
|
|
||||||
|
public string PurchaseLineStatusName { get; private set;}
|
||||||
|
|
||||||
|
public int ListSort { get; private set;}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -177,6 +177,7 @@
|
|||||||
<Compile Include="Data\Database\Import\AmazonFbaInventoryLedgerDetail.cs" />
|
<Compile Include="Data\Database\Import\AmazonFbaInventoryLedgerDetail.cs" />
|
||||||
<Compile Include="Data\Database\Product\ReadProduct.cs" />
|
<Compile Include="Data\Database\Product\ReadProduct.cs" />
|
||||||
<Compile Include="Data\Database\Product\ReadProductId.cs" />
|
<Compile Include="Data\Database\Product\ReadProductId.cs" />
|
||||||
|
<Compile Include="Data\Database\Purchase\PurchaseLineStatus.cs" />
|
||||||
<Compile Include="Data\Database\ReadRandomData.cs" />
|
<Compile Include="Data\Database\ReadRandomData.cs" />
|
||||||
<Compile Include="Data\Database\Sku\InsertSku.cs" />
|
<Compile Include="Data\Database\Sku\InsertSku.cs" />
|
||||||
<Compile Include="Data\Database\Sku\ReadSku.cs" />
|
<Compile Include="Data\Database\Sku\ReadSku.cs" />
|
||||||
@@ -236,6 +237,7 @@
|
|||||||
<Compile Include="Logic\Product\AmazonCompetitivePrice.cs" />
|
<Compile Include="Logic\Product\AmazonCompetitivePrice.cs" />
|
||||||
<Compile Include="Logic\Product\AmazonEstimateFee.cs" />
|
<Compile Include="Logic\Product\AmazonEstimateFee.cs" />
|
||||||
<Compile Include="Logic\Product\GetProductInfo.cs" />
|
<Compile Include="Logic\Product\GetProductInfo.cs" />
|
||||||
|
<Compile Include="Logic\Purchase\PurchaseLineStatus.cs" />
|
||||||
<Compile Include="Logic\Sku\GetSkuInfo.cs" />
|
<Compile Include="Logic\Sku\GetSkuInfo.cs" />
|
||||||
<Compile Include="Logic\Stock\StatusTypeBalance.cs" />
|
<Compile Include="Logic\Stock\StatusTypeBalance.cs" />
|
||||||
<Compile Include="Logic\Stock\SkuTransactionImport.cs" />
|
<Compile Include="Logic\Stock\SkuTransactionImport.cs" />
|
||||||
@@ -294,6 +296,7 @@
|
|||||||
<Compile Include="Model\Product\CompetitivePrice.cs" />
|
<Compile Include="Model\Product\CompetitivePrice.cs" />
|
||||||
<Compile Include="Model\Product\ProductInfo.cs" />
|
<Compile Include="Model\Product\ProductInfo.cs" />
|
||||||
<Compile Include="Model\Amazon\ProductCompetitivePrice.cs" />
|
<Compile Include="Model\Amazon\ProductCompetitivePrice.cs" />
|
||||||
|
<Compile Include="Model\Purchase\PurchaseLineStatus.cs" />
|
||||||
<Compile Include="Model\Sku\Price\DetailRequest.cs" />
|
<Compile Include="Model\Sku\Price\DetailRequest.cs" />
|
||||||
<Compile Include="Model\Sku\Price\DetailResponce.cs" />
|
<Compile Include="Model\Sku\Price\DetailResponce.cs" />
|
||||||
<Compile Include="Model\Sku\Price\PriceInfo.cs" />
|
<Compile Include="Model\Sku\Price\PriceInfo.cs" />
|
||||||
|
|||||||
Reference in New Issue
Block a user