using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.Areas.Import.Models.CWAudit { [JsonObject] public class CWBill : ModelObjectBillHead { #region private Fields private string _billType = "0"; private string _billType_Ref = "0"; private string _billNo = String.Empty; private string _billStatus = "0"; private string _billStatus_Ref = "0"; private string _feeStatus = "0"; private string _feeStatus_Ref = "0"; private string _gId = String.Empty; private string _custName = String.Empty; private string _dispatchName = String.Empty; private string _mblNo = String.Empty; private string _etDate = String.Empty; private string _custDate = String.Empty; private string _truckNo = String.Empty; private string _drvName = string.Empty; private string _containerNos = string.Empty; private string _remark = string.Empty; private decimal _fuelQty = 0;//加油量 private string _bsBillNo = string.Empty; private string _feeOpStatus = "0"; private string _feeOpStatus_Ref = "未提交"; public string BsBillNo { get { return _bsBillNo; } set { _bsBillNo = value; } } public decimal FuelQty { get { return _fuelQty; } set { _fuelQty = value; } } public string Remark { get { return _remark; } set { _remark = value; } } public string ContainerNos { get { return _containerNos; } set { _containerNos = value; } } public string DrvName { get { return _drvName; } set { _drvName = value; } } public string YardName { get; set; } public string BsType { get; set; } public string BsType_Ref { get; set; } #endregion #region Public Properties [ModelDB(MDBType = ModelDBOprationType.Insert)] public string BillType { get { return _billType; } set { _billType = value; } } public string BillType_Ref { get { return _billType_Ref; } set { _billType_Ref = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string BillNo { get { return _billNo; } set { _billNo = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string BillStatus { get { return _billStatus; } set { _billStatus = value; } } public string BillStatus_Ref { get { return _billStatus_Ref; } set { _billStatus_Ref = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string FeeStatus { get { return _feeStatus; } set { _feeStatus = value; } } public string FeeStatus_Ref { get { return _feeStatus_Ref; } set { _feeStatus_Ref = value; } } [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GId { get { return _gId; } set { _gId = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CustName { get { return _custName; } set { _custName = value; } } public string DispatchName { get { return _dispatchName; } set { _dispatchName = value; } } [ModelDB] public string MblNo { get { return _mblNo; } set { _mblNo = value; } } [ModelDB] public string EtDate { get { return _etDate; } set { _etDate = value; } } [ModelDB] public string CustDate { get { return _custDate; } set { _custDate = value; } } [ModelDB] public string TruckNo { get { return _truckNo; } set { _truckNo = value; } } public string DstArea { get; set; } public string FeeOpStatus { get { return _feeOpStatus; } set { _feeOpStatus = value; } } public string FeeOpStatus_Ref { get { return _feeOpStatus_Ref; } set { _feeOpStatus_Ref = value; } } #endregion public CWBill() { TableName = "vMsWlBizBill"; } } #region 参照部分 #endregion }