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.
|
|
|
|
using System;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsCodeSource
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class MsCodeSource : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region 私有成员
|
|
|
|
|
private string _SOURCEID = "*";
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region 读写属性
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string SOURCEID { get { return _SOURCEID; } set { _SOURCEID = value; } }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string SOURCENAME { get; set; }
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CORPID { get; set; }
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string SOURCECODE { get; set; }
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ENAME { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public MsCodeSource()
|
|
|
|
|
{
|
|
|
|
|
TableName = "code_source";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "SOURCEID";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class MsCodeSourceDetail : ModelObjectBillBody
|
|
|
|
|
{
|
|
|
|
|
#region private Fields
|
|
|
|
|
private string _OS_ID = "*";//业务编号
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Public Properties
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string SOURCEDETAILID { get { return _OS_ID; } set { _OS_ID = value; } }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string SOURCEID { get; set; }
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string SOURCEDETAIL { get; set; }
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string ENAME { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
override public string GetBillNoFieldName()
|
|
|
|
|
{
|
|
|
|
|
return "SOURCEID";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 参照部分
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|