using System; using System.Data; using System.Collections; using System.Collections.Generic; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsCwAccitemsFt { [JsonObject] public class CwAccitemsFt : ModelObjectBillHead { public CwAccitemsFt() { TableName = "cw_accitems_ft"; } #region 读写属性 /// /// 主键唯一值 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get; set; } [ModelDB] public string ACCID { get;set;} [ModelDB] public string ACCNAME { get; set; } [ModelDB] public string STARTGID { get; set; } [ModelDB] public string CREATEUSER { get; set; } public string CREATEUSERREF { get; set; } [ModelDB] public DateTime CREATETIME { get; set; } #endregion } [JsonObject] public class CwAccitemsFtDetail : ModelObjectBillBody { #region Public Properties /// /// 主键唯一值 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get; set; } [ModelDB] public string LINKGID { get; set; } [ModelDB] public string ACCID { get; set; } [ModelDB] public string ACCNAME { get; set; } [ModelDB] public string STARTGID { get; set; } [ModelDB] public string DEPT { get; set; } [ModelDB] public string EMP { get; set; } [ModelDB] public string OFFICE { get; set; } public Int32 TTLEMP { get; set; } public Decimal FTAMOUNT { get; set; } #endregion public CwAccitemsFtDetail() { TableName = "cw_accitems_ft_detail"; } override public string GetBillNoFieldName() { return "TEMPLATEID"; } } }