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/CommMng/Models/VesselModel.cs

128 lines
3.0 KiB
C#

3 years ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.CommMng.Models
{
[JsonObject]
public class VesselModel
{
#region private Fields
private string _vsid = String.Empty;
private string _vessel = String.Empty;
private string _cname = String.Empty;
private string _edicode = String.Empty;
private string _codeAndName = String.Empty;
#endregion
#region Public Properties
public string VSID
{
get { return _vsid; }
set { _vsid = value; }
}
public string VESSEL
{
get { return _vessel; }
set { _vessel = value; }
}
public string CNAME
{
get { return _cname; }
set { _cname = value; }
}
public string CodeAndName
{
get { return _codeAndName; }
set { _codeAndName = value; }
}
public string EDICODE
{
get { return _edicode; }
set { _edicode = value; }
}
2 years ago
public string SHIPAGENCY { get; set; }
3 years ago
#endregion
2 years ago
3 years ago
}
[JsonObject]
public class VoyNoModel
{
#region private Fields
private string _void = String.Empty;
private string _vsid = String.Empty;
private string _VOYNO = String.Empty;
private string _PORTLOAD = String.Empty;
private string _PORTDISCHARGE = String.Empty;
private string _ETD = String.Empty;
private string _ETA = String.Empty;
private string _CLOSINGDATE = String.Empty;
private string _ATD = String.Empty;
private string _CLOSEDOCDATE = String.Empty;
#endregion
#region Public Properties
public string VOID
{
get { return _void; }
set { _void = value; }
}
public string VSID
{
get { return _vsid; }
set { _vsid = value; }
}
public string VOYNO
{
get { return _VOYNO; }
set { _VOYNO = value; }
}
public string PORTLOAD
{
get { return _PORTLOAD; }
set { _PORTLOAD = value; }
}
public string PORTDISCHARGE
{
get { return _PORTDISCHARGE; }
set { _PORTDISCHARGE = value; }
}
public string ETD
{
get { return _ETD; }
set { _ETD = value; }
}
public string ETA
{
get { return _ETA; }
set { _ETA = value; }
}
public string CLOSINGDATE
{
get { return _CLOSINGDATE; }
set { _CLOSINGDATE = value; }
}
public string ATD
{
get { return _ATD; }
set { _ATD = value; }
}
public string CLOSEDOCDATE
{
get { return _CLOSEDOCDATE; }
set { _CLOSEDOCDATE = value; }
}
#endregion
}
}