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.
425 lines
11 KiB
C#
425 lines
11 KiB
C#
using System;
|
|
using HcUtility.Core;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace DSWeb.Areas.TruckMng.Models.Comm
|
|
{
|
|
[JsonObject]
|
|
public class MsChFee : ModelObjectBillBody
|
|
{
|
|
#region private Fields
|
|
|
|
private string _gId = String.Empty;
|
|
private string _bsNo = String.Empty;
|
|
private decimal _feeStatus = 0;
|
|
private string _feeStatus_Ref = string.Empty;
|
|
private decimal _feeType = 0;
|
|
private string _feeType_Ref = string.Empty;
|
|
private string _feeName = String.Empty;
|
|
private string _feeName_Ref = String.Empty;
|
|
private string _feeDescription = String.Empty;
|
|
private string _customerType = String.Empty;
|
|
private string _customerName = String.Empty;
|
|
private string _customerName_Ref = String.Empty;
|
|
private string _unit = String.Empty;
|
|
private decimal _unitPrice = 0;
|
|
private decimal _quantity = 0;
|
|
private decimal _amount = 0;
|
|
private string _currency = "RMB";
|
|
private decimal _exChangerate = 1;
|
|
private string _reason = String.Empty;
|
|
private string _remark = String.Empty;
|
|
private decimal _commissionrate = 0;
|
|
private decimal _settlement = 0;
|
|
private decimal _invoice = 0;
|
|
private decimal _orderAmount = 0;
|
|
private decimal _orderInvoice = 0;
|
|
private DateTime? _submitDate = null;
|
|
private string _auditoperator = String.Empty;
|
|
private DateTime? _auditDate = null;
|
|
private string _enteroPerator = String.Empty;
|
|
private DateTime? _enterDate = null;
|
|
private string _debitNo = String.Empty;
|
|
private string _isDebit = "0";
|
|
private string _isOpen = "0";
|
|
private string _isAdvancedpay = "0";
|
|
private string _sort = "0";
|
|
private string _isInvoice = "0";
|
|
private string _feeFrt = String.Empty;
|
|
private string _isCrmOrderFee = "0";
|
|
private decimal _auditStatus = 0;
|
|
private string _invoiceNum = String.Empty;
|
|
private string _chequeNum = String.Empty;
|
|
private string _wmsOutBsNo = String.Empty;
|
|
private decimal _taxrate = 0;
|
|
private decimal _acctaxrate = 0;
|
|
|
|
private string _BXGID = String.Empty;
|
|
|
|
private string _MODIFIEDTIME = String.Empty;
|
|
private string _MODIFIEDUSER = String.Empty;
|
|
public string EnterOperatorName { get; set; }
|
|
#endregion
|
|
|
|
#region Public Properties
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string GId
|
|
{
|
|
get { return _gId; }
|
|
set { _gId = value; }
|
|
}
|
|
[ModelDB(MDBType = ModelDBOprationType.All)]
|
|
public string BsNo
|
|
{
|
|
get { return _bsNo; }
|
|
set { _bsNo = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal FeeStatus
|
|
{
|
|
get { return _feeStatus; }
|
|
set { _feeStatus = value; }
|
|
}
|
|
|
|
public string FeeStatus_Ref
|
|
{
|
|
get { return _feeStatus_Ref; }
|
|
set { _feeStatus_Ref = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public decimal FeeType
|
|
{
|
|
get { return _feeType; }
|
|
set { _feeType = value; }
|
|
}
|
|
public string FeeType_Ref
|
|
{
|
|
get { return _feeType_Ref; }
|
|
set { _feeType_Ref = value; }
|
|
}
|
|
[ModelDB]
|
|
public string FeeName
|
|
{
|
|
get { return _feeName; }
|
|
set { _feeName = value; }
|
|
}
|
|
public string FeeName_Ref
|
|
{
|
|
get { return _feeName_Ref; }
|
|
set { _feeName_Ref = value; }
|
|
}
|
|
|
|
public string FeeDescription
|
|
{
|
|
get { return _feeDescription; }
|
|
set { _feeDescription = value; }
|
|
}
|
|
|
|
public string CustomerType
|
|
{
|
|
get { return _customerType; }
|
|
set { _customerType = value; }
|
|
}
|
|
[ModelDB]
|
|
public string CustomerName
|
|
{
|
|
get { return _customerName; }
|
|
set { _customerName = value; }
|
|
}
|
|
public string CustomerName_Ref
|
|
{
|
|
get { return _customerName_Ref; }
|
|
set { _customerName_Ref = value; }
|
|
}
|
|
[ModelDB]
|
|
public string Unit
|
|
{
|
|
get { return _unit; }
|
|
set { _unit = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal UnitPrice
|
|
{
|
|
get { return _unitPrice; }
|
|
set { _unitPrice = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal Quantity
|
|
{
|
|
get { return _quantity; }
|
|
set { _quantity = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal Amount
|
|
{
|
|
get { return _amount; }
|
|
set { _amount = value; }
|
|
}
|
|
[ModelDB]
|
|
public string Currency
|
|
{
|
|
get { return _currency; }
|
|
set { _currency = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal ExChangerate
|
|
{
|
|
get { return _exChangerate; }
|
|
set { _exChangerate = value; }
|
|
}
|
|
|
|
public string Reason
|
|
{
|
|
get { return _reason; }
|
|
set { _reason = value; }
|
|
}
|
|
[ModelDB]
|
|
public string Remark
|
|
{
|
|
get { return _remark; }
|
|
set { _remark = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public decimal Commissionrate
|
|
{
|
|
get { return _commissionrate; }
|
|
set { _commissionrate = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public decimal Settlement
|
|
{
|
|
get { return _settlement; }
|
|
set { _settlement = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public decimal Invoice
|
|
{
|
|
get { return _invoice; }
|
|
set { _invoice = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public decimal OrderAmount
|
|
{
|
|
get { return _orderAmount; }
|
|
set { _orderAmount = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public decimal OrderInvoice
|
|
{
|
|
get { return _orderInvoice; }
|
|
set { _orderInvoice = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal Taxrate
|
|
{
|
|
get { return _taxrate; }
|
|
set { _taxrate = value; }
|
|
}
|
|
[ModelDB]
|
|
public decimal AccTaxrate
|
|
{
|
|
get { return _acctaxrate; }
|
|
set { _acctaxrate = value; }
|
|
}
|
|
|
|
|
|
public DateTime? SubmitDate
|
|
{
|
|
get { return _submitDate; }
|
|
set { _submitDate = value; }
|
|
}
|
|
|
|
public string Auditoperator
|
|
{
|
|
get { return _auditoperator; }
|
|
set { _auditoperator = value; }
|
|
}
|
|
|
|
public DateTime? AuditDate
|
|
{
|
|
get { return _auditDate; }
|
|
set { _auditDate = value; }
|
|
}
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string EnteroPerator
|
|
{
|
|
get { return _enteroPerator; }
|
|
set { _enteroPerator = value; }
|
|
}
|
|
[ModelDB]
|
|
public DateTime? EnterDate
|
|
{
|
|
get { return _enterDate; }
|
|
set { _enterDate = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public string MODIFIEDTIME
|
|
{
|
|
get { return _MODIFIEDTIME; }
|
|
set { _MODIFIEDTIME = value; }
|
|
}
|
|
[ModelDB]
|
|
public string MODIFIEDUSER
|
|
{
|
|
get { return _MODIFIEDUSER; }
|
|
set { _MODIFIEDUSER = value; }
|
|
}
|
|
|
|
public string DebitNo
|
|
{
|
|
get { return _debitNo; }
|
|
set { _debitNo = value; }
|
|
}
|
|
|
|
public string IsDebit
|
|
{
|
|
get { return _isDebit; }
|
|
set { _isDebit = value; }
|
|
}
|
|
|
|
public string IsOpen
|
|
{
|
|
get { return _isOpen; }
|
|
set { _isOpen = value; }
|
|
}
|
|
|
|
public string IsAdvancedpay
|
|
{
|
|
get { return _isAdvancedpay; }
|
|
set { _isAdvancedpay = value; }
|
|
}
|
|
|
|
public string Sort
|
|
{
|
|
get { return _sort; }
|
|
set { _sort = value; }
|
|
}
|
|
[ModelDB]
|
|
public string IsInvoice
|
|
{
|
|
get { return _isInvoice; }
|
|
set { _isInvoice = value; }
|
|
}
|
|
[ModelDB]
|
|
public string FeeFrt
|
|
{
|
|
get { return _feeFrt; }
|
|
set { _feeFrt = value; }
|
|
}
|
|
|
|
public string IsCrmOrderFee
|
|
{
|
|
get { return _isCrmOrderFee; }
|
|
set { _isCrmOrderFee = value; }
|
|
}
|
|
|
|
[ModelDB]
|
|
public decimal AuditStatus
|
|
{
|
|
get { return _auditStatus; }
|
|
set { _auditStatus = value; }
|
|
}
|
|
|
|
public string InvoiceNum
|
|
{
|
|
get { return _invoiceNum; }
|
|
set { _invoiceNum = value; }
|
|
}
|
|
|
|
public string ChequeNum
|
|
{
|
|
get { return _chequeNum; }
|
|
set { _chequeNum = value; }
|
|
}
|
|
|
|
public string WmsOutBsNo
|
|
{
|
|
get { return _wmsOutBsNo; }
|
|
set { _wmsOutBsNo = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
public MsChFee()
|
|
{
|
|
TableName = "ch_fee";
|
|
}
|
|
|
|
override public string GetBillNoFieldName()
|
|
{
|
|
return "BsNo";
|
|
}
|
|
}
|
|
|
|
[JsonObject]
|
|
public class MsChFee_ADL: MsChFee
|
|
{
|
|
private string _customerType = String.Empty;
|
|
[ModelDB]
|
|
public string CustomerType
|
|
{
|
|
get { return _customerType; }
|
|
set { _customerType = value; }
|
|
}
|
|
|
|
}
|
|
|
|
[JsonObject]
|
|
public class MsChFeeDo : ModelObjectBillBody
|
|
{
|
|
#region private Fields
|
|
private string _Gid = String.Empty;
|
|
private string _bsno = String.Empty;
|
|
private string _customername = String.Empty;
|
|
private string _feeid = String.Empty;
|
|
private string _feename = String.Empty;
|
|
private string _Doamount = String.Empty;
|
|
private string _feetype = String.Empty;
|
|
private string _createtime = String.Empty;
|
|
#endregion
|
|
|
|
#region Public Properties
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string Gid { get; set; }
|
|
[ModelDB]
|
|
public string bsno { get; set; }
|
|
[ModelDB]
|
|
public string customername { get; set; }
|
|
[ModelDB]
|
|
public string feeid { get; set; }
|
|
[ModelDB]
|
|
public string feename { get; set; }
|
|
[ModelDB]
|
|
public string Doamount { get; set; }
|
|
[ModelDB]
|
|
public string feetype { get; set; }
|
|
[ModelDB]
|
|
public string createtime { get; set; }
|
|
#endregion
|
|
|
|
public MsChFeeDo()
|
|
{
|
|
TableName = "ch_fee_do";
|
|
}
|
|
|
|
override public string GetBillNoFieldName()
|
|
{
|
|
return "BsNo";
|
|
}
|
|
}
|
|
|
|
#region 参照部分
|
|
|
|
|
|
|
|
#endregion
|
|
}
|