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/MsCompanysDept/MsCompanysDept.cs

156 lines
3.5 KiB
C#

using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsCompanysDept
{
[JsonObject]
public class MsCompanysDept : ModelObjectBillHead
{
#region 读写属性
private string _gid = "";
/// <summary>
/// 惟一编号
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _gid; }
set { _gid = value; }
}
private string _linkid = "";
/// <summary>
/// 公司关联id
/// </summary>
[ModelDB]
public string LINKID
{
get { return _linkid; }
set { _linkid = value; }
}
private string _deptno = "";
/// <summary>
/// 代码
/// </summary>
[ModelDB]
public string DEPTNO
{
get { return _deptno; }
set { _deptno = value; }
}
private string _deptname = "";
/// <summary>
/// 名称
/// </summary>
[ModelDB]
public string DEPTNAME
{
get { return _deptname; }
set { _deptname = value; }
}
private string _manage1 = "";
/// <summary>
/// 经理
/// </summary>
[ModelDB]
public string MANAGE1
{
get { return _manage1; }
set { _manage1 = value; }
}
private string _manage2 = "";
/// <summary>
/// 副经理
/// </summary>
[ModelDB]
public string MANAGE2
{
get { return _manage2; }
set { _manage2 = value; }
}
private string _remark = "";
/// <summary>
/// 备注
/// </summary>
[ModelDB]
public string REMARK
{
get { return _remark; }
set { _remark = value; }
}
private string _createuser = "";
/// <summary>
/// 创建人GID
/// </summary>
[ModelDB]
public string CREATEUSER
{
get { return _createuser; }
set { _createuser = value; }
}
private DateTime _createtime = DateTime.Now;
/// <summary>
/// 创建时间
/// </summary>
[ModelDB]
public DateTime CREATETIME
{
get { return _createtime; }
set { _createtime = 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 _financesoftcode = "";
/// <summary>
/// FINANCESOFTCODE
/// </summary>
[ModelDB]
public string FINANCESOFTCODE
{
get { return _financesoftcode; }
set { _financesoftcode = value; }
}
#endregion
public MsCompanysDept()
{
TableName = "sys_dept";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
//
}