using System;
using HcUtility.Core;
using Newtonsoft.Json;

namespace DSWeb.Areas.TruckMng.Models.MsWlBs
{
    [JsonObject]
    public class MsWlPcFixed : ModelObjectBillBody
    {
        #region private Fields

        private string _billNo = "*";
        private decimal _serialNo = 0;
        private string _creditDebit = "1";
        private string _creditDebit_Ref = "应收";
        private string _feeTypeCode = String.Empty;
        private string _feeTypeCode_Ref = String.Empty;
        private string _feeTypeName = String.Empty;
        private decimal _distCount = 0;
        private decimal _price = 0;
        private decimal _fsTotal = 0;
        private decimal _jsTotal = 0;
        private string _remark = String.Empty;
        private string _gId = String.Empty;
        private decimal _feeStatus = 0;
        private string _feeStatus_Ref = string.Empty;
        private DateTime? _submitDate = null;
        private string _auditoperator = String.Empty;
        private DateTime? _auditDate = null;
        private decimal _auditStatus = 0;

        #endregion

        #region Public Properties

        [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
        public string BillNo
        {
            get { return _billNo; }
            set { _billNo = value; }
        }
        [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
        public decimal SerialNo
        {
            get { return _serialNo; }
            set { _serialNo = value; }
        }
        [ModelDB]
        public string CreditDebit
        {
            get { return _creditDebit; }
            set { _creditDebit = value; }
        }
        public string CreditDebit_Ref
        {
            get { return _creditDebit_Ref; }
            set { _creditDebit_Ref = value; }
        }
        [ModelDB]
        public string FeeTypeCode
        {
            get { return _feeTypeCode; }
            set { _feeTypeCode = value; }
        }
        public string FeeTypeCode_Ref
        {
            get { return _feeTypeCode_Ref; }
            set { _feeTypeCode_Ref = value; }
        }
        [ModelDB]
        public string FeeTypeName
        {
            get { return _feeTypeName; }
            set { _feeTypeName = value; }
        }
        [ModelDB]
        public decimal DistCount
        {
            get { return _distCount; }
            set { _distCount = value; }
        }
        [ModelDB]
        public decimal Price
        {
            get { return _price; }
            set { _price = value; }
        }
        [ModelDB]
        public decimal FsTotal
        {
            get { return _fsTotal; }
            set { _fsTotal = value; }
        }
        [ModelDB]
        public decimal JsTotal
        {
            get { return _jsTotal; }
            set { _jsTotal = value; }
        }
        [ModelDB]
        public string Remark
        {
            get { return _remark; }
            set { _remark = value; }
        }

        [ModelDB(MDBType = ModelDBOprationType.Insert)]
        public string GId
        {
            get { return _gId; }
            set { _gId = value; }
        }
        [ModelDB(MDBType = ModelDBOprationType.Insert)]
        public decimal FeeStatus
        {
            get { return _feeStatus; }
            set { _feeStatus = value; }
        }
        public string FeeStatus_Ref
        {
            get { return _feeStatus_Ref; }
            set { _feeStatus_Ref = 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; }
        }

        public decimal AuditStatus
        {
            get { return _auditStatus; }
            set { _auditStatus = value; }
        }
        #endregion

        public MsWlPcFixed()
        {
            TableName = "tMsWlPcFixed";
        }
    }

    #region 参照部分



    #endregion
}