using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsCodeExcelExpFormat
{
[JsonObject]
public class MsCodeExcelExpFormat : ModelObjectBillHead
{
#region 私有成员
private string _GID = Guid.NewGuid().ToString();
private string _FMNAME = "";
private string _FILEPATH = "";
private string _REMARK= "";
private string _BSTYPE = "";
private string _CREATEUSER = "";
private string _CREATEUSERREF = "";
private string _CREATETIME = "";
private string _MODIFIEDUSER = "";
private string _MODIFIEDTIME = "";
private string _CORPID = String.Empty;
#endregion
#region 读写属性
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID { get { return _GID; } set { _GID = value; } }
[ModelDB]
public string FMNAME { get { return _FMNAME; } set { _FMNAME = value; } }
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CORPID { get { return _CORPID; } set { _CORPID = value; } }
[ModelDB]
public string FILEPATH { get { return _FILEPATH; } set { _FILEPATH = value; } }
[ModelDB]
public string REMARK { get { return _REMARK; } set { _REMARK = value; } }
[ModelDB]
public string BSTYPE { get { return _BSTYPE; } set { _BSTYPE = value; } }
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CREATEUSER { get { return _CREATEUSER; } set { _CREATEUSER = value; } }
public string CREATEUSERREF { get { return _CREATEUSERREF; } set { _CREATEUSERREF = value; } }
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CREATETIME { get { return _CREATETIME; } set { _CREATETIME = value; } }
[ModelDB]
public string MODIFIEDUSER { get { return _MODIFIEDUSER; } set { _MODIFIEDUSER = value; } }
[ModelDB]
public string MODIFIEDTIME { get { return _MODIFIEDTIME; } set { _MODIFIEDTIME = value; } }
#endregion
public MsCodeExcelExpFormat()
{
TableName = "code_excel_expformat";
}
override public string GetBillNoFieldName()
{
return "GID";
}
}
[JsonObject]
public class MsCodeExcelExpFormatDetail : ModelObjectBillBody
{
#region 私有成员
private string _gid;//主键唯一值
private string _TEMPLATEID;//费用模板GID(主表)
private string _FIELDNAME = "";
private int _XP;//
private int _YP;//
private string _FIXSTR = "";
#endregion
public MsCodeExcelExpFormatDetail()
{
TableName = "code_excel_expformatdetail";
}
#region 读写属性
///
/// 主键唯一值
///
public string GID
{
get { return _gid; }
set { _gid = value; }
}
///
/// 费用模板GID(主表)
///
public string TEMPLATEID
{
get { return _TEMPLATEID; }
set { _TEMPLATEID = value; }
}
[ModelDB]
public string FIELDNAME { get { return _FIELDNAME; } set { _FIELDNAME = value; } }
[ModelDB]
public int XP
{
get { return _XP; }
set { _XP = value; }
}
[ModelDB]
public int YP
{
get { return _YP; }
set { _YP = value; }
}
[ModelDB]
public string FIXSTR
{
get { return _FIXSTR; }
set { _FIXSTR = value; }
}
#endregion
override public string GetBillNoFieldName()
{
return "TemplateID";
}
}
#region 参照部分
#endregion
}