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.
168 lines
3.7 KiB
C#
168 lines
3.7 KiB
C#
using System;
|
|
using HcUtility.Core;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsInfoContract
|
|
{
|
|
[JsonObject]
|
|
public class MsInfoContract : ModelObjectBillHead
|
|
{
|
|
#region 读写属性
|
|
private string _GID = Guid.NewGuid().ToString();
|
|
/// <summary>
|
|
/// 编号
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
public string GID
|
|
{
|
|
get { return _GID; }
|
|
set { _GID = value; }
|
|
}
|
|
private string _LINKID ="";
|
|
/// <summary>
|
|
/// 编号
|
|
/// </summary>
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
public string LINKID
|
|
{
|
|
get { return _LINKID; }
|
|
set { _LINKID = value; }
|
|
}
|
|
|
|
private string _CONTRACTNO = "";
|
|
/// <summary>
|
|
/// 代码
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string CONTRACTNO
|
|
{
|
|
get { return _CONTRACTNO; }
|
|
set { _CONTRACTNO = value; }
|
|
}
|
|
|
|
private string _SIGNINGDATE = "";
|
|
/// <summary>
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string SIGNINGDATE
|
|
{
|
|
get { return _SIGNINGDATE; }
|
|
set { _SIGNINGDATE = value; }
|
|
}
|
|
|
|
|
|
private string _STARTDATE = "";
|
|
/// <summary>
|
|
/// 地址
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string STARTDATE
|
|
{
|
|
get { return _STARTDATE; }
|
|
set { _STARTDATE = value; }
|
|
}
|
|
|
|
private string _CANCELDATE = "";
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string CANCELDATE
|
|
{
|
|
get { return _CANCELDATE; }
|
|
set { _CANCELDATE = value; }
|
|
}
|
|
|
|
|
|
private string _CHIEF = "";
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string CHIEF
|
|
{
|
|
get { return _CHIEF; }
|
|
set { _CHIEF = value; }
|
|
}
|
|
private string _REMARK = "";
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string REMARK
|
|
{
|
|
get { return _REMARK; }
|
|
set { _REMARK = value; }
|
|
}
|
|
|
|
private string _CORPID = "";
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string CORPID
|
|
{
|
|
get { return _CORPID; }
|
|
set { _CORPID = value; }
|
|
}
|
|
|
|
|
|
private string _createtime = DateTime.Now.ToString("yyyy-MM-dd");
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string CREATETIME
|
|
{
|
|
get { return _createtime; }
|
|
set { _createtime = value; }
|
|
}
|
|
private string _CREATEUSER = "";
|
|
/// <summary>
|
|
/// 录入人
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string CREATEUSER
|
|
{
|
|
get { return _CREATEUSER; }
|
|
set { _CREATEUSER = value; }
|
|
}
|
|
private string _DEPTGID = "";
|
|
/// <summary>
|
|
/// 部门
|
|
/// </summary>
|
|
[ModelDB]
|
|
public string DEPTGID
|
|
{
|
|
get { return _DEPTGID; }
|
|
set { _DEPTGID = value; }
|
|
}
|
|
private string _CREATEUSERREF = "";
|
|
/// <summary>
|
|
/// 录入人
|
|
/// </summary>
|
|
public string CREATEUSERREF
|
|
{
|
|
get { return _CREATEUSERREF; }
|
|
set { _CREATEUSERREF = value; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
public MsInfoContract()
|
|
{
|
|
TableName = "info_client_contract";
|
|
}
|
|
|
|
override public string GetBillNoFieldName()
|
|
{
|
|
return "GID";
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
//
|
|
}
|