You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

391 lines
9.5 KiB
C#

using System;
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; }
}
#endregion
public MsCwVouchersGl()
{
TableName = "cw_vouchers_gl";
}
override public string GetBillNoFieldName()
{
return "ORDNO";
}
}
//
}