|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Web;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Areas.Import.Models.CwVouchers
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class CwVouchers
|
|
|
|
|
{
|
|
|
|
|
private string _ordno;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 唯一编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ORDNO
|
|
|
|
|
{
|
|
|
|
|
get { return _ordno; }
|
|
|
|
|
set { _ordno = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _vouno;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 自动生成编号,月初清零
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string VOUNO
|
|
|
|
|
{
|
|
|
|
|
get { return _vouno; }
|
|
|
|
|
set { _vouno = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _vkno;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 凭证字
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string VKNO
|
|
|
|
|
{
|
|
|
|
|
get { return _vkno; }
|
|
|
|
|
set { _vkno = value; }
|
|
|
|
|
}
|
|
|
|
|
private DateTime _voudate;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 凭证日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime VOUDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _voudate; }
|
|
|
|
|
set { _voudate = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _accyear;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 年
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ACCYEAR
|
|
|
|
|
{
|
|
|
|
|
get { return _accyear; }
|
|
|
|
|
set { _accyear = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _accmonth;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 月
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ACCMONTH
|
|
|
|
|
{
|
|
|
|
|
get { return _accmonth; }
|
|
|
|
|
set { _accmonth = value; }
|
|
|
|
|
}
|
|
|
|
|
private int _attachs;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 附件(单据)数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int ATTACHS
|
|
|
|
|
{
|
|
|
|
|
get { return _attachs; }
|
|
|
|
|
set { _attachs = value; }
|
|
|
|
|
}
|
|
|
|
|
private decimal _amtdr;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 本位币借方
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal AMTDR
|
|
|
|
|
{
|
|
|
|
|
get { return _amtdr; }
|
|
|
|
|
set { _amtdr = value; }
|
|
|
|
|
}
|
|
|
|
|
private decimal _amtcr;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 本位币贷方
|
|
|
|
|
/// </summary>
|
|
|
|
|
public decimal AMTCR
|
|
|
|
|
{
|
|
|
|
|
get { return _amtcr; }
|
|
|
|
|
set { _amtcr = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _fcy;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否含有外币科目
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FCY
|
|
|
|
|
{
|
|
|
|
|
get { return _fcy; }
|
|
|
|
|
set { _fcy = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _qty="";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否含有数量科目
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string QTY
|
|
|
|
|
{
|
|
|
|
|
get { return _qty; }
|
|
|
|
|
set { _qty = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _vouprop = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 凭证属性
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string VOUPROP
|
|
|
|
|
{
|
|
|
|
|
get { return _vouprop; }
|
|
|
|
|
set { _vouprop = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _prepared = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 制单人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PREPARED
|
|
|
|
|
{
|
|
|
|
|
get { return _prepared; }
|
|
|
|
|
set { _prepared = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _checked = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 审核人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CHECKED
|
|
|
|
|
{
|
|
|
|
|
get { return _checked; }
|
|
|
|
|
set { _checked = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _entered = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 记账人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ENTERED
|
|
|
|
|
{
|
|
|
|
|
get { return _entered; }
|
|
|
|
|
set { _entered = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _errmsg = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 错误信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ERRMSG
|
|
|
|
|
{
|
|
|
|
|
get { return _errmsg; }
|
|
|
|
|
set { _errmsg = value; }
|
|
|
|
|
}
|
|
|
|
|
private bool _isdelete=false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否废除
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool ISDELETE
|
|
|
|
|
{
|
|
|
|
|
get { return _isdelete; }
|
|
|
|
|
set { _isdelete = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _deleteuser = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 废除操作人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string DELETEUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _deleteuser; }
|
|
|
|
|
set { _deleteuser = value; }
|
|
|
|
|
}
|
|
|
|
|
private DateTime _deletetime;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 废除时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime DELETETIME
|
|
|
|
|
{
|
|
|
|
|
get { return _deletetime; }
|
|
|
|
|
set { _deletetime = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _vouallno;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 年+月+自动生成编号=凭证号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string VOUALLNO
|
|
|
|
|
{
|
|
|
|
|
get { return _vouallno; }
|
|
|
|
|
set { _vouallno = value; }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|