|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsCwVouchersGl
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class MsCwVouchersGl : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region 读写属性
|
|
|
|
|
private string _ordno = Guid.NewGuid().ToString();
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 唯一编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string ORDNO
|
|
|
|
|
{
|
|
|
|
|
get { return _ordno; }
|
|
|
|
|
set { _ordno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _vouno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 自动生成编号,月初清零
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string VOUNO
|
|
|
|
|
{
|
|
|
|
|
get { return _vouno; }
|
|
|
|
|
set { _vouno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _vkno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 凭证字
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string VKNO
|
|
|
|
|
{
|
|
|
|
|
get { return _vkno; }
|
|
|
|
|
set { _vkno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//private DateTime _voudate = DateTime.Now;
|
|
|
|
|
///// <summary>
|
|
|
|
|
///// 凭证日期
|
|
|
|
|
///// </summary>
|
|
|
|
|
//[ModelDB]
|
|
|
|
|
//public DateTime VOUDATE
|
|
|
|
|
//{
|
|
|
|
|
// get { return _voudate; }
|
|
|
|
|
// set { _voudate = value; }
|
|
|
|
|
//}
|
|
|
|
|
|
|
|
|
|
private string _voudate;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 凭证日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string VOUDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _voudate; }
|
|
|
|
|
set { _voudate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _accyear = DateTime.Now.Year.ToString();
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 年
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ACCYEAR
|
|
|
|
|
{
|
|
|
|
|
get { return _accyear; }
|
|
|
|
|
set { _accyear = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _accmonth = DateTime.Now.Month.ToString();
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 月
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ACCMONTH
|
|
|
|
|
{
|
|
|
|
|
get { return _accmonth; }
|
|
|
|
|
set { _accmonth = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _attachs = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 附件(单据)数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int ATTACHS
|
|
|
|
|
{
|
|
|
|
|
get { return _attachs; }
|
|
|
|
|
set { _attachs = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _amtdr = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 本位币借方
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal AMTDR
|
|
|
|
|
{
|
|
|
|
|
get { return _amtdr; }
|
|
|
|
|
set { _amtdr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _amtcr = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 本位币贷方
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal AMTCR
|
|
|
|
|
{
|
|
|
|
|
get { return _amtcr; }
|
|
|
|
|
set { _amtcr = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _fcy = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否含有外币科目
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string FCY
|
|
|
|
|
{
|
|
|
|
|
get { return _fcy; }
|
|
|
|
|
set { _fcy = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _qty = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否含有数量科目
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string QTY
|
|
|
|
|
{
|
|
|
|
|
get { return _qty; }
|
|
|
|
|
set { _qty = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _vouprop = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 凭证属性
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string VOUPROP
|
|
|
|
|
{
|
|
|
|
|
get { return _vouprop; }
|
|
|
|
|
set { _vouprop = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _prepared = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 制单人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string PREPARED
|
|
|
|
|
{
|
|
|
|
|
get { return _prepared; }
|
|
|
|
|
set { _prepared = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _checked = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 审核人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string CHECKED
|
|
|
|
|
{
|
|
|
|
|
get { return _checked; }
|
|
|
|
|
set { _checked = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _entered = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 记账人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string ENTERED
|
|
|
|
|
{
|
|
|
|
|
get { return _entered; }
|
|
|
|
|
set { _entered = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _errmsg = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 错误信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string ERRMSG
|
|
|
|
|
{
|
|
|
|
|
get { return _errmsg; }
|
|
|
|
|
set { _errmsg = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _isdelete = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否废除
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public bool ISDELETE
|
|
|
|
|
{
|
|
|
|
|
get { return _isdelete; }
|
|
|
|
|
set { _isdelete = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _deleteuser = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 废除操作人
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string DELETEUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _deleteuser; }
|
|
|
|
|
set { _deleteuser = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private DateTime _deletetime = DateTime.Now;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 废除时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime DELETETIME
|
|
|
|
|
{
|
|
|
|
|
get { return _deletetime; }
|
|
|
|
|
set { _deletetime = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _vouallno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 年+月+自动生成编号=凭证号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string VOUALLNO
|
|
|
|
|
{
|
|
|
|
|
get { return _vouallno; }
|
|
|
|
|
set { _vouallno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _isexport = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否导出凭证
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ISEXPORT
|
|
|
|
|
{
|
|
|
|
|
get { return _isexport; }
|
|
|
|
|
set { _isexport = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _ISCHECKED = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否审核
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ISCHECKED
|
|
|
|
|
{
|
|
|
|
|
get { return _ISCHECKED; }
|
|
|
|
|
set { _ISCHECKED = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private DateTime _CHECKEDTIME = DateTime.Now;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 审核时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime CHECKEDTIME
|
|
|
|
|
{
|
|
|
|
|
get { return _CHECKEDTIME; }
|
|
|
|
|
set { _CHECKEDTIME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _CHECKEDNAME = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 审核人名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CHECKEDNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _CHECKEDNAME; }
|
|
|
|
|
set { _CHECKEDNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _CarryOverType = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// CarryOverType
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CarryOverType
|
|
|
|
|
{
|
|
|
|
|
get { return _CarryOverType; }
|
|
|
|
|
set { _CarryOverType = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _CREATEUSER = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 制单人CREATEUSER_GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string CREATEUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _CREATEUSER; }
|
|
|
|
|
set { _CREATEUSER = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _CREATEUSERNAME = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 制单人CREATEUSER
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CREATEUSERNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _CREATEUSERNAME; }
|
|
|
|
|
set { _CREATEUSERNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private DateTime _CREATETIME = DateTime.Now;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 制单时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public DateTime CREATETIME
|
|
|
|
|
{
|
|
|
|
|
get { return _CREATETIME; }
|
|
|
|
|
set { _CREATETIME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _MODIFIEDUSER = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 改单人MODIFIEDUSER_GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MODIFIEDUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _MODIFIEDUSER; }
|
|
|
|
|
set { _MODIFIEDUSER = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _MODIFIEDUSERNAME = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 改单人MODIFIEDUSER
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string MODIFIEDUSERNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _MODIFIEDUSERNAME; }
|
|
|
|
|
set { _MODIFIEDUSERNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private DateTime _MODIFIEDTIME = DateTime.Now;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次修改时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public DateTime MODIFIEDTIME
|
|
|
|
|
{
|
|
|
|
|
get { return _MODIFIEDTIME; }
|
|
|
|
|
set { _MODIFIEDTIME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _STARTGID = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 总账已启用已登录账套GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string STARTGID
|
|
|
|
|
{
|
|
|
|
|
get { return _STARTGID; }
|
|
|
|
|
set { _STARTGID = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _ISCARRY = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否已经结转
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ISCARRY
|
|
|
|
|
{
|
|
|
|
|
get { return _ISCARRY; }
|
|
|
|
|
set { _ISCARRY = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _COPYORDNO = "";
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string COPYORDNO
|
|
|
|
|
{
|
|
|
|
|
get { return _COPYORDNO; }
|
|
|
|
|
set { _COPYORDNO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _ISCOPY = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否已经复制
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ISCOPY
|
|
|
|
|
{
|
|
|
|
|
get { return _ISCOPY; }
|
|
|
|
|
set { _ISCOPY = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _ISAUTO = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否已经复制
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ISAUTO
|
|
|
|
|
{
|
|
|
|
|
get { return _ISAUTO; }
|
|
|
|
|
set { _ISAUTO = value; }
|
|
|
|
|
}
|
|
|
|
|
public string ISAUTOSTR { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public MsCwVouchersGl()
|
|
|
|
|
{
|
|
|
|
|
TableName = "cw_vouchers_gl";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "ORDNO";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*金蝶云接口类*/
|
|
|
|
|
public class JDVoucher
|
|
|
|
|
{
|
|
|
|
|
//public string Creator { get; set; }
|
|
|
|
|
public List<string> NeedUpDateFields { get; set; }
|
|
|
|
|
public List<string> NeedReturnFields { get; set; }
|
|
|
|
|
public bool IsDeleteEntry { get; set; }
|
|
|
|
|
public string SubSystemId { get; set; }
|
|
|
|
|
public bool IsVerifyBaseDataField { get; set; }
|
|
|
|
|
public bool IsEntryBatchFill { get; set; }
|
|
|
|
|
public bool ValidateFlag { get; set; }
|
|
|
|
|
public bool NumberSearch { get; set; }
|
|
|
|
|
public string InterationFlags { get; set; }
|
|
|
|
|
public bool IsAutoSubmitAndAudit { get; set; }
|
|
|
|
|
|
|
|
|
|
public List<VoucherDetail> Model { get; set; }
|
|
|
|
|
|
|
|
|
|
public int BatchCount { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class VoucherDetail
|
|
|
|
|
{
|
|
|
|
|
public int FVOUCHERID { get; set; }
|
|
|
|
|
public JDFNumber FAccountBookID { get; set; }
|
|
|
|
|
public string FDate { get; set; }
|
|
|
|
|
public string FBUSDATE { get; set; }
|
|
|
|
|
public JDFNumber FVOUCHERGROUPID { get; set; }
|
|
|
|
|
|
|
|
|
|
public string FVOUCHERGROUPNO { get; set; }
|
|
|
|
|
public Int32 FYEAR { get; set; }
|
|
|
|
|
public string FDocumentStatus { get; set; }
|
|
|
|
|
public bool FISADJUSTVOUCHER { get; set; }
|
|
|
|
|
public int FPERIOD { get; set; }
|
|
|
|
|
public JDFNumber FSourceBillKey { get; set; }
|
|
|
|
|
public List<JDVouitems> FEntity { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class JDVouitems
|
|
|
|
|
{
|
|
|
|
|
public string FEXPLANATION { get; set; }
|
|
|
|
|
public JDFNumber FACCOUNTID { get; set; }
|
|
|
|
|
public JDFDetailID FDetailID { get; set; }
|
|
|
|
|
public JDFNumber FCURRENCYID { get; set; }
|
|
|
|
|
public JDFNumber FEXCHANGERATETYPE { get; set; }
|
|
|
|
|
|
|
|
|
|
public decimal FEXCHANGERATE { get; set; }
|
|
|
|
|
public decimal FAMOUNTFOR { get; set; }
|
|
|
|
|
public decimal FCREDIT { get; set; }
|
|
|
|
|
public decimal FDEBIT { get; set; }
|
|
|
|
|
public JDFNumber FSettleTypeID { get; set; }
|
|
|
|
|
|
|
|
|
|
public string FSETTLENO { get; set; }
|
|
|
|
|
public string FBUSNO { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class JDFDetailID
|
|
|
|
|
{
|
|
|
|
|
public JDFNumber FDETAILID__FFLEX6 { get; set; }
|
|
|
|
|
public JDFNumber FDETAILID__FFLEX4 { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
public class JDField
|
|
|
|
|
{
|
|
|
|
|
public string FieldName { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
public class JDFNumber
|
|
|
|
|
{
|
|
|
|
|
public string FNumber { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class JDerror
|
|
|
|
|
{
|
|
|
|
|
public string FieldName { get; set; }
|
|
|
|
|
public string Message { get; set; }
|
|
|
|
|
public int DIndex { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
public class JDResponseStatus
|
|
|
|
|
{
|
|
|
|
|
public string ErrorCode { get; set; }
|
|
|
|
|
public bool IsSuccess { get; set; }
|
|
|
|
|
public List<JDerror> Errors { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
public class JDResult
|
|
|
|
|
{
|
|
|
|
|
public JDResponseStatus ResponseStatus { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
public class JDResultData
|
|
|
|
|
{
|
|
|
|
|
public JDResult Result { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 浪潮凭证
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class Auxiliary
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class Line_ids
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string accting_org_number { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string acct_book_number { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string account_number { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 人民币
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string currency_name { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 2022交易1
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string summary { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal curr_rate { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal amount { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal debit_local { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal credit_local { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Dictionary<string, string> auxiliary { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class Param
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string accting_org_number { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string acct_book_number { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 记
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string voucher_word_name { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string number { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string business_date { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int attachment_qty { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string creator_phone { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string voucher_source { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<Line_ids> line_ids { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class paramsend
|
|
|
|
|
{
|
|
|
|
|
public string client_id { get; set; }
|
|
|
|
|
|
|
|
|
|
public string sign { get; set; }
|
|
|
|
|
public List<Param> param { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class Res
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Param param { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string state { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 记-00001
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string display_name { get; set; }
|
|
|
|
|
|
|
|
|
|
public string msg { get; set; }
|
|
|
|
|
}
|
|
|
|
|
public class Result
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string code { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string msg { get; set; }///
|
|
|
|
|
public List<Res> res { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class Root
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string jsonrpc { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string id { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Result result { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
}
|