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.
191 lines
4.5 KiB
C#
191 lines
4.5 KiB
C#
using System;
|
|
using HcUtility.Core;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsCtExplan
|
|
{
|
|
[JsonObject]
|
|
public class MsCtExplan : ModelObjectBillHead
|
|
{
|
|
#region 读写属性
|
|
private string _gid = "";
|
|
/// <summary>
|
|
/// 唯一编码
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string GID
|
|
{
|
|
get { return _gid; }
|
|
set { _gid = value; }
|
|
}
|
|
|
|
private string _explantype = "";
|
|
/// <summary>
|
|
/// 摘要类别
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string EXPLANTYPE
|
|
{
|
|
get { return _explantype; }
|
|
set { _explantype = value; }
|
|
}
|
|
|
|
private string _moduletype = "";
|
|
/// <summary>
|
|
/// 财务/出纳模块
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string MODULETYPE
|
|
{
|
|
get { return _moduletype; }
|
|
set { _moduletype = value; }
|
|
}
|
|
|
|
private string _startgid = "";
|
|
/// <summary>
|
|
/// 账套启用GID
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string STARTGID
|
|
{
|
|
get { return _startgid; }
|
|
set { _startgid = value; }
|
|
}
|
|
|
|
private string _corpid = "";
|
|
/// <summary>
|
|
/// 分公司代码
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
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 string _MODIFIEDUSERNAME = "";
|
|
/// <summary>
|
|
/// 最后一次更新操作人
|
|
/// </summary>
|
|
public string MODIFIEDUSERNAME
|
|
{
|
|
get { return _MODIFIEDUSERNAME; }
|
|
set { _MODIFIEDUSERNAME = value; }
|
|
}
|
|
#endregion
|
|
|
|
public MsCtExplan()
|
|
{
|
|
TableName = "ct_explan";
|
|
}
|
|
|
|
override public string GetBillNoFieldName()
|
|
{
|
|
return "GID";
|
|
}
|
|
}
|
|
//
|
|
[JsonObject]
|
|
public class MsCtExplanDetail : ModelObjectBillHead
|
|
{
|
|
#region 读写属性
|
|
private string _gid = "";
|
|
/// <summary>
|
|
/// 唯一编码
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string GID
|
|
{
|
|
get { return _gid; }
|
|
set { _gid = value; }
|
|
}
|
|
|
|
private string _linkgid = "";
|
|
/// <summary>
|
|
/// 摘要GID
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string LINKGID
|
|
{
|
|
get{ return _linkgid; }
|
|
set{ _linkgid = value; }
|
|
}
|
|
|
|
private string _explan = "";
|
|
/// <summary>
|
|
/// 内容
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string EXPLAN
|
|
{
|
|
get{ return _explan; }
|
|
set{ _explan = 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 string _MODIFIEDUSERNAME = "";
|
|
/// <summary>
|
|
/// 最后一次更新操作人
|
|
/// </summary>
|
|
public string MODIFIEDUSERNAME
|
|
{
|
|
get { return _MODIFIEDUSERNAME; }
|
|
set { _MODIFIEDUSERNAME = value; }
|
|
}
|
|
#endregion
|
|
|
|
public MsCtExplanDetail()
|
|
{
|
|
TableName = "ct_explan_detail";
|
|
}
|
|
|
|
override public string GetBillNoFieldName()
|
|
{
|
|
return "GID";
|
|
}
|
|
}
|
|
}
|