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.

84 lines
1.7 KiB
C#

using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsReportRangeSet
{
[JsonObject]
public class SysReport : ModelObjectBillBody
{
#region 私有成员
private string _GID = Guid.NewGuid().ToString();//业务编号
private string _RPTNAME;//
private string _RPTPROP;//
private string _ISUSE;//
private string _ISDEFAULT = "0";//
private string _COMPANYID;
#endregion
public SysReport()
{
TableName = "sys_report";
}
#region 读写属性
/// <summary>
/// 主键唯一值
/// </summary>
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
[ModelDB]
public string RPTNAME
{
get { return _RPTNAME; }
set { _RPTNAME = value; }
}
[ModelDB]
public string RPTPROP
{
get { return _RPTPROP; }
set { _RPTPROP = value; }
}
public string ISUSE
{
get { return _ISUSE; }
set { _ISUSE = value; }
}
public string ISDEFAULT
{
get { return _ISDEFAULT; }
set { _ISDEFAULT = value; }
}
[ModelDB]
public string COMPANYID
{
get { return _COMPANYID; }
set { _COMPANYID = value; }
}
override public string GetBillNoFieldName()
{
return "GID";
}
#endregion
}
}