You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DS7/DSWeb/Areas/MvcShipping/Models/MsCodeYardDataSet/YardDataSet.cs

87 lines
1.9 KiB
C#

3 years ago
using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.YardDataSet
{
[JsonObject]
public class CodeYardDataSet : ModelObjectBillHead
{
#region private Fields
private string _GID = Guid.NewGuid().ToString();
private string _COMPANYID = String.Empty;
private string _YARDCODE = String.Empty;
private string _YARDCODEREF = String.Empty;
private string _YARD = String.Empty;
private string _LOGINNAME = String.Empty;
private string _PASSWORD = String.Empty;
#endregion
public CodeYardDataSet()
{
TableName = "code_yarddata_set";
}
#region Public Properties
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string COMPANYID
{
get { return _COMPANYID; }
set { _COMPANYID = value; }
}
[ModelDB]
public string YARDCODE
{
get { return _YARDCODE; }
set { _YARDCODE = value; }
}
public string YARDCODEREF
{
get { return _YARDCODEREF; }
set { _YARDCODEREF = value; }
}
[ModelDB]
public string YARD
{
get { return _YARD; }
set { _YARD = value; }
}
[ModelDB]
public string LOGINNAME
{
get { return _LOGINNAME; }
set { _LOGINNAME = value; }
}
[ModelDB]
public string PASSWORD
{
get { return _PASSWORD; }
set { _PASSWORD = value; }
}
#endregion
}
}