|
|
|
|
using System;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsCodeOpTemplate
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class CodeOpTemplate : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region 私有成员
|
|
|
|
|
private string _GID = Guid.NewGuid().ToString();//业务编号
|
|
|
|
|
private string _BSTYPE;//
|
|
|
|
|
private string _TEMPLATENAME;//
|
|
|
|
|
private string _ISPUBLIC="否";
|
|
|
|
|
private string _REMARK;
|
|
|
|
|
private string _OP;
|
|
|
|
|
private string _OPREF;
|
|
|
|
|
private string _INPUTBY;
|
|
|
|
|
private string _INPUTBYREF;
|
|
|
|
|
private string _INPUTTIME;
|
|
|
|
|
private string _COMPANYID;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public CodeOpTemplate()
|
|
|
|
|
{
|
|
|
|
|
TableName = "CODE_OP_TEMPLATE";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 读写属性
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键唯一值
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _GID; }
|
|
|
|
|
set { _GID = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string BSTYPE
|
|
|
|
|
{
|
|
|
|
|
get { return _BSTYPE; }
|
|
|
|
|
set { _BSTYPE = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string TEMPLATENAME
|
|
|
|
|
{
|
|
|
|
|
get { return _TEMPLATENAME; }
|
|
|
|
|
set { _TEMPLATENAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string REMARK
|
|
|
|
|
{
|
|
|
|
|
get { return _REMARK; }
|
|
|
|
|
set { _REMARK = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string OP
|
|
|
|
|
{
|
|
|
|
|
get { return _OP; }
|
|
|
|
|
set { _OP = value; }
|
|
|
|
|
}
|
|
|
|
|
public string OPREF
|
|
|
|
|
{
|
|
|
|
|
get { return _OPREF; }
|
|
|
|
|
set { _OPREF = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string INPUTBY
|
|
|
|
|
{
|
|
|
|
|
get { return _INPUTBY; }
|
|
|
|
|
set { _INPUTBY = value; }
|
|
|
|
|
}
|
|
|
|
|
public string INPUTBYREF
|
|
|
|
|
{
|
|
|
|
|
get { return _INPUTBYREF; }
|
|
|
|
|
set { _INPUTBYREF = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string INPUTTIME
|
|
|
|
|
{
|
|
|
|
|
get { return _INPUTTIME; }
|
|
|
|
|
set { _INPUTTIME = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string COMPANYID
|
|
|
|
|
{
|
|
|
|
|
get { return _COMPANYID; }
|
|
|
|
|
set { _COMPANYID = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ISPUBLIC
|
|
|
|
|
{
|
|
|
|
|
get { return _ISPUBLIC; }
|
|
|
|
|
set { _ISPUBLIC = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class CodeOpTemplateDetail : ModelObjectBillBody
|
|
|
|
|
{
|
|
|
|
|
#region 私有成员
|
|
|
|
|
private string _GID = Guid.NewGuid().ToString();//业务编号
|
|
|
|
|
private string _LINKGID = "*";
|
|
|
|
|
private string _FIELDNAME;//
|
|
|
|
|
private string _DEFVALUE;//
|
|
|
|
|
private string _REMARK;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public CodeOpTemplateDetail()
|
|
|
|
|
{
|
|
|
|
|
TableName = "CODE_OP_TEMPLATE_DETAIL";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 读写属性
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键唯一值
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _GID; }
|
|
|
|
|
set { _GID = value; }
|
|
|
|
|
}
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string LINKGID
|
|
|
|
|
{
|
|
|
|
|
get { return _LINKGID; }
|
|
|
|
|
set { _LINKGID = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string FIELDNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _FIELDNAME; }
|
|
|
|
|
set { _FIELDNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string DEFVALUE
|
|
|
|
|
{
|
|
|
|
|
get { return _DEFVALUE; }
|
|
|
|
|
set { _DEFVALUE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string REMARK
|
|
|
|
|
{
|
|
|
|
|
get { return _REMARK; }
|
|
|
|
|
set { _REMARK = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|