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