diff --git a/opt/ahenk/base/model/modes/__init__.py b/opt/ahenk/base/model/modes/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/opt/ahenk/base/model/modes/login_mode.py b/opt/ahenk/base/model/modes/login_mode.py new file mode 100644 index 0000000..f299abe --- /dev/null +++ b/opt/ahenk/base/model/modes/login_mode.py @@ -0,0 +1,12 @@ +#!/usr/bin/python3 +# -*- coding: utf-8 -*- +# Author: Volkan Şahin + + +class LoginMode(object): + def __init__(self, username): + self.username = username + + @property + def obj_name(self): + return "LOGIN_MODE" diff --git a/opt/ahenk/base/model/modes/logout_mode.py b/opt/ahenk/base/model/modes/logout_mode.py new file mode 100644 index 0000000..59959b4 --- /dev/null +++ b/opt/ahenk/base/model/modes/logout_mode.py @@ -0,0 +1,12 @@ +#!/usr/bin/python3 +# -*- coding: utf-8 -*- +# Author: Volkan Şahin + + +class LogoutMode(object): + def __init__(self, username): + self.username = username + + @property + def obj_name(self): + return "LOGOUT_MODE" diff --git a/opt/ahenk/base/model/modes/shutdown_mode.py b/opt/ahenk/base/model/modes/shutdown_mode.py new file mode 100644 index 0000000..124a8b9 --- /dev/null +++ b/opt/ahenk/base/model/modes/shutdown_mode.py @@ -0,0 +1,12 @@ +#!/usr/bin/python3 +# -*- coding: utf-8 -*- +# Author: Volkan Şahin + + +class ShutdownMode(object): + def __init__(self): + pass + + @property + def obj_name(self): + return "SHUTDOWN_MODE"