Add CollectionAttributeName and use ApplicationEnum for Agile
This commit is contained in:
		| @@ -4,6 +4,7 @@ | ||||
| // </copyright> | ||||
| // *********************************************************************** | ||||
|  | ||||
| using Core.Blueprint.Mongo; | ||||
| using Core.Thalos.Adapters.Common.Enums; | ||||
| using MongoDB.Bson; | ||||
| using MongoDB.Bson.Serialization.Attributes; | ||||
| @@ -14,6 +15,7 @@ namespace Core.Thalos.Adapters | ||||
|     /// <summary> | ||||
|     /// Adapter for representing a module. | ||||
|     /// </summary> | ||||
|     [CollectionAttributeName("Modules")] | ||||
|     public class ModuleAdapter : Document | ||||
|     { | ||||
|         /// <summary> | ||||
|   | ||||
| @@ -4,8 +4,8 @@ | ||||
| // </copyright> | ||||
| // *********************************************************************** | ||||
|  | ||||
| using Core.Blueprint.Mongo; | ||||
| using Core.Thalos.Adapters.Common.Constants; | ||||
| using Core.Thalos.Adapters.Common.Enums; | ||||
| using MongoDB.Bson; | ||||
| using MongoDB.Bson.Serialization.Attributes; | ||||
| using System.Text.Json.Serialization; | ||||
| @@ -15,6 +15,7 @@ namespace Core.Thalos.Adapters | ||||
|     /// <summary> | ||||
|     /// Adapter for representing a permission. | ||||
|     /// </summary> | ||||
|     [CollectionAttributeName("Permissions")] | ||||
|     public class PermissionAdapter : Document | ||||
|     { | ||||
|         /// <summary> | ||||
|   | ||||
| @@ -4,6 +4,7 @@ | ||||
| // </copyright> | ||||
| // *********************************************************************** | ||||
|  | ||||
| using Core.Blueprint.Mongo; | ||||
| using Core.Thalos.Adapters.Common.Enums; | ||||
| using MongoDB.Bson; | ||||
| using MongoDB.Bson.Serialization.Attributes; | ||||
| @@ -14,6 +15,7 @@ namespace Core.Thalos.Adapters | ||||
|     /// <summary> | ||||
|     /// Adapter representing a role. | ||||
|     /// </summary> | ||||
|     [CollectionAttributeName("Roles")] | ||||
|     public class RoleAdapter : Document | ||||
|     { | ||||
|         /// <summary> | ||||
|   | ||||
| @@ -3,7 +3,7 @@ | ||||
| //     AgileWebs | ||||
| // </copyright> | ||||
| // *********************************************************************** | ||||
| using Core.Thalos.Adapters.Common.Enums; | ||||
| using Core.Blueprint.Mongo; | ||||
| using MongoDB.Bson; | ||||
| using MongoDB.Bson.Serialization.Attributes; | ||||
| using System.Text.Json.Serialization; | ||||
| @@ -13,6 +13,7 @@ namespace Core.Thalos.Adapters | ||||
|     /// <summary> | ||||
|     /// Adapter representing a user. | ||||
|     /// </summary> | ||||
|     [CollectionAttributeName("Users")] | ||||
|     public class UserAdapter : Document | ||||
|     { | ||||
|         /// <summary> | ||||
|   | ||||
| @@ -15,28 +15,13 @@ namespace Core.Thalos.Adapters.Common.Enums | ||||
|     public enum ApplicationsEnum | ||||
|     { | ||||
|         /// <summary> | ||||
|         /// LSA Web Portal application. | ||||
|         /// Thalos application. | ||||
|         /// </summary> | ||||
|         LSAWebPortal = 0, | ||||
|         Thalos = 0, | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Customer DashBoard application. | ||||
|         /// DreamViewer application. | ||||
|         /// </summary> | ||||
|         CustomerDashboard = 1, | ||||
|  | ||||
|         /// <summary> | ||||
|         /// Discover application. | ||||
|         /// </summary> | ||||
|         Discover = 2, | ||||
|  | ||||
|         /// <summary> | ||||
|         /// LSA Mobile application. | ||||
|         /// </summary> | ||||
|         LSAMobile = 3, | ||||
|  | ||||
|         /// <summary> | ||||
|         /// BluePrint application. | ||||
|         /// </summary> | ||||
|         BluePrint = 4, | ||||
|         DreamViewer = 1, | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Oscar Morales
					Oscar Morales