diff --git a/docs/model.ndm2 b/docs/model.ndm2 index c43988d..473402b 100644 --- a/docs/model.ndm2 +++ b/docs/model.ndm2 @@ -14026,66 +14026,6 @@ "targetCardinality": "NoneRelationship", "oldName": "" }, - { - "objectType": "ForeignKey_MSSQL", - "name": "fk_ProductsService_GetAllProductsByFilterRequest_1", - "fields": [ - "GetAllProductsByFilter" - ], - "referencedSchema": "CMS", - "referencedTable": "GetAllProductsByFilterRequest", - "referencedFields": [ - "PaginationState" - ], - "onDelete": "", - "onUpdate": "", - "isNotForReplication": false, - "isEnabled": false, - "comment": "", - "sourceCardinality": "NoneRelationship", - "targetCardinality": "NoneRelationship", - "oldName": "" - }, - { - "objectType": "ForeignKey_MSSQL", - "name": "fk_ProductsService_GetAllProductsByFilterResponse_1", - "fields": [ - "GetAllProductsByFilter" - ], - "referencedSchema": "CMS", - "referencedTable": "GetAllProductsByFilterResponse", - "referencedFields": [ - "MetaData" - ], - "onDelete": "", - "onUpdate": "", - "isNotForReplication": false, - "isEnabled": false, - "comment": "", - "sourceCardinality": "NoneRelationship", - "targetCardinality": "NoneRelationship", - "oldName": "" - }, - { - "objectType": "ForeignKey_MSSQL", - "name": "fk_ProductsService_GetAllProductsByFilterFilter_1", - "fields": [ - "GetAllProductsByFilter" - ], - "referencedSchema": "FrontOffice", - "referencedTable": "GetAllProductsByFilterFilter", - "referencedFields": [ - "Id" - ], - "onDelete": "", - "onUpdate": "", - "isNotForReplication": false, - "isEnabled": true, - "comment": "", - "sourceCardinality": "NoneRelationship", - "targetCardinality": "NoneRelationship", - "oldName": "" - }, { "objectType": "ForeignKey_MSSQL", "name": "fk_ProductsService_GetProductsResponse_1", @@ -14128,14 +14068,34 @@ }, { "objectType": "ForeignKey_MSSQL", - "name": "fk_ProductsService_GetAllProductsByFilterResponseModel_1", + "name": "fk_ProductsService_GetAllProductsByFilterResponse_1", "fields": [ "GetAllProductsByFilter" ], "referencedSchema": "FrontOffice", - "referencedTable": "GetAllProductsByFilterResponseModel", + "referencedTable": "GetAllProductsByFilterResponse", "referencedFields": [ - "Id" + "MetaData" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductsService_GetAllProductsByFilterRequest_1", + "fields": [ + "GetAllProductsByFilter" + ], + "referencedSchema": "FrontOffice", + "referencedTable": "GetAllProductsByFilterRequest", + "referencedFields": [ + "PaginationState" ], "onDelete": "", "onUpdate": "", @@ -15473,16 +15433,315 @@ "filestreamPartitionScheme": "", "dataCompressions": [] } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllProductsByFilterResponse", + "comment": "خروجی واکشی توکن Otp بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 9936, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "MetaData", + "type": "MetaData", + "size": 0, + "isNullable": "Yes", + "scale": 0, + "comment": "متادیتا", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "MetaData", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Model", + "type": "Collection", + "size": 0, + "isNullable": "Yes", + "scale": 0, + "comment": "مدل خروجی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Model", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_GetAllProductsByFilterResponse_GetAllProductsByFilterResponseModel", + "fields": [ + "Model" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllProductsByFilterResponseModel", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_GetAllProductsByFilterResponse_GetAllProductsByFilterResponseModel_1", + "fields": [ + "Model" + ], + "referencedSchema": "FrontOffice", + "referencedTable": "GetAllProductsByFilterResponseModel", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + } + ], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllProductsByFilterRequest", + "comment": "ورودی واکشی توکن Otp بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllProductsByFilterRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2913, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "PaginationState", + "type": "PaginationState", + "size": 0, + "isNullable": "Yes", + "scale": 0, + "comment": "موقعیت صفحه بندی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaginationState", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "SortBy", + "type": "nvarchar", + "size": 0, + "isNullable": "Yes", + "scale": 0, + "comment": "مرتب سازی بر اساس", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "SortBy", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Filter", + "type": "Object", + "size": 0, + "isNullable": "Yes", + "scale": 0, + "comment": "فیلتر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Filter", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_GetAllProductsByFilterRequest_GetAllProductsByFilterFilter", + "fields": [ + "Filter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllProductsByFilterFilter", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_GetAllProductsByFilterRequest_GetAllProductsByFilterFilter_1", + "fields": [ + "Filter" + ], + "referencedSchema": "FrontOffice", + "referencedTable": "GetAllProductsByFilterFilter", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + } + ], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } } ], "views": [] - }, - { - "objectType": "Schema_MSSQL", - "name": "CMS", - "comment": "", - "tables": [], - "views": [] } ] } @@ -15507,7 +15766,7 @@ "schemaName": "FrontOffice", "tableName": "UserService", "x": 980, - "y": 3410, + "y": 990, "width": 400, "height": 326, "isBold": false, @@ -15523,7 +15782,7 @@ "schemaName": "FrontOffice", "tableName": "UpdateUserRequest", "x": 1290, - "y": 3040, + "y": 620, "width": 400, "height": 270, "isBold": false, @@ -15539,7 +15798,7 @@ "schemaName": "FrontOffice", "tableName": "DeleteUserRequest", "x": 1480, - "y": 3350, + "y": 930, "width": 400, "height": 106, "isBold": false, @@ -15555,7 +15814,7 @@ "schemaName": "FrontOffice", "tableName": "GetUserResponse", "x": 830, - "y": 2440, + "y": 30, "width": 400, "height": 390, "isBold": false, @@ -15571,7 +15830,7 @@ "schemaName": "FrontOffice", "tableName": "GetAllUserByFilterRequest", "x": 470, - "y": 3510, + "y": 1090, "width": 400, "height": 137, "isBold": false, @@ -15587,7 +15846,7 @@ "schemaName": "FrontOffice", "tableName": "GetAllUserByFilterFilter", "x": 30, - "y": 3410, + "y": 990, "width": 400, "height": 330, "isBold": false, @@ -15603,7 +15862,7 @@ "schemaName": "FrontOffice", "tableName": "GetAllUserByFilterResponse", "x": 980, - "y": 3790, + "y": 1370, "width": 400, "height": 118, "isBold": false, @@ -15619,7 +15878,7 @@ "schemaName": "FrontOffice", "tableName": "GetAllUserByFilterResponseModel", "x": 980, - "y": 3950, + "y": 1530, "width": 400, "height": 350, "isBold": false, @@ -15634,8 +15893,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "UserAddressService", - "x": 2850, - "y": 660, + "x": 540, + "y": 4390, "width": 400, "height": 200, "isBold": false, @@ -15650,8 +15909,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "CreateNewUserAddressRequest", - "x": 3880, - "y": 540, + "x": 1570, + "y": 4260, "width": 400, "height": 213, "isBold": false, @@ -15666,8 +15925,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "CreateNewUserAddressResponse", - "x": 3230, - "y": 350, + "x": 920, + "y": 4070, "width": 400, "height": 106, "isBold": false, @@ -15682,8 +15941,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "UpdateUserAddressRequest", - "x": 3370, - "y": 510, + "x": 1060, + "y": 4230, "width": 400, "height": 213, "isBold": false, @@ -15698,8 +15957,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "DeleteUserAddressRequest", - "x": 2720, - "y": 30, + "x": 410, + "y": 3750, "width": 400, "height": 106, "isBold": false, @@ -15714,8 +15973,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetUserAddressRequest", - "x": 2340, - "y": 710, + "x": 30, + "y": 4430, "width": 400, "height": 106, "isBold": false, @@ -15730,8 +15989,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetUserAddressResponse", - "x": 2850, - "y": 920, + "x": 540, + "y": 4640, "width": 400, "height": 213, "isBold": false, @@ -15746,8 +16005,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetAllUserAddressByFilterRequest", - "x": 4390, - "y": 810, + "x": 2090, + "y": 4530, "width": 400, "height": 137, "isBold": false, @@ -15762,8 +16021,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetAllUserAddressByFilterFilter", - "x": 4850, - "y": 810, + "x": 2540, + "y": 4530, "width": 400, "height": 213, "isBold": false, @@ -15778,8 +16037,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetAllUserAddressByFilterResponse", - "x": 4390, - "y": 630, + "x": 2090, + "y": 4350, "width": 400, "height": 118, "isBold": false, @@ -15794,8 +16053,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetAllUserAddressByFilterResponseModel", - "x": 4850, - "y": 540, + "x": 2540, + "y": 4260, "width": 400, "height": 213, "isBold": false, @@ -15810,8 +16069,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "PackageService", - "x": 3860, - "y": 4810, + "x": 940, + "y": 5360, "width": 400, "height": 120, "isBold": false, @@ -15826,8 +16085,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetPackageRequest", - "x": 4310, - "y": 4800, + "x": 1400, + "y": 5360, "width": 400, "height": 106, "isBold": false, @@ -15842,8 +16101,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetPackageResponse", - "x": 3860, - "y": 4990, + "x": 940, + "y": 5550, "width": 400, "height": 175, "isBold": false, @@ -15858,8 +16117,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetAllPackageByFilterRequest", - "x": 3400, - "y": 4800, + "x": 480, + "y": 5360, "width": 400, "height": 137, "isBold": false, @@ -15874,8 +16133,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetAllPackageByFilterFilter", - "x": 2950, - "y": 4780, + "x": 30, + "y": 5340, "width": 400, "height": 175, "isBold": false, @@ -15890,8 +16149,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetAllPackageByFilterResponse", - "x": 3860, - "y": 4610, + "x": 940, + "y": 5170, "width": 400, "height": 118, "isBold": false, @@ -15906,8 +16165,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetAllPackageByFilterResponseModel", - "x": 3860, - "y": 4370, + "x": 940, + "y": 4930, "width": 400, "height": 175, "isBold": false, @@ -15922,8 +16181,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "UserOrderService", - "x": 530, - "y": 4970, + "x": 3240, + "y": 2550, "width": 400, "height": 175, "isBold": false, @@ -15938,8 +16197,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "CreateNewUserOrderRequest", - "x": 1030, - "y": 4770, + "x": 3740, + "y": 2350, "width": 400, "height": 230, "isBold": false, @@ -15954,8 +16213,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "CreateNewUserOrderResponse", - "x": 1530, - "y": 4930, + "x": 4240, + "y": 2510, "width": 400, "height": 106, "isBold": false, @@ -15970,8 +16229,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "UpdateUserOrderRequest", - "x": 400, - "y": 4370, + "x": 3110, + "y": 1950, "width": 400, "height": 130, "isBold": false, @@ -15986,8 +16245,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "DeleteUserOrderRequest", - "x": 30, - "y": 5000, + "x": 2740, + "y": 2590, "width": 400, "height": 106, "isBold": false, @@ -16002,8 +16261,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetUserOrderRequest", - "x": 530, - "y": 5190, + "x": 3240, + "y": 2780, "width": 400, "height": 106, "isBold": false, @@ -16018,8 +16277,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetUserOrderResponse", - "x": 2030, - "y": 5050, + "x": 4750, + "y": 2630, "width": 400, "height": 230, "isBold": false, @@ -16034,8 +16293,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetAllUserOrderByFilterRequest", - "x": 2030, - "y": 4870, + "x": 4750, + "y": 2450, "width": 400, "height": 137, "isBold": false, @@ -16050,8 +16309,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetAllUserOrderByFilterFilter", - "x": 2480, - "y": 4820, + "x": 5190, + "y": 2400, "width": 400, "height": 240, "isBold": false, @@ -16066,8 +16325,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetAllUserOrderByFilterResponse", - "x": 790, - "y": 4550, + "x": 3500, + "y": 2130, "width": 400, "height": 118, "isBold": false, @@ -16082,8 +16341,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetAllUserOrderByFilterResponseModel", - "x": 1230, - "y": 4490, + "x": 3950, + "y": 2070, "width": 400, "height": 230, "isBold": false, @@ -16099,7 +16358,7 @@ "schemaName": "FrontOffice", "tableName": "CreateNewOtpTokenRequest", "x": 5000, - "y": 3690, + "y": 1240, "width": 400, "height": 166, "isBold": false, @@ -16115,7 +16374,7 @@ "schemaName": "FrontOffice", "tableName": "CreateNewOtpTokenResponse", "x": 5000, - "y": 3490, + "y": 1050, "width": 400, "height": 150, "isBold": false, @@ -16131,7 +16390,7 @@ "schemaName": "FrontOffice", "tableName": "VerifyOtpTokenRequest", "x": 3990, - "y": 3460, + "y": 1030, "width": 400, "height": 150, "isBold": false, @@ -16147,7 +16406,7 @@ "schemaName": "FrontOffice", "tableName": "VerifyOtpTokenResponse", "x": 4500, - "y": 3470, + "y": 1050, "width": 400, "height": 170, "isBold": false, @@ -16163,7 +16422,7 @@ "schemaName": "FrontOffice", "tableName": "UserAvatarFileModel", "x": 1730, - "y": 3100, + "y": 680, "width": 280, "height": 140, "isBold": false, @@ -16178,8 +16437,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "SetAddressAsDefaultRequest", - "x": 3100, - "y": 190, + "x": 800, + "y": 3910, "width": 400, "height": 106, "isBold": false, @@ -16194,8 +16453,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "TransactionTypeEnum", - "x": 1880, - "y": 690, + "x": 1860, + "y": 2890, "width": 250, "height": 110, "isBold": false, @@ -16210,8 +16469,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "CurrencyEnum", - "x": 1560, - "y": 1090, + "x": 2310, + "y": 3330, "width": 200, "height": 110, "isBold": false, @@ -16227,7 +16486,7 @@ "schemaName": "FrontOffice", "tableName": "TransactionService", "x": 500, - "y": 2060, + "y": 3080, "width": 520, "height": 160, "isBold": false, @@ -16243,7 +16502,7 @@ "schemaName": "FrontOffice", "tableName": "GetTransactionRequest", "x": 1190, - "y": 2170, + "y": 3190, "width": 400, "height": 110, "isBold": false, @@ -16258,8 +16517,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetTransactionResponse", - "x": 1450, - "y": 1630, + "x": 1780, + "y": 3130, "width": 420, "height": 490, "isBold": false, @@ -16274,8 +16533,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetAllTransactionByFilterRequest", - "x": 1810, - "y": 1440, + "x": 800, + "y": 2120, "width": 400, "height": 137, "isBold": false, @@ -16290,8 +16549,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetAllTransactionByFilterFilter", - "x": 1810, - "y": 900, + "x": 1790, + "y": 1950, "width": 400, "height": 490, "isBold": false, @@ -16306,8 +16565,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetAllTransactionByFilterResponse", - "x": 780, - "y": 280, + "x": 2230, + "y": 2430, "width": 350, "height": 118, "isBold": false, @@ -16322,8 +16581,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetAllTransactionByFilterResponseModel", - "x": 1240, - "y": 90, + "x": 2200, + "y": 2600, "width": 410, "height": 490, "isBold": false, @@ -16338,8 +16597,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "PaymentRequestRequest", - "x": 1490, - "y": 630, + "x": 1480, + "y": 2860, "width": 330, "height": 230, "isBold": false, @@ -16354,8 +16613,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "PaymentRequestResponse", - "x": 580, - "y": 2270, + "x": 570, + "y": 3290, "width": 380, "height": 106, "isBold": false, @@ -16371,7 +16630,7 @@ "schemaName": "FrontOffice", "tableName": "PaymentVerificationRequest", "x": 410, - "y": 110, + "y": 2020, "width": 330, "height": 120, "isBold": false, @@ -16387,7 +16646,7 @@ "schemaName": "FrontOffice", "tableName": "PaymentVerificationResponse", "x": 30, - "y": 2040, + "y": 3070, "width": 360, "height": 190, "isBold": false, @@ -16403,7 +16662,7 @@ "schemaName": "FrontOffice", "tableName": "AdminGetJwtTokenRequest", "x": 3490, - "y": 3450, + "y": 1030, "width": 400, "height": 128, "isBold": false, @@ -16419,7 +16678,7 @@ "schemaName": "FrontOffice", "tableName": "AdminGetJwtTokenResponse", "x": 2990, - "y": 3450, + "y": 1020, "width": 400, "height": 106, "isBold": false, @@ -16435,7 +16694,7 @@ "schemaName": "FrontOffice", "tableName": "SetPasswordForUserRequest", "x": 2490, - "y": 3370, + "y": 940, "width": 400, "height": 155, "isBold": false, @@ -16450,8 +16709,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "AcceptContractRequest", - "x": 1190, - "y": 2880, + "x": 1980, + "y": 930, "width": 400, "height": 136, "isBold": false, @@ -16466,8 +16725,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "AcceptContractRequestResponse", - "x": 604, - "y": 3227, + "x": 1190, + "y": 470, "width": 400, "height": 106, "isBold": false, @@ -16482,8 +16741,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "ProductsService", - "x": 8829, - "y": 490, + "x": 3920, + "y": 4330, "width": 400, "height": 175, "isBold": false, @@ -16498,8 +16757,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetProductsResponse", - "x": 8238, - "y": 362, + "x": 4440, + "y": 4210, "width": 400, "height": 426, "isBold": false, @@ -16514,8 +16773,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetProductsRequest", - "x": 9223, - "y": 637, + "x": 3920, + "y": 4570, "width": 400, "height": 106, "isBold": false, @@ -16530,8 +16789,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetAllProductsByFilterFilter", - "x": 8767, - "y": 127, + "x": 3920, + "y": 3750, "width": 400, "height": 327, "isBold": false, @@ -16546,8 +16805,8 @@ "type": "table", "schemaName": "FrontOffice", "tableName": "GetAllProductsByFilterResponseModel", - "x": 8822, - "y": 720, + "x": 3000, + "y": 4210, "width": 400, "height": 408, "isBold": false, @@ -16557,6 +16816,38 @@ "b": 160, "a": 1 } + }, + { + "type": "table", + "schemaName": "FrontOffice", + "tableName": "GetAllProductsByFilterResponse", + "x": 3460, + "y": 4360, + "width": 400, + "height": 118, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "FrontOffice", + "tableName": "GetAllProductsByFilterRequest", + "x": 3920, + "y": 4130, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } } ], "layers": [], @@ -16570,20 +16861,20 @@ "vertices": [ { "x": 1230, - "y": 3395 + "y": 975 }, { "x": 1230, - "y": 3170 + "y": 750 }, { "x": 1275, - "y": 3170 + "y": 750 } ], "label": { "x": 1238, - "y": 3405, + "y": 985, "width": 254, "height": 32, "fontName": "Arial Unicode MS", @@ -16608,16 +16899,16 @@ "vertices": [ { "x": 1395, - "y": 3430 + "y": 1010 }, { "x": 1465, - "y": 3430 + "y": 1010 } ], "label": { "x": 1391, - "y": 3402, + "y": 982, "width": 249, "height": 32, "fontName": "Arial Unicode MS", @@ -16642,16 +16933,16 @@ "vertices": [ { "x": 1030, - "y": 3395 + "y": 975 }, { "x": 1030, - "y": 2845 + "y": 435 } ], "label": { "x": 1038, - "y": 3405, + "y": 985, "width": 238, "height": 32, "fontName": "Arial Unicode MS", @@ -16676,16 +16967,16 @@ "vertices": [ { "x": 965, - "y": 3580 + "y": 1160 }, { "x": 885, - "y": 3580 + "y": 1160 } ], "label": { "x": 981, - "y": 3582, + "y": 1162, "width": 295, "height": 32, "fontName": "Arial Unicode MS", @@ -16710,16 +17001,16 @@ "vertices": [ { "x": 1180, - "y": 3751 + "y": 1331 }, { "x": 1180, - "y": 3775 + "y": 1355 } ], "label": { "x": 1188, - "y": 3741, + "y": 1321, "width": 305, "height": 32, "fontName": "Arial Unicode MS", @@ -16744,16 +17035,16 @@ "vertices": [ { "x": 455, - "y": 3580 + "y": 1160 }, { "x": 445, - "y": 3580 + "y": 1160 } ], "label": { "x": 471, - "y": 3582, + "y": 1162, "width": 357, "height": 32, "fontName": "Arial Unicode MS", @@ -16778,16 +17069,16 @@ "vertices": [ { "x": 1180, - "y": 3923 + "y": 1503 }, { "x": 1180, - "y": 3935 + "y": 1515 } ], "label": { "x": 1188, - "y": 3913, + "y": 1493, "width": 442, "height": 32, "fontName": "Arial Unicode MS", @@ -16811,21 +17102,21 @@ "visible": true, "vertices": [ { - "x": 3170, - "y": 645 + "x": 870, + "y": 4375 }, { - "x": 3170, - "y": 400 + "x": 870, + "y": 4120 }, { - "x": 3215, - "y": 400 + "x": 905, + "y": 4120 } ], "label": { - "x": 3178, - "y": 625, + "x": 878, + "y": 4355, "width": 394, "height": 32, "fontName": "Arial Unicode MS", @@ -16849,25 +17140,25 @@ "visible": true, "vertices": [ { - "x": 3265, - "y": 680 + "x": 955, + "y": 4410 }, { - "x": 3310, - "y": 680 + "x": 1000, + "y": 4410 }, { - "x": 3310, - "y": 650 + "x": 1000, + "y": 4380 }, { - "x": 3355, - "y": 650 + "x": 1045, + "y": 4380 } ], "label": { - "x": 3261, - "y": 682, + "x": 951, + "y": 4412, "width": 360, "height": 32, "fontName": "Arial Unicode MS", @@ -16891,17 +17182,17 @@ "visible": true, "vertices": [ { - "x": 2920, - "y": 645 + "x": 610, + "y": 4375 }, { - "x": 2920, - "y": 151 + "x": 610, + "y": 3871 } ], "label": { - "x": 2928, - "y": 625, + "x": 618, + "y": 4355, "width": 355, "height": 32, "fontName": "Arial Unicode MS", @@ -16925,17 +17216,17 @@ "visible": true, "vertices": [ { - "x": 2835, - "y": 760 + "x": 525, + "y": 4490 }, { - "x": 2755, - "y": 760 + "x": 445, + "y": 4490 } ], "label": { - "x": 2851, - "y": 732, + "x": 541, + "y": 4462, "width": 334, "height": 32, "fontName": "Arial Unicode MS", @@ -16959,17 +17250,17 @@ "visible": true, "vertices": [ { - "x": 3050, - "y": 875 + "x": 740, + "y": 4605 }, { - "x": 3050, - "y": 905 + "x": 740, + "y": 4625 } ], "label": { - "x": 3058, - "y": 865, + "x": 748, + "y": 4595, "width": 344, "height": 32, "fontName": "Arial Unicode MS", @@ -16993,17 +17284,17 @@ "visible": true, "vertices": [ { - "x": 3265, - "y": 840 + "x": 955, + "y": 4570 }, { - "x": 4375, - "y": 840 + "x": 2075, + "y": 4570 } ], "label": { - "x": 3261, - "y": 842, + "x": 951, + "y": 4572, "width": 401, "height": 32, "fontName": "Arial Unicode MS", @@ -17027,25 +17318,25 @@ "visible": true, "vertices": [ { - "x": 3265, - "y": 810 + "x": 955, + "y": 4530 }, { - "x": 4340, - "y": 810 + "x": 2030, + "y": 4530 }, { - "x": 4340, - "y": 710 + "x": 2030, + "y": 4430 }, { - "x": 4375, - "y": 710 + "x": 2075, + "y": 4430 } ], "label": { - "x": 3261, - "y": 812, + "x": 951, + "y": 4532, "width": 411, "height": 32, "fontName": "Arial Unicode MS", @@ -17069,17 +17360,17 @@ "visible": true, "vertices": [ { - "x": 4805, - "y": 870 + "x": 2505, + "y": 4600 }, { - "x": 4835, - "y": 870 + "x": 2525, + "y": 4600 } ], "label": { - "x": 4801, - "y": 872, + "x": 2501, + "y": 4602, "width": 463, "height": 32, "fontName": "Arial Unicode MS", @@ -17103,17 +17394,17 @@ "visible": true, "vertices": [ { - "x": 4805, - "y": 680 + "x": 2505, + "y": 4410 }, { - "x": 4835, - "y": 680 + "x": 2525, + "y": 4410 } ], "label": { - "x": 4801, - "y": 682, + "x": 2501, + "y": 4412, "width": 548, "height": 32, "fontName": "Arial Unicode MS", @@ -17137,17 +17428,17 @@ "visible": true, "vertices": [ { - "x": 4275, - "y": 4850 + "x": 1355, + "y": 5410 }, { - "x": 4295, - "y": 4850 + "x": 1385, + "y": 5410 } ], "label": { - "x": 4271, - "y": 4822, + "x": 1351, + "y": 5382, "width": 280, "height": 32, "fontName": "Arial Unicode MS", @@ -17171,17 +17462,17 @@ "visible": true, "vertices": [ { - "x": 4060, - "y": 4945 + "x": 1140, + "y": 5495 }, { - "x": 4060, - "y": 4975 + "x": 1140, + "y": 5535 } ], "label": { - "x": 4068, - "y": 4935, + "x": 1148, + "y": 5485, "width": 290, "height": 32, "fontName": "Arial Unicode MS", @@ -17205,17 +17496,17 @@ "visible": true, "vertices": [ { - "x": 3845, - "y": 4850 + "x": 925, + "y": 5410 }, { - "x": 3815, - "y": 4850 + "x": 895, + "y": 5410 } ], "label": { - "x": 3861, - "y": 4852, + "x": 941, + "y": 5412, "width": 347, "height": 32, "fontName": "Arial Unicode MS", @@ -17239,17 +17530,17 @@ "visible": true, "vertices": [ { - "x": 4060, - "y": 4795 + "x": 1140, + "y": 5345 }, { - "x": 4060, - "y": 4743 + "x": 1140, + "y": 5303 } ], "label": { - "x": 4068, - "y": 4805, + "x": 1148, + "y": 5355, "width": 357, "height": 32, "fontName": "Arial Unicode MS", @@ -17273,17 +17564,17 @@ "visible": true, "vertices": [ { - "x": 3385, - "y": 4850 + "x": 465, + "y": 5410 }, { - "x": 3365, - "y": 4850 + "x": 445, + "y": 5410 } ], "label": { - "x": 3401, - "y": 4852, + "x": 481, + "y": 5412, "width": 409, "height": 32, "fontName": "Arial Unicode MS", @@ -17307,17 +17598,17 @@ "visible": true, "vertices": [ { - "x": 4060, - "y": 4595 + "x": 1140, + "y": 5155 }, { - "x": 4060, - "y": 4560 + "x": 1140, + "y": 5120 } ], "label": { - "x": 4068, - "y": 4605, + "x": 1148, + "y": 5165, "width": 494, "height": 32, "fontName": "Arial Unicode MS", @@ -17341,25 +17632,25 @@ "visible": true, "vertices": [ { - "x": 945, - "y": 4990 + "x": 3655, + "y": 2570 }, { - "x": 980, - "y": 4990 + "x": 3690, + "y": 2570 }, { - "x": 980, - "y": 4930 + "x": 3690, + "y": 2510 }, { - "x": 1015, - "y": 4930 + "x": 3725, + "y": 2510 } ], "label": { - "x": 941, - "y": 4992, + "x": 3651, + "y": 2572, "width": 354, "height": 32, "fontName": "Arial Unicode MS", @@ -17383,25 +17674,25 @@ "visible": true, "vertices": [ { - "x": 945, - "y": 5060 + "x": 3655, + "y": 2640 }, { - "x": 1480, - "y": 5060 + "x": 4190, + "y": 2640 }, { - "x": 1480, - "y": 5010 + "x": 4190, + "y": 2590 }, { - "x": 1515, - "y": 5010 + "x": 4225, + "y": 2590 } ], "label": { - "x": 941, - "y": 5032, + "x": 3651, + "y": 2612, "width": 364, "height": 32, "fontName": "Arial Unicode MS", @@ -17425,17 +17716,17 @@ "visible": true, "vertices": [ { - "x": 600, - "y": 4955 + "x": 3320, + "y": 2535 }, { - "x": 600, - "y": 4515 + "x": 3320, + "y": 2095 } ], "label": { - "x": 608, - "y": 4965, + "x": 3328, + "y": 2545, "width": 330, "height": 32, "fontName": "Arial Unicode MS", @@ -17459,17 +17750,17 @@ "visible": true, "vertices": [ { - "x": 515, - "y": 5060 + "x": 3225, + "y": 2640 }, { - "x": 445, - "y": 5060 + "x": 3155, + "y": 2640 } ], "label": { - "x": 531, - "y": 5032, + "x": 3241, + "y": 2612, "width": 325, "height": 32, "fontName": "Arial Unicode MS", @@ -17493,17 +17784,17 @@ "visible": true, "vertices": [ { - "x": 730, - "y": 5160 + "x": 3440, + "y": 2740 }, { - "x": 730, - "y": 5175 + "x": 3440, + "y": 2765 } ], "label": { - "x": 738, - "y": 5120, + "x": 3448, + "y": 2700, "width": 304, "height": 32, "fontName": "Arial Unicode MS", @@ -17527,17 +17818,17 @@ "visible": true, "vertices": [ { - "x": 945, - "y": 5120 + "x": 3655, + "y": 2700 }, { - "x": 2015, - "y": 5120 + "x": 4735, + "y": 2700 } ], "label": { - "x": 941, - "y": 5122, + "x": 3651, + "y": 2702, "width": 314, "height": 32, "fontName": "Arial Unicode MS", @@ -17561,25 +17852,25 @@ "visible": true, "vertices": [ { - "x": 945, - "y": 5090 + "x": 3655, + "y": 2670 }, { - "x": 1980, - "y": 5090 + "x": 4690, + "y": 2670 }, { - "x": 1980, - "y": 4980 + "x": 4690, + "y": 2560 }, { - "x": 2015, - "y": 4980 + "x": 4735, + "y": 2560 } ], "label": { - "x": 941, - "y": 5092, + "x": 3651, + "y": 2672, "width": 371, "height": 32, "fontName": "Arial Unicode MS", @@ -17603,21 +17894,21 @@ "visible": true, "vertices": [ { - "x": 740, - "y": 4955 + "x": 3450, + "y": 2535 }, { - "x": 740, - "y": 4610 + "x": 3450, + "y": 2190 }, { - "x": 775, - "y": 4610 + "x": 3485, + "y": 2190 } ], "label": { - "x": 748, - "y": 4965, + "x": 3458, + "y": 2545, "width": 381, "height": 32, "fontName": "Arial Unicode MS", @@ -17641,17 +17932,17 @@ "visible": true, "vertices": [ { - "x": 2445, - "y": 4940 + "x": 5165, + "y": 2520 }, { - "x": 2465, - "y": 4940 + "x": 5175, + "y": 2520 } ], "label": { - "x": 2441, - "y": 4942, + "x": 5161, + "y": 2522, "width": 433, "height": 32, "fontName": "Arial Unicode MS", @@ -17675,17 +17966,17 @@ "visible": true, "vertices": [ { - "x": 1205, - "y": 4610 + "x": 3915, + "y": 2190 }, { - "x": 1215, - "y": 4610 + "x": 3935, + "y": 2190 } ], "label": { - "x": 1201, - "y": 4612, + "x": 3911, + "y": 2192, "width": 518, "height": 32, "fontName": "Arial Unicode MS", @@ -17710,16 +18001,16 @@ "vertices": [ { "x": 1395, - "y": 3720 + "y": 1300 }, { "x": 4985, - "y": 3720 + "y": 1300 } ], "label": { "x": 1385, - "y": 3682, + "y": 1262, "width": 315, "height": 32, "fontName": "Arial Unicode MS", @@ -17744,24 +18035,24 @@ "vertices": [ { "x": 1395, - "y": 3690 + "y": 1270 }, { "x": 4950, - "y": 3690 + "y": 1270 }, { "x": 4950, - "y": 3580 + "y": 1140 }, { "x": 4985, - "y": 3580 + "y": 1140 } ], "label": { "x": 1385, - "y": 3652, + "y": 1232, "width": 325, "height": 32, "fontName": "Arial Unicode MS", @@ -17786,24 +18077,24 @@ "vertices": [ { "x": 1395, - "y": 3660 + "y": 1230 }, { "x": 4440, - "y": 3660 + "y": 1230 }, { "x": 4440, - "y": 3580 + "y": 1160 }, { "x": 4485, - "y": 3580 + "y": 1160 } ], "label": { "x": 1385, - "y": 3622, + "y": 1192, "width": 290, "height": 32, "fontName": "Arial Unicode MS", @@ -17828,24 +18119,24 @@ "vertices": [ { "x": 1395, - "y": 3630 + "y": 1210 }, { "x": 3940, - "y": 3630 + "y": 1210 }, { "x": 3940, - "y": 3550 + "y": 1130 }, { "x": 3975, - "y": 3550 + "y": 1130 } ], "label": { "x": 1385, - "y": 3592, + "y": 1172, "width": 280, "height": 32, "fontName": "Arial Unicode MS", @@ -17870,16 +18161,16 @@ "vertices": [ { "x": 1705, - "y": 3170 + "y": 750 }, { "x": 1715, - "y": 3170 + "y": 750 } ], "label": { "x": 1695, - "y": 3132, + "y": 712, "width": 317, "height": 32, "fontName": "Arial Unicode MS", @@ -17903,25 +18194,25 @@ "visible": true, "vertices": [ { - "x": 3265, - "y": 780 + "x": 955, + "y": 4500 }, { - "x": 3820, - "y": 780 + "x": 1520, + "y": 4500 }, { - "x": 3820, - "y": 680 + "x": 1520, + "y": 4410 }, { - "x": 3865, - "y": 680 + "x": 1555, + "y": 4410 } ], "label": { - "x": 3255, - "y": 742, + "x": 945, + "y": 4462, "width": 384, "height": 32, "fontName": "Arial Unicode MS", @@ -17945,21 +18236,21 @@ "visible": true, "vertices": [ { - "x": 3050, - "y": 645 + "x": 740, + "y": 4375 }, { - "x": 3050, - "y": 240 + "x": 740, + "y": 3960 }, { - "x": 3085, - "y": 240 + "x": 785, + "y": 3960 } ], "label": { - "x": 3052, - "y": 615, + "x": 742, + "y": 4345, "width": 369, "height": 32, "fontName": "Arial Unicode MS", @@ -17983,25 +18274,17 @@ "visible": true, "vertices": [ { - "x": 1885, - "y": 1870 + "x": 1990, + "y": 3115 }, { - "x": 2260, - "y": 1870 - }, - { - "x": 2260, - "y": 740 - }, - { - "x": 2145, - "y": 740 + "x": 1990, + "y": 3015 } ], "label": { - "x": 1223, - "y": 1832, + "x": 1340, + "y": 3085, "width": 360, "height": 32, "fontName": "Arial Unicode MS", @@ -18025,17 +18308,17 @@ "visible": true, "vertices": [ { - "x": 1660, - "y": 1615 + "x": 2215, + "y": 3380 }, { - "x": 1660, - "y": 1215 + "x": 2295, + "y": 3380 } ], "label": { - "x": 821, - "y": 1585, + "x": 1364, + "y": 3342, "width": 309, "height": 32, "fontName": "Arial Unicode MS", @@ -18059,17 +18342,17 @@ "visible": true, "vertices": [ { - "x": 2010, - "y": 885 + "x": 1990, + "y": 2455 }, { - "x": 2010, - "y": 815 + "x": 1990, + "y": 2875 } ], "label": { - "x": 1367, - "y": 855, + "x": 1347, + "y": 2405, "width": 396, "height": 32, "fontName": "Arial Unicode MS", @@ -18093,17 +18376,25 @@ "visible": true, "vertices": [ { - "x": 1795, - "y": 1150 + "x": 2205, + "y": 2190 }, { - "x": 1775, - "y": 1150 + "x": 2670, + "y": 2190 + }, + { + "x": 2670, + "y": 3380 + }, + { + "x": 2525, + "y": 3380 } ], "label": { - "x": 963, - "y": 1112, + "x": 1353, + "y": 2152, "width": 345, "height": 32, "fontName": "Arial Unicode MS", @@ -18127,25 +18418,17 @@ "visible": true, "vertices": [ { - "x": 1570, - "y": 75 + "x": 2185, + "y": 2950 }, { - "x": 1570, - "y": 40 - }, - { - "x": 2010, - "y": 40 - }, - { - "x": 2010, - "y": 675 + "x": 2125, + "y": 2950 } ], "label": { - "x": 1127, - "y": 45, + "x": 1750, + "y": 2912, "width": 471, "height": 32, "fontName": "Arial Unicode MS", @@ -18169,21 +18452,17 @@ "visible": true, "vertices": [ { - "x": 1440, - "y": 595 + "x": 2410, + "y": 3105 }, { - "x": 1440, - "y": 1150 - }, - { - "x": 1545, - "y": 1150 + "x": 2410, + "y": 3315 } ], "label": { - "x": 1220, - "y": 545, + "x": 2190, + "y": 3055, "width": 420, "height": 32, "fontName": "Arial Unicode MS", @@ -18208,16 +18487,16 @@ "vertices": [ { "x": 1035, - "y": 2200 + "y": 3220 }, { "x": 1175, - "y": 2200 + "y": 3220 } ], "label": { "x": 1031, - "y": 2172, + "y": 3192, "width": 326, "height": 32, "fontName": "Arial Unicode MS", @@ -18242,24 +18521,32 @@ "vertices": [ { "x": 1035, - "y": 2170 + "y": 3190 }, { "x": 1140, - "y": 2170 + "y": 3190 }, { "x": 1140, - "y": 2050 + "y": 3140 }, { - "x": 1435, - "y": 2050 + "x": 1720, + "y": 3140 + }, + { + "x": 1720, + "y": 3210 + }, + { + "x": 1765, + "y": 3210 } ], "label": { "x": 1031, - "y": 2172, + "y": 3192, "width": 336, "height": 32, "fontName": "Arial Unicode MS", @@ -18283,25 +18570,21 @@ "visible": true, "vertices": [ { - "x": 1035, - "y": 2080 + "x": 720, + "y": 3065 }, { - "x": 1080, - "y": 2080 + "x": 720, + "y": 2190 }, { - "x": 1080, - "y": 1540 - }, - { - "x": 1795, - "y": 1540 + "x": 785, + "y": 2190 } ], "label": { - "x": 1031, - "y": 2082, + "x": 728, + "y": 3075, "width": 393, "height": 32, "fontName": "Arial Unicode MS", @@ -18325,21 +18608,21 @@ "visible": true, "vertices": [ { - "x": 730, - "y": 2045 + "x": 860, + "y": 3065 }, { - "x": 730, - "y": 340 + "x": 860, + "y": 2490 }, { - "x": 765, - "y": 340 + "x": 2215, + "y": 2490 } ], "label": { - "x": 738, - "y": 2055, + "x": 868, + "y": 3075, "width": 403, "height": 32, "fontName": "Arial Unicode MS", @@ -18363,17 +18646,17 @@ "visible": true, "vertices": [ { - "x": 2010, - "y": 1425 + "x": 1215, + "y": 2190 }, { - "x": 2010, - "y": 1405 + "x": 1775, + "y": 2190 } ], "label": { - "x": 1577, - "y": 1435, + "x": 770, + "y": 2192, "width": 455, "height": 32, "fontName": "Arial Unicode MS", @@ -18397,17 +18680,17 @@ "visible": true, "vertices": [ { - "x": 1145, - "y": 340 + "x": 2410, + "y": 2563 }, { - "x": 1225, - "y": 340 + "x": 2410, + "y": 2585 } ], "label": { - "x": 783, - "y": 342, + "x": 2060, + "y": 2553, "width": 540, "height": 32, "fontName": "Arial Unicode MS", @@ -18431,17 +18714,17 @@ "visible": true, "vertices": [ { - "x": 1835, - "y": 740 + "x": 1825, + "y": 2970 }, { - "x": 1865, - "y": 740 + "x": 1845, + "y": 2970 } ], "label": { - "x": 1190, - "y": 712, + "x": 1180, + "y": 2942, "width": 452, "height": 32, "fontName": "Arial Unicode MS", @@ -18465,17 +18748,25 @@ "visible": true, "vertices": [ { - "x": 1660, - "y": 875 + "x": 1650, + "y": 3105 }, { - "x": 1660, - "y": 1075 + "x": 1650, + "y": 3680 + }, + { + "x": 2410, + "y": 3680 + }, + { + "x": 2410, + "y": 3455 } ], "label": { - "x": 1200, - "y": 835, + "x": 1190, + "y": 3065, "width": 401, "height": 32, "fontName": "Arial Unicode MS", @@ -18499,21 +18790,25 @@ "visible": true, "vertices": [ { - "x": 870, - "y": 2045 + "x": 1035, + "y": 3100 }, { - "x": 870, - "y": 740 + "x": 1080, + "y": 3100 }, { - "x": 1475, - "y": 740 + "x": 1080, + "y": 3010 + }, + { + "x": 1465, + "y": 3010 } ], "label": { - "x": 535, - "y": 2015, + "x": 688, + "y": 3062, "width": 337, "height": 32, "fontName": "Arial Unicode MS", @@ -18538,16 +18833,16 @@ "vertices": [ { "x": 760, - "y": 2235 + "y": 3255 }, { "x": 760, - "y": 2255 + "y": 3275 } ], "label": { "x": 479, - "y": 2185, + "y": 3205, "width": 283, "height": 32, "fontName": "Arial Unicode MS", @@ -18572,16 +18867,16 @@ "vertices": [ { "x": 580, - "y": 2045 + "y": 3065 }, { "x": 580, - "y": 245 + "y": 2155 } ], "label": { "x": 222, - "y": 2015, + "y": 3035, "width": 360, "height": 32, "fontName": "Arial Unicode MS", @@ -18606,16 +18901,16 @@ "vertices": [ { "x": 485, - "y": 2140 + "y": 3160 }, { "x": 405, - "y": 2140 + "y": 3160 } ], "label": { "x": 495, - "y": 2102, + "y": 3122, "width": 370, "height": 32, "fontName": "Arial Unicode MS", @@ -18640,24 +18935,24 @@ "vertices": [ { "x": 1395, - "y": 3600 + "y": 1180 }, { "x": 3440, - "y": 3600 + "y": 1180 }, { "x": 3440, - "y": 3520 + "y": 1100 }, { "x": 3475, - "y": 3520 + "y": 1100 } ], "label": { "x": 1079, - "y": 3560, + "y": 1140, "width": 306, "height": 32, "fontName": "Sans", @@ -18682,24 +18977,24 @@ "vertices": [ { "x": 1395, - "y": 3580 + "y": 1150 }, { "x": 2940, - "y": 3580 + "y": 1150 }, { "x": 2940, - "y": 3520 + "y": 1100 }, { "x": 2975, - "y": 3520 + "y": 1100 } ], "label": { "x": 1069, - "y": 3540, + "y": 1110, "width": 316, "height": 32, "fontName": "Sans", @@ -18724,24 +19019,24 @@ "vertices": [ { "x": 1395, - "y": 3550 + "y": 1120 }, { "x": 2430, - "y": 3550 + "y": 1120 }, { "x": 2430, - "y": 3470 + "y": 1040 }, { "x": 2475, - "y": 3470 + "y": 1040 } ], "label": { "x": 1385, - "y": 3510, + "y": 1080, "width": 317, "height": 32, "fontName": "Sans", @@ -18765,21 +19060,25 @@ "visible": true, "vertices": [ { - "x": 1130, - "y": 3395 + "x": 1395, + "y": 1090 }, { - "x": 1130, - "y": 2940 + "x": 1930, + "y": 1090 }, { - "x": 1175, - "y": 2940 + "x": 1930, + "y": 1010 + }, + { + "x": 1965, + "y": 1010 } ], "label": { - "x": 850, - "y": 3363, + "x": 1103, + "y": 1050, "width": 282, "height": 32, "fontName": "Sans", @@ -18803,21 +19102,21 @@ "visible": true, "vertices": [ { - "x": 965, - "y": 3590 + "x": 1130, + "y": 975 }, { - "x": 804, - "y": 3590 + "x": 1130, + "y": 520 }, { - "x": 804, - "y": 3348 + "x": 1175, + "y": 520 } ], "label": { - "x": 628, - "y": 3550, + "x": 785, + "y": 943, "width": 347, "height": 32, "fontName": "Sans", @@ -18833,48 +19132,6 @@ "isVisible": false } }, - { - "name": "fk_ProductsService_GetAllProductsByFilterFilter_1", - "sourceTableName": "ProductsService", - "sourceSchemaName": "FrontOffice", - "lineWidth": 1, - "visible": true, - "vertices": [ - { - "x": 9029, - "y": 475 - }, - { - "x": 9029, - "y": 472 - }, - { - "x": 8967, - "y": 472 - }, - { - "x": 8967, - "y": 469 - } - ], - "label": { - "x": 9037, - "y": 453, - "width": 336, - "height": 32, - "fontName": "Sans", - "fontSize": 14, - "fontColor": { - "r": 51, - "g": 51, - "b": 51, - "a": 1 - }, - "isFontBold": false, - "isFontItalic": false, - "isVisible": false - } - }, { "name": "fk_ProductsService_GetProductsResponse_1", "sourceTableName": "ProductsService", @@ -18883,25 +19140,17 @@ "visible": true, "vertices": [ { - "x": 8814, - "y": 577 + "x": 4335, + "y": 4410 }, { - "x": 8733, - "y": 577 - }, - { - "x": 8733, - "y": 575 - }, - { - "x": 8653, - "y": 575 + "x": 4425, + "y": 4410 } ], "label": { - "x": 8524, - "y": 537, + "x": 4025, + "y": 4370, "width": 300, "height": 32, "fontName": "Sans", @@ -18925,21 +19174,17 @@ "visible": true, "vertices": [ { - "x": 9244, - "y": 577 + "x": 4120, + "y": 4520 }, { - "x": 9423, - "y": 577 - }, - { - "x": 9423, - "y": 622 + "x": 4120, + "y": 4555 } ], "label": { - "x": 9234, - "y": 537, + "x": 4122, + "y": 4468, "width": 290, "height": 32, "fontName": "Sans", @@ -18956,33 +19201,127 @@ } }, { - "name": "fk_ProductsService_GetAllProductsByFilterResponseModel_1", + "name": "fk_ProductsService_GetAllProductsByFilterResponse_1", "sourceTableName": "ProductsService", "sourceSchemaName": "FrontOffice", "lineWidth": 1, "visible": true, "vertices": [ { - "x": 9029, - "y": 680 + "x": 3905, + "y": 4410 }, { - "x": 9029, - "y": 692 - }, - { - "x": 9022, - "y": 692 - }, - { - "x": 9022, - "y": 705 + "x": 3875, + "y": 4410 } ], "label": { - "x": 9037, - "y": 670, - "width": 409, + "x": 3548, + "y": 4370, + "width": 367, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllProductsByFilterResponse_GetAllProductsByFilterResponseModel_1", + "sourceTableName": "GetAllProductsByFilterResponse", + "sourceSchemaName": "FrontOffice", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 3445, + "y": 4410 + }, + { + "x": 3415, + "y": 4410 + } + ], + "label": { + "x": 3455, + "y": 4370, + "width": 516, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_ProductsService_GetAllProductsByFilterRequest_1", + "sourceTableName": "ProductsService", + "sourceSchemaName": "FrontOffice", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 4120, + "y": 4315 + }, + { + "x": 4120, + "y": 4282 + } + ], + "label": { + "x": 4122, + "y": 4283, + "width": 357, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllProductsByFilterRequest_GetAllProductsByFilterFilter_1", + "sourceTableName": "GetAllProductsByFilterRequest", + "sourceSchemaName": "FrontOffice", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 4120, + "y": 4115 + }, + { + "x": 4120, + "y": 4092 + } + ], + "label": { + "x": 3689, + "y": 4083, + "width": 433, "height": 32, "fontName": "Sans", "fontSize": 14, diff --git a/src/FrontOffice.BFF.Application/Common/Interfaces/IApplicationContractContext.cs b/src/FrontOffice.BFF.Application/Common/Interfaces/IApplicationContractContext.cs index 226f181..956f229 100644 --- a/src/FrontOffice.BFF.Application/Common/Interfaces/IApplicationContractContext.cs +++ b/src/FrontOffice.BFF.Application/Common/Interfaces/IApplicationContractContext.cs @@ -1,5 +1,6 @@ using CMSMicroservice.Protobuf.Protos.OtpToken; using CMSMicroservice.Protobuf.Protos.Package; +using CMSMicroservice.Protobuf.Protos.Products; using CMSMicroservice.Protobuf.Protos.User; using CMSMicroservice.Protobuf.Protos.UserAddress; using CMSMicroservice.Protobuf.Protos.UserContract; @@ -18,6 +19,7 @@ public interface IApplicationContractContext #region CMS PackageContract.PackageContractClient Package { get; } + ProductsContract.ProductsContractClient Product { get; } UserContract.UserContractClient User { get; } UserContractContract.UserContractContractClient UserContract { get; } UserAddressContract.UserAddressContractClient UserAddress { get; } diff --git a/src/FrontOffice.BFF.Application/ProductsCQ/Queries/GetAllProductsByFilter/GetAllProductsByFilterQueryHandler.cs b/src/FrontOffice.BFF.Application/ProductsCQ/Queries/GetAllProductsByFilter/GetAllProductsByFilterQueryHandler.cs index baf0068..23775ea 100644 --- a/src/FrontOffice.BFF.Application/ProductsCQ/Queries/GetAllProductsByFilter/GetAllProductsByFilterQueryHandler.cs +++ b/src/FrontOffice.BFF.Application/ProductsCQ/Queries/GetAllProductsByFilter/GetAllProductsByFilterQueryHandler.cs @@ -1,3 +1,6 @@ +using CMSMicroservice.Protobuf.Protos.Package; +using CMSMicroservice.Protobuf.Protos.Products; + namespace FrontOffice.BFF.Application.ProductsCQ.Queries.GetAllProductsByFilter; public class GetAllProductsByFilterQueryHandler : IRequestHandler { @@ -10,19 +13,7 @@ public class GetAllProductsByFilterQueryHandler : IRequestHandler Handle(GetAllProductsByFilterQuery request, CancellationToken cancellationToken) { - var query = _context.Productss - .ApplyOrder(sortBy: request.SortBy) - .AsNoTracking() - .AsQueryable(); - if (request.Filter is not null) - { - - } - return new GetAllProductsByFilterResponseDto - { - MetaData = await query.GetMetaData(request.PaginationState, cancellationToken), - Models = await query.PaginatedListAsync(paginationState: request.PaginationState) - .ProjectToType().ToListAsync(cancellationToken) - }; + await _context.Package.GetAllPackageByFilterAsync(request.Adapt(), cancellationToken: cancellationToken); + return new GetAllProductsByFilterResponseDto(); } } diff --git a/src/FrontOffice.BFF.Infrastructure/Services/ApplicationContractContext.cs b/src/FrontOffice.BFF.Infrastructure/Services/ApplicationContractContext.cs index 7a5072c..81484f4 100644 --- a/src/FrontOffice.BFF.Infrastructure/Services/ApplicationContractContext.cs +++ b/src/FrontOffice.BFF.Infrastructure/Services/ApplicationContractContext.cs @@ -1,5 +1,6 @@ using CMSMicroservice.Protobuf.Protos.OtpToken; using CMSMicroservice.Protobuf.Protos.Package; +using CMSMicroservice.Protobuf.Protos.Products; using CMSMicroservice.Protobuf.Protos.User; using CMSMicroservice.Protobuf.Protos.UserAddress; using CMSMicroservice.Protobuf.Protos.UserContract; @@ -42,6 +43,7 @@ public class ApplicationContractContext : IApplicationContractContext #region CMS public PackageContract.PackageContractClient Package => GetService(); + public ProductsContract.ProductsContractClient Product => GetService(); public UserContract.UserContractClient User => GetService(); public UserContractContract.UserContractContractClient UserContract => GetService();