using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsCwAccitemsDaterp
{
[JsonObject]
public class CwAccitemsDateRp : ModelObjectBillHead
{
public CwAccitemsDateRp()
{
TableName = "cw_accitems_daterp";
}
#region 读写属性
///
/// 主键唯一值
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get;
set;
}
[ModelDB]
public string ACCDATE { get;set;}
[ModelDB]
public string OPDATE { get; set; }
[ModelDB]
public decimal GIFTAMT { get; set; }
[ModelDB]
public decimal NOSAVERMBAMT { get; set; }
[ModelDB]
public decimal NOSAVEUSDAMT { get; set; }
[ModelDB]
public decimal ENTERTAINMENTAMT { get; set; }
[ModelDB]
public decimal TRAVELLINGAMT { get; set; }
[ModelDB]
public decimal OFFICESUPPLIESAMT { get; set; }
[ModelDB]
public decimal AUTOREPAIRAMT { get; set; }
[ModelDB]
public decimal ADPRINTINGAMT { get; set; }
[ModelDB]
public string CREATEUSER { get; set; }
public string CREATEUSERREF { get; set; }
[ModelDB]
public DateTime CREATETIME { get; set; }
#endregion
}
[JsonObject]
public class CwAccitemsDateRpDetail : ModelObjectBillBody
{
#region Public Properties
///
/// 主键唯一值
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get;
set;
}
[ModelDB]
public string LINKGID { get; set; }
[ModelDB]
public string ACCNAME { get; set; }
[ModelDB]
public decimal AMTDR { get; set; }
[ModelDB]
public decimal AMTCR { get; set; }
[ModelDB]
public decimal USDAMTDR { get; set; }
[ModelDB]
public decimal USDAMTCR { get; set; }
[ModelDB]
public decimal HKDAMTDR { get; set; }
[ModelDB]
public decimal HKDAMTCR { get; set; }
#endregion
public CwAccitemsDateRpDetail()
{
TableName = "cw_accitems_daterp_detail";
}
override public string GetBillNoFieldName()
{
return "LINKGID";
}
}
}