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.

179 lines
4.5 KiB
C#

using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsInfoClient
{
[JsonObject]
public class MsInfoClientBlack : 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 _CUSTNAME = "";
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CUSTNAME
{
get { return _CUSTNAME; }
set { _CUSTNAME = value; }
}
private string _createtime = DateTime.Now.ToString("yyyy-MM-dd");
/// <summary>
/// 创建时间
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CREATETIME
{
get { return _createtime; }
set { _createtime = value; }
}
private string _CREATEUSER = "";
/// <summary>
/// 录入人
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CREATEUSER
{
get { return _CREATEUSER; }
set { _CREATEUSER = value; }
}
private string _CREATEUSERREF = "";
/// <summary>
/// 录入人
/// </summary>
public string CREATEUSERREF
{
get { return _CREATEUSERREF; }
set { _CREATEUSERREF = value; }
}
private string _MODIFIEDUSER = "";
private string _MODIFIEDTIME = "";
[ModelDB]
public string MODIFIEDUSER { get { return _MODIFIEDUSER; } set { _MODIFIEDUSER = value; } }
[ModelDB]
public string MODIFIEDTIME { get { return _MODIFIEDTIME; } set { _MODIFIEDTIME = value; } }
#endregion
public MsInfoClientBlack()
{
TableName = "info_client_black";
}
}
[JsonObject]
public class MsInfoClientBsWhile2 : 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; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string BSNO { get; set; }
#endregion
public MsInfoClientBsWhile2()
{
TableName = "info_client_bs_while";
}
}
[JsonObject]
public class MsInfoClientBsWhile : 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; }
}
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string BSNO { get; set; }
private string _createtime = DateTime.Now.ToString("yyyy-MM-dd");
/// <summary>
/// 创建时间
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CREATETIME
{
get { return _createtime; }
set { _createtime = value; }
}
private string _CREATEUSER = "";
/// <summary>
/// 录入人
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CREATEUSER
{
get { return _CREATEUSER; }
set { _CREATEUSER = value; }
}
private string _CREATEUSERREF = "";
/// <summary>
/// 录入人
/// </summary>
public string CREATEUSERREF
{
get { return _CREATEUSERREF; }
set { _CREATEUSERREF = value; }
}
private string _MODIFIEDUSER = "";
private string _MODIFIEDTIME = "";
[ModelDB]
public string MODIFIEDUSER { get { return _MODIFIEDUSER; } set { _MODIFIEDUSER = value; } }
[ModelDB]
public string MODIFIEDTIME { get { return _MODIFIEDTIME; } set { _MODIFIEDTIME = value; } }
#endregion
public MsInfoClientBsWhile()
{
TableName = "info_client_bs_while";
}
}
//
}