|
|
|
|
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 _CUSTNAME = "";
|
|
|
|
|
public string CUSTNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _CUSTNAME; }
|
|
|
|
|
set { _CUSTNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _CONTRACTNO = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CONTRACTNO
|
|
|
|
|
{
|
|
|
|
|
get { return _CONTRACTNO; }
|
|
|
|
|
set { _CONTRACTNO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _CONTRACTNAME = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 合同名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CONTRACTNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _CONTRACTNAME; }
|
|
|
|
|
set { _CONTRACTNAME = 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";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
}
|