using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsCwVouitemsGl { [JsonObject] public class MsCwVouitemsGlLs : ModelObjectBillHead { #region 读写属性 private string _gid = Guid.NewGuid().ToString(); /// /// 唯一编码 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _gid; } set { _gid = value; } } private string _ordno = ""; /// /// 关联cw_vouchers_gl /// [ModelDB] public string ORDNO { get { return _ordno; } set { _ordno = value; } } private int _itemno = 0; /// /// 行号 /// [ModelDB] public int ITEMNO { get { return _itemno; } set { _itemno = value; } } private string _accid = ""; /// /// 科目代码 /// [ModelDB] public string ACCID { get { return _accid; } set { _accid = value; } } private string _accname = ""; /// /// 科目名称 /// [ModelDB] public string ACCNAME { get { return _accname; } set { _accname = value; } } private decimal _amtdr = 0; /// /// 本位币借方金额(互斥) /// [ModelDB] public decimal AMTDR { get { return _amtdr; } set { _amtdr = value; } } private decimal _amtcr = 0; /// /// 本位币贷方金额(互斥) /// [ModelDB] public decimal AMTCR { get { return _amtcr; } set { _amtcr = value; } } private string _fcyno = "RMB"; /// /// 外币编号usd /// [ModelDB] public string FCYNO { get { return _fcyno; } set { _fcyno = value; } } private decimal _fcyexrate = 0; /// /// 汇率 /// [ModelDB] public decimal FCYEXRATE { get { return _fcyexrate; } set { _fcyexrate = value; } } private decimal _fcydr = 0; /// /// 外币借方金额 /// [ModelDB] public decimal FCYDR { get { return _fcydr; } set { _fcydr = value; } } private string _explan = ""; /// /// 摘要,规则生成 /// [ModelDB] public string EXPLAN { get { return _explan; } set { _explan = value; } } private string _deptid = ""; /// /// 部门(系统) /// [ModelDB] public string DEPTID { get { return _deptid; } set { _deptid = value; } } private string _emplid = ""; /// /// 人员(系统) /// [ModelDB] public string EMPLID { get { return _emplid; } set { _emplid = value; } } private string _corpid = ""; /// /// 客户(系统) /// [ModelDB] public string CORPID { get { return _corpid; } set { _corpid = value; } } private string _itemid = ""; /// /// 项目编号 /// [ModelDB] public string ITEMID { get { return _itemid; } set { _itemid = value; } } private string _customername = ""; /// /// CUSTOMERNAME /// [ModelDB] public string CUSTOMERNAME { get { return _customername; } set { _customername = value; } } private string _sale = ""; /// /// SALE /// [ModelDB] public string SALE { get { return _sale; } set { _sale = value; } } private string _blno = ""; /// /// BLNO /// [ModelDB] public string BLNO { get { return _blno; } set { _blno = value; } } #endregion public MsCwVouitemsGlLs() { TableName = "cw_vouitems_gl"; } override public string GetBillNoFieldName() { return "GID"; } } // }