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/OA/Models/Comm/MsChFee.cs

168 lines
4.2 KiB
C#

3 years ago
using System;
using HcUtility.Core;
using Newtonsoft.Json;
using DSWeb.Areas.TruckMng.Models.Comm;
namespace DSWeb.Areas.OA.Models.Comm
{
[JsonObject]
public class MsChFee : DSWeb.Areas.TruckMng.Models.Comm.MsChFee
{
#region private Fields
private string _BXGID = String.Empty;
private string _MBLNO = String.Empty;
private string _CUSTNO = String.Empty;
private string _TAXRATE = String.Empty;
private string _TAX = String.Empty;
private string _NOTAXAMOUNT = String.Empty;
private string _reason = String.Empty;
private string _CHEQUENUM = String.Empty;
private string _isOpen = String.Empty;
private string _isOpen_ref = String.Empty;
private string _IsAdvancedpay = String.Empty;
#endregion
#region Public Properties
[ModelDB]
public string BXGID
{
get { return _BXGID; }
set { _BXGID = value; }
}
public string MBLNO
{
get { return _MBLNO; }
set { _MBLNO = value; }
}
public string CUSTNO
{
get { return _CUSTNO; }
set { _CUSTNO = value; }
}
//[ModelDB]
public string TAXRATE
{
get { return _TAXRATE; }
set { _TAXRATE = value; }
}
[ModelDB]
public string TAX
{
get { return _TAX; }
set { _TAX = value; }
}
[ModelDB]
public string NOTAXAMOUNT
{
get { return _NOTAXAMOUNT; }
set { _NOTAXAMOUNT = value; }
}
[ModelDB]
public string Reason
{
get { return _reason; }
set { _reason = value; }
}
[ModelDB]
public string CHEQUENUM
{
get { return _CHEQUENUM; }
set { _CHEQUENUM = value; }
}
[ModelDB]
public string IsOpen
{
get { return _isOpen; }
set { _isOpen = value; }
}
public string IsOpen_REF
{
get { return _isOpen_ref; }
set { _isOpen_ref = value; }
}
[ModelDB]
public string IsAdvancedpay
{
get { return _IsAdvancedpay; }
set { _IsAdvancedpay = value; }
}
#endregion
public MsChFee()
{
TableName = "ch_fee";
}
override public string GetBillNoFieldName()
{
return "BXGID";
}
}
[JsonObject]
public class MsChFeeAmount : MsChFee
{
private string _FeeNameAmount = String.Empty;
public string FeeNameAmount
{
get { return _FeeNameAmount; }
set { _FeeNameAmount = value; }
}
}
[JsonObject]
public class MsChFeeDo : DSWeb.Areas.TruckMng.Models.Comm.MsChFeeDo
{
#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 "BXGID";
}
}
#region 参照部分
#endregion
}