using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; namespace Ant.ORM { public class ResponseModel : BaseModelResponse { /// /// 返回单个实体数据配置GetEntity方法使用 /// public dynamic ResultModel { get; set; } /// /// 返回DataTable数据 /// public DataTable DataTable { get; set; } private int _totalNum = 0; /// /// 总记录 /// public int RecordNum { get { return _totalNum; } set { _totalNum = value; } } } /// /// 基类 /// public class BaseModelResponse { private bool _issuccess = false; /// /// 是否成功 /// public bool IsSuccess { get { return _issuccess; } set { _issuccess = value; } } public string _message; /// /// 信息 /// public string Message { get { return _message; } set { _message = value; } } private string _recode; /// /// 返回状态码 /// public string ReCode { get { return _recode; } set { _recode = value; } } public string _dbconfig; /// /// 数据库配置 /// public string DBConfig { get { return _dbconfig; } set { _dbconfig = value; } } public string _strsql; /// /// SQL语句 /// public string StrSql { get { return _strsql; } set { _strsql = value; } } } }