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/MsBaseInfo/ProfitFieldSet.cs

256 lines
6.0 KiB
C#

2 years ago
using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.ProfitFieldSet
{
[JsonObject]
public class ProfitFieldSet
{
#region private Fields
private string _GID = Guid.NewGuid().ToString();
private bool _RMBDR =false;
private bool _RMBCR = false;
private bool _USDDR = false;
private bool _USDCR = false;
private bool _OTDR = false;
private bool _OTCR = false;
private bool _TTLDR = false;
private bool _TTLCR = false;
private bool _TTLPROFIT = false;
private bool _RMBPROFIT = false;
private bool _USDPROFIT = false;
private bool _OTPROFIT = false;
private bool _TEU = false;
private string _COMPANYID = String.Empty;
#endregion
#region Public Properties
public string GID
{
get { return _GID; }
set { _GID = value; }
}
public bool RMBDR
{
get { return _RMBDR; }
set { _RMBDR = value; }
}
public bool RMBCR
{
get { return _RMBCR; }
set { _RMBCR = value; }
}
public bool USDDR
{
get { return _USDDR; }
set { _USDDR = value; }
}
public bool USDCR
{
get { return _USDCR; }
set { _USDCR = value; }
}
public bool OTDR
{
get { return _OTDR; }
set { _OTDR = value; }
}
public bool OTCR
{
get { return _OTCR; }
set { _OTCR = value; }
}
public bool TTLDR
{
get { return _TTLDR; }
set { _TTLDR = value; }
}
public bool TTLCR
{
get { return _TTLCR; }
set { _TTLCR = value; }
}
public bool RMBPROFIT
{
get { return _RMBPROFIT; }
set { _RMBPROFIT = value; }
}
public bool USDPROFIT
{
get { return _USDPROFIT; }
set { _USDPROFIT = value; }
}
public bool OTPROFIT
{
get { return _OTPROFIT; }
set { _OTPROFIT = value; }
}
public bool TTLPROFIT
{
get { return _TTLPROFIT; }
set { _TTLPROFIT = value; }
}
public bool TEU
{
get { return _TEU; }
set { _TEU = value; }
}
public string COMPANYID
{
get { return _COMPANYID; }
set { _COMPANYID = value; }
}
public bool PROFITRATE { get; set; }
#endregion
}
[JsonObject]
public class ProfitMonthFieldSet
{
#region private Fields
private string _GID = Guid.NewGuid().ToString();
private bool _RMBDR = false;
private bool _RMBCR = false;
private bool _USDDR = false;
private bool _USDCR = false;
private bool _OTDR = false;
private bool _OTCR = false;
private bool _TTLDR = false;
private bool _TTLCR = false;
private bool _TTLPROFIT = false;
private bool _RMBPROFIT = false;
private bool _USDPROFIT = false;
private bool _OTPROFIT = false;
private bool _TEU = false;
private string _COMPANYID = String.Empty;
private string _MONTHNAME = String.Empty;
private int _MONTHNO = 0;
private string _MONTHSORT = "";
private string _MONTHFIELDNAME = String.Empty;
#endregion
#region Public Properties
public string GID
{
get { return _GID; }
set { _GID = value; }
}
public bool RMBDR
{
get { return _RMBDR; }
set { _RMBDR = value; }
}
public bool RMBCR
{
get { return _RMBCR; }
set { _RMBCR = value; }
}
public bool USDDR
{
get { return _USDDR; }
set { _USDDR = value; }
}
public bool USDCR
{
get { return _USDCR; }
set { _USDCR = value; }
}
public bool OTDR
{
get { return _OTDR; }
set { _OTDR = value; }
}
public bool OTCR
{
get { return _OTCR; }
set { _OTCR = value; }
}
public bool TTLDR
{
get { return _TTLDR; }
set { _TTLDR = value; }
}
public bool TTLCR
{
get { return _TTLCR; }
set { _TTLCR = value; }
}
public bool RMBPROFIT
{
get { return _RMBPROFIT; }
set { _RMBPROFIT = value; }
}
public bool USDPROFIT
{
get { return _USDPROFIT; }
set { _USDPROFIT = value; }
}
public bool OTPROFIT
{
get { return _OTPROFIT; }
set { _OTPROFIT = value; }
}
public bool TTLPROFIT
{
get { return _TTLPROFIT; }
set { _TTLPROFIT = value; }
}
public bool TEU
{
get { return _TEU; }
set { _TEU = value; }
}
public string COMPANYID
{
get { return _COMPANYID; }
set { _COMPANYID = value; }
}
public string MONTHNAME
{
get { return _MONTHNAME; }
set { _MONTHNAME = value; }
}
public int MONTHNO
{
get { return _MONTHNO; }
set { _MONTHNO = value; }
}
public string MONTHFIELDNAME
{
get { return _MONTHFIELDNAME; }
set { _MONTHFIELDNAME = value; }
}
public string MONTHSORT
{
get { return _MONTHSORT; }
set { _MONTHSORT = value; }
}
public bool PROFITRATE { get; set; }
#endregion
}
}