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.
DS7/DSWeb/Areas/MvcShipping/Models/MsCompanysAccount/MsCompanysAccount.cs

235 lines
5.4 KiB
C#

using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsCompanysAccount
{
[JsonObject]
public class MsCompanysAccount : ModelObjectBillHead
{
#region 读写属性
private string _gid = "";
/// <summary>
/// GID
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
private string _linkid = "";
/// <summary>
/// 公司关联id
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string LINKID
{
get { return _linkid; }
set { _linkid = value; }
}
private string _accountname = "";
/// <summary>
/// CODENAME
/// </summary>
[ModelDB]
public string ACCOUNTNAME
{
get { return _accountname; }
set { _accountname = value; }
}
private string _codename = "";
/// <summary>
/// CODENAME
/// </summary>
[ModelDB]
public string CODENAME
{
get { return _codename; }
set { _codename = value; }
}
private string _currency = "";
/// <summary>
/// CURRENCY
/// </summary>
[ModelDB]
public string CURRENCY
{
get { return _currency; }
set { _currency = value; }
}
private string _bankname = "";
/// <summary>
/// BANKNAME
/// </summary>
[ModelDB]
public string BANKNAME
{
get { return _bankname; }
set { _bankname = value; }
}
private string _account = "";
/// <summary>
/// ACCOUNT
/// </summary>
[ModelDB]
public string ACCOUNT
{
get { return _account; }
set { _account = value; }
}
private string _subjectcode = "";
/// <summary>
/// 银行账户
/// </summary>
[ModelDB]
public string SUBJECTCODE
{
get { return _subjectcode; }
set { _subjectcode = value; }
}
private string _remark = "";
/// <summary>
/// REMARK
/// </summary>
[ModelDB]
public string REMARK
{
get { return _remark; }
set { _remark = value; }
}
private string _financesoftcode = "";
/// <summary>
/// FINANCESOFTCODE
/// </summary>
[ModelDB]
public string FINANCESOFTCODE
{
get { return _financesoftcode; }
set { _financesoftcode = value; }
}
private string _createuser = "";
/// <summary>
/// CREATEUSER
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CREATEUSER
{
get { return _createuser; }
set { _createuser = value; }
}
private DateTime _createtime = DateTime.Now;
/// <summary>
/// CREATETIME
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public DateTime CREATETIME
{
get { return _createtime; }
set { _createtime = value; }
}
private string _modifieduser = "";
/// <summary>
/// MODIFIEDUSER
/// </summary>
public string MODIFIEDUSER
{
get { return _modifieduser; }
set { _modifieduser = value; }
}
private DateTime _modifiedtime = DateTime.Now;
/// <summary>
/// MODIFIEDTIME
/// </summary>
public DateTime MODIFIEDTIME
{
get { return _modifiedtime; }
set { _modifiedtime = value; }
}
private string _cwglaccid = "";
/// <summary>
/// CWGLACCID
/// </summary>
[ModelDB]
public string CWGLACCID
{
get { return _cwglaccid; }
set { _cwglaccid = value; }
}
private string _MODIFIEDUSERNAME = "";
/// <summary>
/// 最后一次更新操作人
/// </summary>
public string MODIFIEDUSERNAME
{
get { return _MODIFIEDUSERNAME; }
set { _MODIFIEDUSERNAME = value; }
}
private string _ISSTOP = "";
/// <summary>
/// 是否停用
/// </summary>
[ModelDB]
public string ISSTOP
{
get { return _ISSTOP; }
set { _ISSTOP = value; }
}
private string _ISDEF = "";
/// <summary>
/// 是否默认
/// </summary>
[ModelDB]
public string ISDEF
{
get { return _ISDEF; }
set { _ISDEF = value; }
}
private string _BANKNAME2 = "";
/// <summary>
/// 银行名称
/// </summary>
[ModelDB]
public string BANKNAME2
{
get { return _BANKNAME2; }
set { _BANKNAME2 = value; }
}
#endregion
public MsCompanysAccount()
{
TableName = "sys_bank";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
//
}