|
|
|
|
using System;
|
|
|
|
|
using System.Data;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.Models
|
|
|
|
|
{
|
|
|
|
|
public class ReportDBSourceEntity //系统报表数据源表sys_report_dbsource
|
|
|
|
|
{
|
|
|
|
|
#region 私有成员
|
|
|
|
|
private string _gid;//主键唯一值
|
|
|
|
|
private string _report_id;//报表主表GID
|
|
|
|
|
private string _name;//报表数据源系统名称
|
|
|
|
|
private string _description;//报表数据源中文名称或中文描述
|
|
|
|
|
private string _create_user;//创建人
|
|
|
|
|
private DateTime _create_time;//创建时间
|
|
|
|
|
private string _modified_user;//最后一次更新操作人GID
|
|
|
|
|
private DateTime _modified_time;//最后一次更新操作时间
|
|
|
|
|
private bool _is_delete;//是否删除
|
|
|
|
|
private DateTime _delete_time;//删除时间
|
|
|
|
|
private string _type;//类型
|
|
|
|
|
private string _user_id;//用户GID
|
|
|
|
|
private string _sql_string_1;//数据源1
|
|
|
|
|
private string _sql_string_2;//数据源2
|
|
|
|
|
private string _sql_string_3;//数据源3
|
|
|
|
|
private string _sql_string_4;//数据源4
|
|
|
|
|
private string _sql_string_5;//数据源5
|
|
|
|
|
private string _sql_string_6;//数据源6
|
|
|
|
|
private string _sql_string_7;//数据源7
|
|
|
|
|
private string _sql_string_8;//数据源8
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public ReportDBSourceEntity()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#region 读写属性
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键唯一值
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _gid; }
|
|
|
|
|
set { _gid = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 报表主表GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ReportID
|
|
|
|
|
{
|
|
|
|
|
get { return _report_id; }
|
|
|
|
|
set { _report_id = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 报表数据源系统名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Name
|
|
|
|
|
{
|
|
|
|
|
get { return _name; }
|
|
|
|
|
set { _name = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 报表数据源中文名称或中文描述
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Description
|
|
|
|
|
{
|
|
|
|
|
get { return _description; }
|
|
|
|
|
set { _description = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CreateUser
|
|
|
|
|
{
|
|
|
|
|
get { return _create_user; }
|
|
|
|
|
set { _create_user = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime CreateTime
|
|
|
|
|
{
|
|
|
|
|
get { return _create_time; }
|
|
|
|
|
set { _create_time = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次更新操作人GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ModifiedUser
|
|
|
|
|
{
|
|
|
|
|
get { return _modified_user; }
|
|
|
|
|
set { _modified_user = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后一次更新操作时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime ModifiedTime
|
|
|
|
|
{
|
|
|
|
|
get { return _modified_time; }
|
|
|
|
|
set { _modified_time = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否删除
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsDelete
|
|
|
|
|
{
|
|
|
|
|
get { return _is_delete; }
|
|
|
|
|
set { _is_delete = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 删除时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime DeleteTime
|
|
|
|
|
{
|
|
|
|
|
get { return _delete_time; }
|
|
|
|
|
set { _delete_time = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Type
|
|
|
|
|
{
|
|
|
|
|
get { return _type; }
|
|
|
|
|
set { _type = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 用户GID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string UserID
|
|
|
|
|
{
|
|
|
|
|
get { return _user_id; }
|
|
|
|
|
set { _user_id = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 数据源1
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SqlString_1
|
|
|
|
|
{
|
|
|
|
|
get { return _sql_string_1; }
|
|
|
|
|
set { _sql_string_1 = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 数据源2
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SqlString_2
|
|
|
|
|
{
|
|
|
|
|
get { return _sql_string_2; }
|
|
|
|
|
set { _sql_string_2 = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 数据源3
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SqlString_3
|
|
|
|
|
{
|
|
|
|
|
get { return _sql_string_3; }
|
|
|
|
|
set { _sql_string_3 = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 数据源4
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SqlString_4
|
|
|
|
|
{
|
|
|
|
|
get { return _sql_string_4; }
|
|
|
|
|
set { _sql_string_4 = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 数据源5
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SqlString_5
|
|
|
|
|
{
|
|
|
|
|
get { return _sql_string_5; }
|
|
|
|
|
set { _sql_string_5 = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 数据源6
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SqlString_6
|
|
|
|
|
{
|
|
|
|
|
get { return _sql_string_6; }
|
|
|
|
|
set { _sql_string_6 = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 数据源7
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SqlString_7
|
|
|
|
|
{
|
|
|
|
|
get { return _sql_string_7; }
|
|
|
|
|
set { _sql_string_7 = value; }
|
|
|
|
|
}
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 数据源8
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SqlString_8
|
|
|
|
|
{
|
|
|
|
|
get { return _sql_string_8; }
|
|
|
|
|
set { _sql_string_8 = value; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
}
|