|
|
|
|
using System;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsCodeOpDef
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class CodeOpDef : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region 私有成员
|
|
|
|
|
private string _GID = Guid.NewGuid().ToString();//业务编号
|
|
|
|
|
private string _BSTYPE;//
|
|
|
|
|
private string _FIELDNAME;//
|
|
|
|
|
private string _DEFVALUE;//
|
|
|
|
|
private string _FIELDTYPE;//
|
|
|
|
|
private string _REMARKS;
|
|
|
|
|
private string _DEFVALUESTR;//
|
|
|
|
|
private string _DEFVALUESTRDATE;//
|
|
|
|
|
private string _DEFVALUESTRBOOL;//
|
|
|
|
|
private string _CORPID;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public CodeOpDef()
|
|
|
|
|
{
|
|
|
|
|
TableName = "CODE_OPDEF";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#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 FIELDNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _FIELDNAME; }
|
|
|
|
|
set { _FIELDNAME = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string DEFVALUE
|
|
|
|
|
{
|
|
|
|
|
get { return _DEFVALUE; }
|
|
|
|
|
set { _DEFVALUE = value; }
|
|
|
|
|
}
|
|
|
|
|
public string DEFVALUESTR
|
|
|
|
|
{
|
|
|
|
|
get { return _DEFVALUESTR; }
|
|
|
|
|
set { _DEFVALUESTR = value; }
|
|
|
|
|
}
|
|
|
|
|
public string DEFVALUESTRDATE
|
|
|
|
|
{
|
|
|
|
|
get { return _DEFVALUESTRDATE; }
|
|
|
|
|
set { _DEFVALUESTRDATE = value; }
|
|
|
|
|
}
|
|
|
|
|
public string DEFVALUESTRBOOL
|
|
|
|
|
{
|
|
|
|
|
get { return _DEFVALUESTRBOOL; }
|
|
|
|
|
set { _DEFVALUESTRBOOL = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string FIELDTYPE
|
|
|
|
|
{
|
|
|
|
|
get { return _FIELDTYPE; }
|
|
|
|
|
set { _FIELDTYPE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CORPID
|
|
|
|
|
{
|
|
|
|
|
get { return _CORPID; }
|
|
|
|
|
set { _CORPID = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string REMARKS
|
|
|
|
|
{
|
|
|
|
|
get { return _REMARKS; }
|
|
|
|
|
set { _REMARKS = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|