/***************************************************************************
                Data Class
                -----------------------------------------
	begin      : 2013/09/16
	copyright  : (C) 2005 Solbox Inc.
	author     : Development 1 Team
					- 2013/09/16
	email      : dev1@solbox.com
	version    : 3.2.0

	CopyRight(C) 2005 Solbox Inc. All Rights reserved.
	Redistribution and use in source and binary forms, with or with out
	modification, are not permitted in outside of Solbox Inc.
***************************************************************************/

#ifndef __DATA_H__
#define __DATA_H__

#include "cc_tsd.h"
#include <list>
#include <map>
#include <string>
#include <time.h>

/// @brief CLoginInfo class
class CLoginInfo
{
	public :
		// service ID
		std::string  m_szUserID;
		std::string  m_szIssuer;
		std::string  m_szClientIP;
		std::string  m_szLoginDate;
}; // ~class CLoginInfo

/// @brief CLoginInfo class
class CServiceInfo
{
        public :
				std::string  m_szServiceSeq;
				std::string  m_szServiceID;
                std::string  m_szRcDomain;
                std::string  m_szServiceDomain;
                std::string  m_szRctsDomain;
                std::string  m_szStatusCode;
				std::string  m_szCode;
}; // ~class CServiceInfo


typedef map< std::string, CServiceInfo > CServiceInfoMap;
typedef pair< std::string, CServiceInfo > CServiceInfoPair;


/// @brief CLoginInfo class
class CCustomerInfo
{
	public :
		// service ID
		std::string  m_szUserSeq;
		std::string  m_szUserID;
		std::string  m_szPassWord;
		//!! Map
		CServiceInfoMap mapServiceInfo;
}; // ~class CServiceInfo

typedef map< std::string, CCustomerInfo > CCustomerInfoMap;
typedef pair< std::string, CCustomerInfo > CCustomerInfoPair;



#endif //__DATA_H__
