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.

273 lines
6.2 KiB
C#

10 months ago
using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.Areas.MvcShipping.Models.WMSFeeModel
{
[JsonObject]
public class WMSFeeModelModel : ModelObjectBase
{
private string _GID = string.Empty;
private string _ModelName = string.Empty;
private string _CustName = string.Empty;
private string _isCustOnly = string.Empty;
private string _Oper = string.Empty;
private string _Optime = string.Empty;
private string _VALIDITYFROM = string.Empty;
private string _VALIDITYTO = string.Empty;
private string _STORAGENAME = string.Empty;
[ModelDB]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string ModelName
{
get { return _ModelName; }
set { _ModelName = value; }
}
[ModelDB]
public string CustName
{
get { return _CustName; }
set { _CustName = value; }
}
[ModelDB]
public string IsCustOnly
{
get { return _isCustOnly; }
set { _isCustOnly = value; }
}
[ModelDB]
public string Oper
{
get { return _Oper; }
set { _Oper = value; }
}
[ModelDB]
public string Optime
{
get { return _Optime; }
set { _Optime = value; }
}
[ModelDB]
public string VALIDITYFROM
{
get { return _VALIDITYFROM; }
set { _VALIDITYFROM = value; }
}
[ModelDB]
public string VALIDITYTO
{
get { return _VALIDITYTO; }
set { _VALIDITYTO = value; }
}
[ModelDB]
public string STORAGENAME
{
get { return _STORAGENAME; }
set { _STORAGENAME = value; }
}
}
[JsonObject]
public class WMSFeeModelDetails : ModelObjectBase
{
private string _GID = string.Empty;
private string _PGID = string.Empty;
private string _GGID = string.Empty;
private string _JiFeiDengJi = string.Empty;
private string _ShouFuFangXiang = string.Empty;
private string _JiFeiQuJian = string.Empty;
private string _JiFeiDanJia = string.Empty;
private string _ZengZhiJia = string.Empty;
private string _FengDingJia = string.Empty;
private string _Optime = string.Empty;
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string PGID
{
get { return _PGID; }
set { _PGID = value; }
}
[ModelDB]
public string GGID
{
get { return _GGID; }
set { _GGID = value; }
}
[ModelDB]
public string JiFeiDengJi
{
get { return _JiFeiDengJi; }
set { _JiFeiDengJi = value; }
}
[ModelDB]
public string ShouFuFangXiang
{
get { return _ShouFuFangXiang; }
set { _ShouFuFangXiang = value; }
}
[ModelDB]
public string JiFeiDanJia
{
get { return _JiFeiDanJia; }
set { _JiFeiDanJia = value; }
}
[ModelDB]
public string JiFeiQuJian
{
get { return _JiFeiQuJian; }
set { _JiFeiQuJian = value; }
}
[ModelDB]
public string ZengZhiJia
{
get { return _ZengZhiJia; }
set { _ZengZhiJia = value; }
}
[ModelDB]
public string FengDingJia
{
get { return _FengDingJia; }
set { _FengDingJia = value; }
}
[ModelDB]
public string Optime
{
get { return _Optime; }
set { _Optime = value; }
}
public WMSFeeModelDetails()
{
TableName = "WMS_FEEMODEL_DETAILS";
}
}
[JsonObject]
public class LOADERFEEMODEL : ModelObjectBase
{
private string _GID = string.Empty;
private string _PGID = string.Empty;
private string _GGID = string.Empty;
private string _FEETYPE = string.Empty;
private string _FEEDERECTION = string.Empty;
private string _FEEUNIT = string.Empty;
private string _FEEPRICE = string.Empty;
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string PGID
{
get { return _PGID; }
set { _PGID = value; }
}
[ModelDB]
public string GGID
{
get { return _GGID; }
set { _GGID = value; }
}
[ModelDB]
public string FEETYPE
{
get { return _FEETYPE; }
set { _FEETYPE = value; }
}
[ModelDB]
public string FEEDIRECTION
{
get { return _FEEDERECTION; }
set { _FEEDERECTION = value; }
}
[ModelDB]
public string FEEUNIT
{
get { return _FEEUNIT; }
set { _FEEUNIT = value; }
}
[ModelDB]
public string FEEPRICE
{
get { return _FEEPRICE; }
set { _FEEPRICE = value; }
}
public LOADERFEEMODEL()
{
TableName = "WMS_FEEMODEL_LOADER";
}
}
[JsonObject]
public class PinMing{
public string GID { get; set; }
public string CODE { get; set; }
public string NAME { get; set; }
}
[JsonObject]
public class FEEPinMing
{
public string GID { get; set; }
public string CODE { get; set; }
public string NAME { get; set; }
public string detailNum { get; set; }
public string loaderNum { get; set; }
}
}