Ejemplo n.º 1
0
 /// <summary>
 /// 全构造函数
 /// </summary>
 public SPClientChannelSettingEntity(int id, string name, string description, SPChannelEntity channelID, SPClientEntity clinetID, int?interceptRate, int?upRate, int?downRate, string commandType, string commandCode, bool?disable, string commandColumn, string interceptRateType, bool?syncData, string syncDataUrl, string okMessage, string failedMessage, string syncType, int?orderIndex, string channelCode, bool?allowFilter, string allowAndDisableArea, string settlementPeriod, string dayLimit, string monthLimit, string sendText, string getway, int defaultNoInterceptCount)
 {
     _id                      = id;
     _name                    = name;
     _description             = description;
     _channelID               = channelID;
     _clinetID                = clinetID;
     _interceptRate           = interceptRate;
     _upRate                  = upRate;
     _downRate                = downRate;
     _commandType             = commandType;
     _commandCode             = commandCode;
     _disable                 = disable;
     _commandColumn           = commandColumn;
     _interceptRateType       = interceptRateType;
     _syncData                = syncData;
     _syncDataUrl             = syncDataUrl;
     _okMessage               = okMessage;
     _failedMessage           = failedMessage;
     _syncType                = syncType;
     _orderIndex              = orderIndex;
     _channelCode             = channelCode;
     _allowFilter             = allowFilter;
     _allowAndDisableArea     = allowAndDisableArea;
     _settlementPeriod        = settlementPeriod;
     _dayLimit                = dayLimit;
     _monthLimit              = monthLimit;
     _sendText                = sendText;
     _getway                  = getway;
     _defaultNoInterceptCount = defaultNoInterceptCount;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 默认构造函数
 /// </summary>
 public SPClientChannelSettingEntity()
 {
     _id                      = 0;
     _name                    = null;
     _description             = null;
     _channelID               = null;
     _clinetID                = null;
     _interceptRate           = null;
     _upRate                  = null;
     _downRate                = null;
     _commandType             = null;
     _commandCode             = null;
     _disable                 = null;
     _commandColumn           = null;
     _interceptRateType       = null;
     _syncData                = null;
     _syncDataUrl             = null;
     _okMessage               = null;
     _failedMessage           = null;
     _syncType                = null;
     _orderIndex              = 1;
     _channelCode             = null;
     _allowFilter             = false;
     _allowAndDisableArea     = null;
     _settlementPeriod        = null;
     _dayLimit                = null;
     _monthLimit              = null;
     _sendText                = null;
     _getway                  = null;
     _defaultNoInterceptCount = 0;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// 全构造函数
 /// </summary>
 public SPChannelDefaultClientSycnParamsEntity(int id, string name, string description, bool?isEnable, bool?isRequired, SPChannelEntity channelID, string mappingParams, string title)
 {
     _id            = id;
     _name          = name;
     _description   = description;
     _isEnable      = isEnable;
     _isRequired    = isRequired;
     _channelID     = channelID;
     _mappingParams = mappingParams;
     _title         = title;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// 默认构造函数
 /// </summary>
 public SPChannelDefaultClientSycnParamsEntity()
 {
     _id            = 0;
     _name          = null;
     _description   = null;
     _isEnable      = null;
     _isRequired    = null;
     _channelID     = null;
     _mappingParams = null;
     _title         = null;
 }
 /// <summary>
 /// 全构造函数
 /// </summary>
 public SPChannelParamsEntity(int id, string name, string description, bool?isEnable, bool?isRequired, string paramsType, SPChannelEntity channelID, string paramsMappingName, string title, bool?showInClientGrid, bool?isUnique)
 {
     _id                = id;
     _name              = name;
     _description       = description;
     _isEnable          = isEnable;
     _isRequired        = isRequired;
     _paramsType        = paramsType;
     _channelID         = channelID;
     _paramsMappingName = paramsMappingName;
     _title             = title;
     _showInClientGrid  = showInClientGrid;
     _isUnique          = isUnique;
 }
 /// <summary>
 /// 默认构造函数
 /// </summary>
 public SPChannelParamsEntity()
 {
     _id                = 0;
     _name              = null;
     _description       = null;
     _isEnable          = null;
     _isRequired        = null;
     _paramsType        = null;
     _channelID         = null;
     _paramsMappingName = null;
     _title             = null;
     _showInClientGrid  = true;
     _isUnique          = null;
 }
        /// <summary>
        /// local implementation of Equals based on unique value members
        /// </summary>
        public override bool Equals(object obj)
        {
            if (this == obj)
            {
                return(true);
            }

            if ((obj == null) || (obj.GetType() != this.GetType()))
            {
                return(false);
            }

            SPChannelEntity castObj = (SPChannelEntity)obj;

            return((castObj != null) && (this._id == castObj.Id));
        }
 /// <summary>
 /// 全构造函数
 /// </summary>
 public SPCodeInfoEntity(int id, SPChannelEntity channelID, string operatorType, string mo, string codeType, string sPCode, string province, string disableArea, string dayMonthLimit, bool isLimit, bool isEnable, string price, string sendText, string comment, int?createUser, DateTime?createTime)
 {
     _id            = id;
     _channelID     = channelID;
     _operatorType  = operatorType;
     _mo            = mo;
     _codeType      = codeType;
     _sPCode        = sPCode;
     _province      = province;
     _disableArea   = disableArea;
     _dayMonthLimit = dayMonthLimit;
     _isLimit       = isLimit;
     _isEnable      = isEnable;
     _price         = price;
     _sendText      = sendText;
     _comment       = comment;
     _createUser    = createUser;
     _createTime    = createTime;
 }
 /// <summary>
 /// 默认构造函数
 /// </summary>
 public SPCodeInfoEntity()
 {
     _id            = 0;
     _channelID     = null;
     _operatorType  = String.Empty;
     _mo            = String.Empty;
     _codeType      = String.Empty;
     _sPCode        = String.Empty;
     _province      = String.Empty;
     _disableArea   = String.Empty;
     _dayMonthLimit = String.Empty;
     _isLimit       = false;
     _isEnable      = false;
     _price         = null;
     _sendText      = null;
     _comment       = null;
     _createUser    = null;
     _createTime    = null;
 }
 /// <summary>
 /// 全构造函数
 /// </summary>
 public SPPaymentInfoEntity(int id, string mobileNumber, SPChannelEntity channelID, SPClientEntity clientID, string message, bool?isIntercept, DateTime?createDate, int?clientGroupID, string cpid, string mid, string port, string ywid, string linkid, string dest, string price, string ip, bool?sucesssToSend, string extendField1, string extendField2, string extendField3, string extendField4, string extendField5, string extendField6, string extendField7, string extendField8, string mobileOperators, string requestContent, string city, string province, bool?isTestData, int?channleClientID, bool?isSycnData, string sSycnDataUrl, int?sycnRetryTimes, bool isReport)
 {
     _id              = id;
     _mobileNumber    = mobileNumber;
     _channelID       = channelID;
     _clientID        = clientID;
     _message         = message;
     _isIntercept     = isIntercept;
     _createDate      = createDate;
     _clientGroupID   = clientGroupID;
     _cpid            = cpid;
     _mid             = mid;
     _port            = port;
     _ywid            = ywid;
     _linkid          = linkid;
     _dest            = dest;
     _price           = price;
     _ip              = ip;
     _sucesssToSend   = sucesssToSend;
     _extendField1    = extendField1;
     _extendField2    = extendField2;
     _extendField3    = extendField3;
     _extendField4    = extendField4;
     _extendField5    = extendField5;
     _extendField6    = extendField6;
     _extendField7    = extendField7;
     _extendField8    = extendField8;
     _mobileOperators = mobileOperators;
     _requestContent  = requestContent;
     _city            = city;
     _province        = province;
     _isTestData      = isTestData;
     _channleClientID = channleClientID;
     _isSycnData      = isSycnData;
     _sSycnDataUrl    = sSycnDataUrl;
     _sycnRetryTimes  = sycnRetryTimes;
     _isReport        = isReport;
 }
 /// <summary>
 /// 默认构造函数
 /// </summary>
 public SPPaymentInfoEntity()
 {
     _id              = 0;
     _mobileNumber    = null;
     _channelID       = null;
     _clientID        = null;
     _message         = null;
     _isIntercept     = null;
     _createDate      = null;
     _clientGroupID   = null;
     _cpid            = null;
     _mid             = null;
     _port            = String.Empty;
     _ywid            = null;
     _linkid          = null;
     _dest            = null;
     _price           = null;
     _ip              = null;
     _sucesssToSend   = null;
     _extendField1    = null;
     _extendField2    = null;
     _extendField3    = null;
     _extendField4    = null;
     _extendField5    = null;
     _extendField6    = null;
     _extendField7    = null;
     _extendField8    = null;
     _mobileOperators = null;
     _requestContent  = null;
     _city            = null;
     _province        = null;
     _isTestData      = null;
     _channleClientID = null;
     _isSycnData      = null;
     _sSycnDataUrl    = null;
     _sycnRetryTimes  = 0;
     _isReport        = false;
 }