|
|
|
|
using System;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsCtCarryOver
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class MsCtCarryOver : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region 读写属性
|
|
|
|
|
private string _gid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 唯一编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _gid; }
|
|
|
|
|
set { _gid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _startgid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 账套启用GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string STARTGID
|
|
|
|
|
{
|
|
|
|
|
get { return _startgid; }
|
|
|
|
|
set { _startgid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private DateTime _accday = DateTime.Now;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 会计日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public DateTime ACCDAY
|
|
|
|
|
{
|
|
|
|
|
get { return _accday; }
|
|
|
|
|
set { _accday = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _year = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 年
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string YEAR
|
|
|
|
|
{
|
|
|
|
|
get { return _year; }
|
|
|
|
|
set { _year = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _month = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 月
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MONTH
|
|
|
|
|
{
|
|
|
|
|
get { return _month; }
|
|
|
|
|
set { _month = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _day = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 日
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string DAY
|
|
|
|
|
{
|
|
|
|
|
get { return _day; }
|
|
|
|
|
set { _day = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _iscarry = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否期末轧账
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public bool ISCARRY
|
|
|
|
|
{
|
|
|
|
|
get { return _iscarry; }
|
|
|
|
|
set { _iscarry = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _accdate = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 会计期间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ACCDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _accdate; }
|
|
|
|
|
set { _accdate = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _corpid = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 分公司代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CORPID
|
|
|
|
|
{
|
|
|
|
|
get { return _corpid; }
|
|
|
|
|
set { _corpid = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _modifieduser = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更改操作人gid
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MODIFIEDUSER
|
|
|
|
|
{
|
|
|
|
|
get { return _modifieduser; }
|
|
|
|
|
set { _modifieduser = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private DateTime _modifiedtime = DateTime.Now;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更改操作时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public DateTime MODIFIEDTIME
|
|
|
|
|
{
|
|
|
|
|
get { return _modifiedtime; }
|
|
|
|
|
set { _modifiedtime = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private bool _isreturn = false;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否返轧账
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public bool ISRETURN
|
|
|
|
|
{
|
|
|
|
|
get { return _isreturn; }
|
|
|
|
|
set { _isreturn = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _MODIFIEDUSERNAME = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次更改操作人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string MODIFIEDUSERNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _MODIFIEDUSERNAME; }
|
|
|
|
|
set { _MODIFIEDUSERNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public MsCtCarryOver()
|
|
|
|
|
{
|
|
|
|
|
TableName = "ct_carry_over";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "GID";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//
|
|
|
|
|
}
|