diff --git a/docs/model.ndm2 b/docs/model.ndm2 index d04f116..e3cced3 100644 --- a/docs/model.ndm2 +++ b/docs/model.ndm2 @@ -10789,424 +10789,6 @@ "dataCompressions": [] } }, - { - "objectType": "Table_MSSQL", - "name": "UserService", - "comment": "سرویس های کاربر", - "owner": "", - "isChangeTracking": false, - "isTrackColumnsUpdated": false, - "oldName": "UserService", - "isSystemTable": false, - "createTime": "", - "modifyTime": "", - "objectID": 4423, - "numberOfRows": 0, - "identityCurrent": 0, - "dataLength": 0, - "indexLength": 0, - "fields": [ - { - "objectType": "TableField_MSSQL", - "name": "CreateNewUser", - "type": "CreateCommand", - "size": -2147483648, - "isNullable": "Yes", - "scale": -2147483648, - "comment": "ایجاد کاربر جدید", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "CreateNewUser", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "UpdateUser", - "type": "UpdateCommand", - "size": -2147483648, - "isNullable": "Yes", - "scale": -2147483648, - "comment": "ویرایش کاربر", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "UpdateUser", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "DeleteUser", - "type": "DeleteCommand", - "size": -2147483648, - "isNullable": "Yes", - "scale": -2147483648, - "comment": "حذف کاربر", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "DeleteUser", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "GetUser", - "type": "GetOneQuery", - "size": -2147483648, - "isNullable": "Yes", - "scale": -2147483648, - "comment": "واکشی یک کاربر", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "GetUser", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "GetAllUserByFilter", - "type": "GetAllByFilterQuery", - "size": -2147483648, - "isNullable": "Yes", - "scale": -2147483648, - "comment": "واکشی کاربر ها بر مبنای فیلتر", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "GetAllUserByFilter", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "GetJwtToken", - "type": "Query", - "size": -2147483648, - "isNullable": "Yes", - "scale": -2147483648, - "comment": "واکشی توکن", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "GetJwtToken", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - } - ], - "indexes": [], - "foreignKeys": [ - { - "objectType": "ForeignKey_MSSQL", - "name": "fk_UserService_CreateNewUserRequest_1", - "fields": [ - "CreateNewUser" - ], - "referencedSchema": "CMS", - "referencedTable": "CreateNewUserRequest", - "referencedFields": [ - "FirstName" - ], - "onDelete": "", - "onUpdate": "", - "isNotForReplication": false, - "isEnabled": false, - "comment": "", - "sourceCardinality": "NoneRelationship", - "targetCardinality": "NoneRelationship", - "oldName": "" - }, - { - "objectType": "ForeignKey_MSSQL", - "name": "fk_UserService_CreateNewUserResponse_1", - "fields": [ - "CreateNewUser" - ], - "referencedSchema": "CMS", - "referencedTable": "CreateNewUserResponse", - "referencedFields": [ - "Id" - ], - "onDelete": "", - "onUpdate": "", - "isNotForReplication": false, - "isEnabled": false, - "comment": "", - "sourceCardinality": "NoneRelationship", - "targetCardinality": "NoneRelationship", - "oldName": "" - }, - { - "objectType": "ForeignKey_MSSQL", - "name": "fk_UserService_UpdateUserRequest_1", - "fields": [ - "UpdateUser" - ], - "referencedSchema": "CMS", - "referencedTable": "UpdateUserRequest", - "referencedFields": [ - "Id" - ], - "onDelete": "", - "onUpdate": "", - "isNotForReplication": false, - "isEnabled": false, - "comment": "", - "sourceCardinality": "NoneRelationship", - "targetCardinality": "NoneRelationship", - "oldName": "" - }, - { - "objectType": "ForeignKey_MSSQL", - "name": "fk_UserService_DeleteUserRequest_1", - "fields": [ - "DeleteUser" - ], - "referencedSchema": "CMS", - "referencedTable": "DeleteUserRequest", - "referencedFields": [ - "Id" - ], - "onDelete": "", - "onUpdate": "", - "isNotForReplication": false, - "isEnabled": false, - "comment": "", - "sourceCardinality": "NoneRelationship", - "targetCardinality": "NoneRelationship", - "oldName": "" - }, - { - "objectType": "ForeignKey_MSSQL", - "name": "fk_UserService_GetUserRequest_1", - "fields": [ - "GetUser" - ], - "referencedSchema": "CMS", - "referencedTable": "GetUserRequest", - "referencedFields": [ - "Id" - ], - "onDelete": "", - "onUpdate": "", - "isNotForReplication": false, - "isEnabled": false, - "comment": "", - "sourceCardinality": "NoneRelationship", - "targetCardinality": "NoneRelationship", - "oldName": "" - }, - { - "objectType": "ForeignKey_MSSQL", - "name": "fk_UserService_GetUserResponse_1", - "fields": [ - "GetUser" - ], - "referencedSchema": "CMS", - "referencedTable": "GetUserResponse", - "referencedFields": [ - "Id" - ], - "onDelete": "", - "onUpdate": "", - "isNotForReplication": false, - "isEnabled": false, - "comment": "", - "sourceCardinality": "NoneRelationship", - "targetCardinality": "NoneRelationship", - "oldName": "" - }, - { - "objectType": "ForeignKey_MSSQL", - "name": "fk_UserService_GetAllUserByFilterRequest_1", - "fields": [ - "GetAllUserByFilter" - ], - "referencedSchema": "CMS", - "referencedTable": "GetAllUserByFilterRequest", - "referencedFields": [ - "PaginationState" - ], - "onDelete": "", - "onUpdate": "", - "isNotForReplication": false, - "isEnabled": false, - "comment": "", - "sourceCardinality": "NoneRelationship", - "targetCardinality": "NoneRelationship", - "oldName": "" - }, - { - "objectType": "ForeignKey_MSSQL", - "name": "fk_UserService_GetAllUserByFilterResponse_1", - "fields": [ - "GetAllUserByFilter" - ], - "referencedSchema": "CMS", - "referencedTable": "GetAllUserByFilterResponse", - "referencedFields": [ - "MetaData" - ], - "onDelete": "", - "onUpdate": "", - "isNotForReplication": false, - "isEnabled": false, - "comment": "", - "sourceCardinality": "NoneRelationship", - "targetCardinality": "NoneRelationship", - "oldName": "" - }, - { - "objectType": "ForeignKey_MSSQL", - "name": "fk_UserService_GetJwtTokenRequest_1", - "fields": [ - "GetJwtToken" - ], - "referencedSchema": "CMS", - "referencedTable": "GetJwtTokenRequest", - "referencedFields": [ - "Id" - ], - "onDelete": "", - "onUpdate": "", - "isNotForReplication": false, - "isEnabled": true, - "comment": "", - "sourceCardinality": "NoneRelationship", - "targetCardinality": "NoneRelationship", - "oldName": "" - }, - { - "objectType": "ForeignKey_MSSQL", - "name": "fk_UserService_GetJwtTokenResponse_1", - "fields": [ - "GetJwtToken" - ], - "referencedSchema": "CMS", - "referencedTable": "GetJwtTokenResponse", - "referencedFields": [ - "Token" - ], - "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": "GetJwtTokenRequest", @@ -11978,372 +11560,6 @@ "dataCompressions": [] } }, - { - "objectType": "Table_MSSQL", - "name": "UserOrder", - "comment": "سفارش کاربر", - "owner": "", - "isChangeTracking": false, - "isTrackColumnsUpdated": false, - "oldName": "", - "isSystemTable": false, - "createTime": "", - "modifyTime": "", - "objectID": 0, - "numberOfRows": 0, - "identityCurrent": 0, - "dataLength": 0, - "indexLength": 0, - "fields": [ - { - "objectType": "TableField_MSSQL", - "name": "Id", - "type": "bigint", - "size": -2147483648, - "isNullable": "No", - "scale": -2147483648, - "comment": "شناسه", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "Id", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": true, - "isExistingField": false, - "identitySeed": -2147483648, - "identityIncrement": -2147483648, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "Price", - "type": "bigint", - "size": -2147483648, - "isNullable": "No", - "scale": -2147483648, - "comment": "قیمت", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "Price", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "PackageId", - "type": "bigint", - "size": -2147483648, - "isNullable": "No", - "scale": -2147483648, - "comment": "شناسه پکیج", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "PackageId", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "TransactionId", - "type": "bigint", - "size": -2147483648, - "isNullable": "Yes", - "scale": -2147483648, - "comment": "شناسه تراکنش", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "TransactionId", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "PaymentStatus", - "type": "bit", - "size": -2147483648, - "isNullable": "No", - "scale": -2147483648, - "comment": "وضعیت پرداخت", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "PaymentStatus", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "PaymentDate", - "type": "datetime", - "size": -2147483648, - "isNullable": "Yes", - "scale": -2147483648, - "comment": "تاریخ پرداخت", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "PaymentDate", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "UserId", - "type": "bigint", - "size": -2147483648, - "isNullable": "No", - "scale": -2147483648, - "comment": "شناسه کاربر", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "UserId", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "UserAddressId", - "type": "bigint", - "size": -2147483648, - "isNullable": "No", - "scale": -2147483648, - "comment": "شناسه آدرس کاربر", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "UserAddressId", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - } - ], - "indexes": [], - "primaryKey": { - "objectType": "PrimaryKey_MSSQL", - "name": "_copy_1_copy_1_copy_1", - "fields": [ - "Id" - ], - "fillFactor": 0, - "oldName": "", - "isClustered": true, - "isPadded": false, - "noRecomputeStatistics": false, - "ignoreDuplicatedKeyValues": false, - "allowRowLocks": true, - "allowPageLocks": true, - "storage": { - "objectType": "Storage_MSSQL", - "name": "", - "oldName": "", - "storageType": "Default", - "filegroup": "", - "textImageFilegroup": "", - "filestreamFilegroup": "", - "partitionScheme": "", - "partitionColumn": "", - "filestreamPartitionScheme": "", - "dataCompressions": [] - } - }, - "foreignKeys": [ - { - "objectType": "ForeignKey_MSSQL", - "name": "fk_UserOrder_Package_1", - "fields": [ - "PackageId" - ], - "referencedSchema": "CMS", - "referencedTable": "Package", - "referencedFields": [ - "Id" - ], - "onDelete": "", - "onUpdate": "", - "isNotForReplication": false, - "isEnabled": true, - "comment": "", - "sourceCardinality": "NoneRelationship", - "targetCardinality": "NoneRelationship", - "oldName": "" - }, - { - "objectType": "ForeignKey_MSSQL", - "name": "fk_UserOrder_User_1", - "fields": [ - "UserId" - ], - "referencedSchema": "CMS", - "referencedTable": "User", - "referencedFields": [ - "Id" - ], - "onDelete": "", - "onUpdate": "", - "isNotForReplication": false, - "isEnabled": true, - "comment": "", - "sourceCardinality": "NoneRelationship", - "targetCardinality": "NoneRelationship", - "oldName": "" - }, - { - "objectType": "ForeignKey_MSSQL", - "name": "fk_UserOrder_UserAddress_1", - "fields": [ - "UserAddressId" - ], - "referencedSchema": "CMS", - "referencedTable": "UserAddress", - "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": "GetUserOrderResponse", @@ -12649,616 +11865,6 @@ "dataCompressions": [] } }, - { - "objectType": "Table_MSSQL", - "name": "GetAllUserOrderByFilterResponseModel", - "comment": "مدل خروجی سفارش کاربر بر مبنای فیلتر", - "owner": "", - "isChangeTracking": false, - "isTrackColumnsUpdated": false, - "oldName": "GetAllUserOrderByFilterResponseModel", - "isSystemTable": false, - "createTime": "", - "modifyTime": "", - "objectID": 2138, - "numberOfRows": 0, - "identityCurrent": 0, - "dataLength": 0, - "indexLength": 0, - "fields": [ - { - "objectType": "TableField_MSSQL", - "name": "Id", - "type": "bigint", - "size": -2147483648, - "isNullable": "No", - "scale": -2147483648, - "comment": "شناسه", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "Id", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": true, - "isExistingField": false, - "identitySeed": -2147483648, - "identityIncrement": -2147483648, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "Price", - "type": "bigint", - "size": -2147483648, - "isNullable": "No", - "scale": -2147483648, - "comment": "قیمت", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "Price", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "PackageId", - "type": "bigint", - "size": -2147483648, - "isNullable": "No", - "scale": -2147483648, - "comment": "شناسه پکیج", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "PackageId", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "TransactionId", - "type": "bigint", - "size": -2147483648, - "isNullable": "Yes", - "scale": -2147483648, - "comment": "شناسه تراکنش", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "TransactionId", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "PaymentStatus", - "type": "bit", - "size": -2147483648, - "isNullable": "No", - "scale": -2147483648, - "comment": "وضعیت پرداخت", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "PaymentStatus", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "PaymentDate", - "type": "datetime", - "size": -2147483648, - "isNullable": "Yes", - "scale": -2147483648, - "comment": "تاریخ پرداخت", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "PaymentDate", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "UserId", - "type": "bigint", - "size": -2147483648, - "isNullable": "No", - "scale": -2147483648, - "comment": "شناسه کاربر", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "UserId", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "UserAddressId", - "type": "bigint", - "size": -2147483648, - "isNullable": "No", - "scale": -2147483648, - "comment": "شناسه آدرس کاربر", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "UserAddressId", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - } - ], - "indexes": [], - "primaryKey": { - "objectType": "PrimaryKey_MSSQL", - "name": "_copy_21", - "fields": [ - "Id" - ], - "fillFactor": 0, - "oldName": "", - "isClustered": false, - "isPadded": false, - "noRecomputeStatistics": false, - "ignoreDuplicatedKeyValues": false, - "allowRowLocks": false, - "allowPageLocks": false, - "storage": { - "objectType": "Storage_MSSQL", - "name": "", - "oldName": "", - "storageType": "Default", - "filegroup": "", - "textImageFilegroup": "", - "filestreamFilegroup": "", - "partitionScheme": "", - "partitionColumn": "", - "filestreamPartitionScheme": "", - "dataCompressions": [] - } - }, - "foreignKeys": [], - "uniques": [], - "checks": [], - "triggers": [], - "storage": { - "objectType": "Storage_MSSQL", - "name": "", - "oldName": "", - "storageType": "Default", - "filegroup": "", - "textImageFilegroup": "", - "filestreamFilegroup": "", - "partitionScheme": "", - "partitionColumn": "", - "filestreamPartitionScheme": "", - "dataCompressions": [] - } - }, - { - "objectType": "Table_MSSQL", - "name": "GetAllUserOrderByFilterFilter", - "comment": "فیلترهای سفارش کاربر", - "owner": "", - "isChangeTracking": false, - "isTrackColumnsUpdated": false, - "oldName": "GetAllUserOrderByFilterFilter", - "isSystemTable": false, - "createTime": "", - "modifyTime": "", - "objectID": 1841, - "numberOfRows": 0, - "identityCurrent": 0, - "dataLength": 0, - "indexLength": 0, - "fields": [ - { - "objectType": "TableField_MSSQL", - "name": "Id", - "type": "bigint", - "size": -2147483648, - "isNullable": "Yes", - "scale": -2147483648, - "comment": "شناسه", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "Id", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": true, - "isExistingField": false, - "identitySeed": -2147483648, - "identityIncrement": -2147483648, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "Price", - "type": "bigint", - "size": -2147483648, - "isNullable": "Yes", - "scale": -2147483648, - "comment": "قیمت", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "Price", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "PackageId", - "type": "bigint", - "size": -2147483648, - "isNullable": "Yes", - "scale": -2147483648, - "comment": "شناسه پکیج", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "PackageId", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "TransactionId", - "type": "bigint", - "size": -2147483648, - "isNullable": "Yes", - "scale": -2147483648, - "comment": "شناسه تراکنش", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "TransactionId", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "PaymentStatus", - "type": "bit", - "size": -2147483648, - "isNullable": "Yes", - "scale": -2147483648, - "comment": "وضعیت پرداخت", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "PaymentStatus", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "PaymentDate", - "type": "datetime", - "size": -2147483648, - "isNullable": "Yes", - "scale": -2147483648, - "comment": "تاریخ پرداخت", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "PaymentDate", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "UserId", - "type": "bigint", - "size": -2147483648, - "isNullable": "Yes", - "scale": -2147483648, - "comment": "شناسه کاربر", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "UserId", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "UserAddressId", - "type": "bigint", - "size": -2147483648, - "isNullable": "Yes", - "scale": -2147483648, - "comment": "شناسه آدرس کاربر", - "computedExpression": "", - "defaultValue": "", - "defaultValueType": "Others", - "schema": "", - "userDefinedType": "", - "collate": "", - "isWithValues": false, - "isFilestream": false, - "isColumnSet": false, - "isPersisted": false, - "isSparse": false, - "isRowGUIDColumn": false, - "oldName": "UserAddressId", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - } - ], - "indexes": [], - "primaryKey": { - "objectType": "PrimaryKey_MSSQL", - "name": "_copy_22", - "fields": [ - "Id" - ], - "fillFactor": 0, - "oldName": "", - "isClustered": false, - "isPadded": false, - "noRecomputeStatistics": false, - "ignoreDuplicatedKeyValues": false, - "allowRowLocks": false, - "allowPageLocks": false, - "storage": { - "objectType": "Storage_MSSQL", - "name": "", - "oldName": "", - "storageType": "Default", - "filegroup": "", - "textImageFilegroup": "", - "filestreamFilegroup": "", - "partitionScheme": "", - "partitionColumn": "", - "filestreamPartitionScheme": "", - "dataCompressions": [] - } - }, - "foreignKeys": [], - "uniques": [], - "checks": [], - "triggers": [], - "storage": { - "objectType": "Storage_MSSQL", - "name": "", - "oldName": "", - "storageType": "Default", - "filegroup": "", - "textImageFilegroup": "", - "filestreamFilegroup": "", - "partitionScheme": "", - "partitionColumn": "", - "filestreamPartitionScheme": "", - "dataCompressions": [] - } - }, { "objectType": "Table_MSSQL", "name": "UpdateUserOrderRequest", @@ -16491,6 +15097,22957 @@ "dataCompressions": [] } }, + { + "objectType": "Table_MSSQL", + "name": "UserWallet", + "comment": "آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Balance", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "موجودی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Balance", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1_copy_2", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserWallet_User_1", + "fields": [ + "UserId" + ], + "referencedSchema": "CMS", + "referencedTable": "User", + "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": "UserWalletChangeLog", + "comment": "آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "WalletId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کیف پول", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "WalletId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CurrentBalance", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "موجودی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CurrentBalance", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ChangeValue", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "تغییر موجودی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ChangeValue", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsIncrease", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "افزایشی؟", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsIncrease", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RefrenceId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه ارجاع", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RefrenceId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1_copy_2_copy_1", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserWalletChangeLog_UserWallet_1", + "fields": [ + "WalletId" + ], + "referencedSchema": "CMS", + "referencedTable": "UserWallet", + "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": "UserCarts", + "comment": "آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Count", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Count", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1_copy_2_copy_1_copy_1_copy_1", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserCarts_User_1", + "fields": [ + "UserId" + ], + "referencedSchema": "CMS", + "referencedTable": "User", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserCarts_Products_1", + "fields": [ + "ProductId" + ], + "referencedSchema": "CMS", + "referencedTable": "Products", + "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": "ProductGallerys", + "comment": "توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductImageId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductImageId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1_copy_1_copy_2_copy_2_copy_1_copy_1_copy_1", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductGallerys_Products_1", + "fields": [ + "ProductId" + ], + "referencedSchema": "CMS", + "referencedTable": "Products", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductGallerys_ProductImages_1", + "fields": [ + "ProductImageId" + ], + "referencedSchema": "CMS", + "referencedTable": "ProductImages", + "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": "PaymentStatus", + "comment": "پکیج", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Success", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Success", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Reject", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Reject", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Pending", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Pending", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1_copy_1_copy_3", + "fields": [], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "UserOrder", + "comment": "سفارش کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Price", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "قیمت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Price", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PackageId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه پکیج", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PackageId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "TransactionId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه تراکنش", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "TransactionId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentStatus", + "type": "enum", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "وضعیت پرداخت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentStatus", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentDate", + "type": "datetime2", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ پرداخت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentDate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserAddressId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserAddressId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1_copy_1_copy_1", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserOrder_Package_1", + "fields": [ + "PackageId" + ], + "referencedSchema": "CMS", + "referencedTable": "Package", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserOrder_User_1", + "fields": [ + "UserId" + ], + "referencedSchema": "CMS", + "referencedTable": "User", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserOrder_UserAddress_1", + "fields": [ + "UserAddressId" + ], + "referencedSchema": "CMS", + "referencedTable": "UserAddress", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserOrder_PaymentStatus_1", + "fields": [ + "PaymentStatus" + ], + "referencedSchema": "CMS", + "referencedTable": "PaymentStatus", + "referencedFields": [ + "Success" + ], + "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": "TransactionType", + "comment": "پکیج", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Buy", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Buy", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "DepositIpg", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "DepositIpg", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "DepositExternal1", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "DepositExternal1", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Withdraw", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Withdraw", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1_copy_1_copy_3_copy_1", + "fields": [], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "FactorDetails", + "comment": "آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Count", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Count", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UnitPrice", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UnitPrice", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UnitDiscount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UnitDiscount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "OrderId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "OrderId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UnitDiscountPrice", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UnitDiscountPrice", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsChangePrice", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsChangePrice", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1_copy_2_copy_1_copy_1_copy_1_copy_1", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_FactorDetails_UserOrder_1", + "fields": [ + "OrderId" + ], + "referencedSchema": "CMS", + "referencedTable": "UserOrder", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_FactorDetails_Products_1", + "fields": [ + "ProductId" + ], + "referencedSchema": "CMS", + "referencedTable": "Products", + "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": "Products", + "comment": "توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Description", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Description", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ShortInfomation", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ShortInfomation", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "FullInformation", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "FullInformation", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Price", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Price", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Discount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Discount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Rate", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Rate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ImagePath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ImagePath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ThumbnailPath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ThumbnailPath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "SaleCount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "SaleCount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ViewCount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ViewCount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RemainingCount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RemainingCount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1_copy_1_copy_2_copy_2_copy_1", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "ProductImages", + "comment": "توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ImagePath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ImagePath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ImageThumbnailPath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ImageThumbnailPath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1_copy_1_copy_2_copy_2_copy_1_copy_1", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "UserWalletService", + "comment": "سرویس های آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "UserWalletService", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 5848, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "CreateNewUserWallet", + "type": "CreateCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "ایجاد آدرس کاربر جدید", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CreateNewUserWallet", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UpdateUserWallet", + "type": "UpdateCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "ویرایش آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UpdateUserWallet", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "DeleteUserWallet", + "type": "DeleteCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "حذف آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "DeleteUserWallet", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetUserWallet", + "type": "GetOneQuery", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "واکشی یک آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetUserWallet", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetAllUserWalletByFilter", + "type": "GetAllByFilterQuery", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "واکشی آدرس کاربر ها بر مبنای فیلتر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetAllUserWalletByFilter", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserWalletService_CreateNewUserWalletRequest_1", + "fields": [ + "CreateNewUserWallet" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewUserWalletRequest", + "referencedFields": [ + "UserId" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserWalletService_CreateNewUserWalletResponse_1", + "fields": [ + "CreateNewUserWallet" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewUserWalletResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserWalletService_UpdateUserWalletRequest_1", + "fields": [ + "UpdateUserWallet" + ], + "referencedSchema": "CMS", + "referencedTable": "UpdateUserWalletRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserWalletService_DeleteUserWalletRequest_1", + "fields": [ + "DeleteUserWallet" + ], + "referencedSchema": "CMS", + "referencedTable": "DeleteUserWalletRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserWalletService_GetUserWalletRequest_1", + "fields": [ + "GetUserWallet" + ], + "referencedSchema": "CMS", + "referencedTable": "GetUserWalletRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserWalletService_GetUserWalletResponse_1", + "fields": [ + "GetUserWallet" + ], + "referencedSchema": "CMS", + "referencedTable": "GetUserWalletResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserWalletService_GetAllUserWalletByFilterRequest_1", + "fields": [ + "GetAllUserWalletByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserWalletByFilterRequest", + "referencedFields": [ + "PaginationState" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserWalletService_GetAllUserWalletByFilterResponse_1", + "fields": [ + "GetAllUserWalletByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserWalletByFilterResponse", + "referencedFields": [ + "MetaData" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "CreateNewUserWalletRequest", + "comment": "ورودی ایجاد آدرس کاربر جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "CreateNewUserWalletRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2545, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Balance", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "موجودی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Balance", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "CreateNewUserWalletResponse", + "comment": "خروجی ایجاد آدرس کاربر جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 7279, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_104", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "UpdateUserWalletRequest", + "comment": "ورودی ویرایش آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "UpdateUserWalletRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2001, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Balance", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "موجودی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Balance", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_103", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "DeleteUserWalletRequest", + "comment": "ورودی حذف آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 9947, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_102", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetUserWalletRequest", + "comment": "ورودی واکشی یک آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2459, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_101", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetUserWalletResponse", + "comment": "خروجی واکشی یک آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetUserWalletResponse", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 7831, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Balance", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "موجودی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Balance", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_100", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllUserWalletByFilterRequest", + "comment": "ورودی واکشی آدرس کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllUserWalletByFilterRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 1548, + "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_GetAllUserWalletByFilterRequest_GetAllUserWalletByFilterFilter", + "fields": [ + "Filter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserWalletByFilterFilter", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "GetAllUserWalletByFilterFilter", + "comment": "فیلترهای آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllUserWalletByFilterFilter", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 7490, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Balance", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "موجودی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Balance", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_99", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllUserWalletByFilterResponse", + "comment": "خروجی واکشی آدرس کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 4091, + "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_GetAllUserWalletByFilterResponse_GetAllUserWalletByFilterResponseModel", + "fields": [ + "Model" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserWalletByFilterResponseModel", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "GetAllUserWalletByFilterResponseModel", + "comment": "مدل خروجی آدرس کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllUserWalletByFilterResponseModel", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 8935, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Balance", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "موجودی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Balance", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_98", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "UserWalletChangeLogService", + "comment": "سرویس های آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "UserWalletChangeLogService", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 4116, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "CreateNewUserWalletChangeLog", + "type": "CreateCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "ایجاد آدرس کاربر جدید", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CreateNewUserWalletChangeLog", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UpdateUserWalletChangeLog", + "type": "UpdateCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "ویرایش آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UpdateUserWalletChangeLog", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "DeleteUserWalletChangeLog", + "type": "DeleteCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "حذف آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "DeleteUserWalletChangeLog", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetUserWalletChangeLog", + "type": "GetOneQuery", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "واکشی یک آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetUserWalletChangeLog", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetAllUserWalletChangeLogByFilter", + "type": "GetAllByFilterQuery", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "واکشی آدرس کاربر ها بر مبنای فیلتر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetAllUserWalletChangeLogByFilter", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserWalletChangeLogService_CreateNewUserWalletChangeLogRequest_1", + "fields": [ + "CreateNewUserWalletChangeLog" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewUserWalletChangeLogRequest", + "referencedFields": [ + "WalletId" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserWalletChangeLogService_CreateNewUserWalletChangeLogResponse_1", + "fields": [ + "CreateNewUserWalletChangeLog" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewUserWalletChangeLogResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserWalletChangeLogService_UpdateUserWalletChangeLogRequest_1", + "fields": [ + "UpdateUserWalletChangeLog" + ], + "referencedSchema": "CMS", + "referencedTable": "UpdateUserWalletChangeLogRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserWalletChangeLogService_DeleteUserWalletChangeLogRequest_1", + "fields": [ + "DeleteUserWalletChangeLog" + ], + "referencedSchema": "CMS", + "referencedTable": "DeleteUserWalletChangeLogRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserWalletChangeLogService_GetUserWalletChangeLogRequest_1", + "fields": [ + "GetUserWalletChangeLog" + ], + "referencedSchema": "CMS", + "referencedTable": "GetUserWalletChangeLogRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserWalletChangeLogService_GetUserWalletChangeLogResponse_1", + "fields": [ + "GetUserWalletChangeLog" + ], + "referencedSchema": "CMS", + "referencedTable": "GetUserWalletChangeLogResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserWalletChangeLogService_GetAllUserWalletChangeLogByFilterRequest_1", + "fields": [ + "GetAllUserWalletChangeLogByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserWalletChangeLogByFilterRequest", + "referencedFields": [ + "PaginationState" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserWalletChangeLogService_GetAllUserWalletChangeLogByFilterResponse_1", + "fields": [ + "GetAllUserWalletChangeLogByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserWalletChangeLogByFilterResponse", + "referencedFields": [ + "MetaData" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "CreateNewUserWalletChangeLogRequest", + "comment": "ورودی ایجاد آدرس کاربر جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "CreateNewUserWalletChangeLogRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2596, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "WalletId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کیف پول", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "WalletId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CurrentBalance", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "موجودی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CurrentBalance", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ChangeValue", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "تغییر موجودی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ChangeValue", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsIncrease", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "افزایشی؟", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsIncrease", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RefrenceId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه ارجاع", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RefrenceId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "CreateNewUserWalletChangeLogResponse", + "comment": "خروجی ایجاد آدرس کاربر جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2196, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_97", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "UpdateUserWalletChangeLogRequest", + "comment": "ورودی ویرایش آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "UpdateUserWalletChangeLogRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 6088, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "WalletId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کیف پول", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "WalletId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CurrentBalance", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "موجودی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CurrentBalance", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ChangeValue", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "تغییر موجودی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ChangeValue", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsIncrease", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "افزایشی؟", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsIncrease", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RefrenceId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه ارجاع", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RefrenceId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_96", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "DeleteUserWalletChangeLogRequest", + "comment": "ورودی حذف آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2133, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_95", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetUserWalletChangeLogRequest", + "comment": "ورودی واکشی یک آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 4694, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_94", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetUserWalletChangeLogResponse", + "comment": "خروجی واکشی یک آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetUserWalletChangeLogResponse", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 6738, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "WalletId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کیف پول", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "WalletId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CurrentBalance", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "موجودی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CurrentBalance", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ChangeValue", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "تغییر موجودی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ChangeValue", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsIncrease", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "افزایشی؟", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsIncrease", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RefrenceId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه ارجاع", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RefrenceId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_93", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllUserWalletChangeLogByFilterRequest", + "comment": "ورودی واکشی آدرس کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllUserWalletChangeLogByFilterRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 4288, + "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_GetAllUserWalletChangeLogByFilterRequest_GetAllUserWalletChangeLogByFilterFilter", + "fields": [ + "Filter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserWalletChangeLogByFilterFilter", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "GetAllUserWalletChangeLogByFilterFilter", + "comment": "فیلترهای آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllUserWalletChangeLogByFilterFilter", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 3031, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "WalletId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه کیف پول", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "WalletId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CurrentBalance", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "موجودی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CurrentBalance", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ChangeValue", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تغییر موجودی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ChangeValue", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsIncrease", + "type": "bit", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "افزایشی؟", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsIncrease", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RefrenceId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه ارجاع", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RefrenceId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_92", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllUserWalletChangeLogByFilterResponse", + "comment": "خروجی واکشی آدرس کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 6394, + "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_GetAllUserWalletChangeLogByFilterResponse_GetAllUserWalletChangeLogByFilterResponseModel", + "fields": [ + "Model" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserWalletChangeLogByFilterResponseModel", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "GetAllUserWalletChangeLogByFilterResponseModel", + "comment": "مدل خروجی آدرس کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllUserWalletChangeLogByFilterResponseModel", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 8941, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "WalletId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کیف پول", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "WalletId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CurrentBalance", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "موجودی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CurrentBalance", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ChangeValue", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "تغییر موجودی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ChangeValue", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsIncrease", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "افزایشی؟", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsIncrease", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RefrenceId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه ارجاع", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RefrenceId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_91", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "UserCartsService", + "comment": "سرویس های آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "UserCartsService", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 3160, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "CreateNewUserCarts", + "type": "CreateCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "ایجاد آدرس کاربر جدید", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CreateNewUserCarts", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UpdateUserCarts", + "type": "UpdateCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "ویرایش آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UpdateUserCarts", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "DeleteUserCarts", + "type": "DeleteCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "حذف آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "DeleteUserCarts", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetUserCarts", + "type": "GetOneQuery", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "واکشی یک آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetUserCarts", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetAllUserCartsByFilter", + "type": "GetAllByFilterQuery", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "واکشی آدرس کاربر ها بر مبنای فیلتر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetAllUserCartsByFilter", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserCartsService_CreateNewUserCartsRequest_1", + "fields": [ + "CreateNewUserCarts" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewUserCartsRequest", + "referencedFields": [ + "ProductId" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserCartsService_CreateNewUserCartsResponse_1", + "fields": [ + "CreateNewUserCarts" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewUserCartsResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserCartsService_UpdateUserCartsRequest_1", + "fields": [ + "UpdateUserCarts" + ], + "referencedSchema": "CMS", + "referencedTable": "UpdateUserCartsRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserCartsService_DeleteUserCartsRequest_1", + "fields": [ + "DeleteUserCarts" + ], + "referencedSchema": "CMS", + "referencedTable": "DeleteUserCartsRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserCartsService_GetUserCartsRequest_1", + "fields": [ + "GetUserCarts" + ], + "referencedSchema": "CMS", + "referencedTable": "GetUserCartsRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserCartsService_GetUserCartsResponse_1", + "fields": [ + "GetUserCarts" + ], + "referencedSchema": "CMS", + "referencedTable": "GetUserCartsResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserCartsService_GetAllUserCartsByFilterRequest_1", + "fields": [ + "GetAllUserCartsByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserCartsByFilterRequest", + "referencedFields": [ + "PaginationState" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserCartsService_GetAllUserCartsByFilterResponse_1", + "fields": [ + "GetAllUserCartsByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserCartsByFilterResponse", + "referencedFields": [ + "MetaData" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "CreateNewUserCartsRequest", + "comment": "ورودی ایجاد آدرس کاربر جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "CreateNewUserCartsRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 3661, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "ProductId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Count", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Count", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "CreateNewUserCartsResponse", + "comment": "خروجی ایجاد آدرس کاربر جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 7477, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_90", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "UpdateUserCartsRequest", + "comment": "ورودی ویرایش آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "UpdateUserCartsRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 1741, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Count", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Count", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_89", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "DeleteUserCartsRequest", + "comment": "ورودی حذف آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 5625, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_88", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetUserCartsRequest", + "comment": "ورودی واکشی یک آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 8896, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_87", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetUserCartsResponse", + "comment": "خروجی واکشی یک آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetUserCartsResponse", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 1279, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Count", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Count", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_86", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllUserCartsByFilterRequest", + "comment": "ورودی واکشی آدرس کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllUserCartsByFilterRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 5489, + "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_GetAllUserCartsByFilterRequest_GetAllUserCartsByFilterFilter", + "fields": [ + "Filter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserCartsByFilterFilter", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "GetAllUserCartsByFilterFilter", + "comment": "فیلترهای آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllUserCartsByFilterFilter", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 5190, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Count", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Count", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_85", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllUserCartsByFilterResponse", + "comment": "خروجی واکشی آدرس کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 7613, + "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_GetAllUserCartsByFilterResponse_GetAllUserCartsByFilterResponseModel", + "fields": [ + "Model" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserCartsByFilterResponseModel", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "GetAllUserCartsByFilterResponseModel", + "comment": "مدل خروجی آدرس کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllUserCartsByFilterResponseModel", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 1174, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Count", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Count", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_84", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "ProductGallerysService", + "comment": "سرویس های توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "ProductGallerysService", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2350, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "CreateNewProductGallerys", + "type": "CreateCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "ایجاد توکن Otp جدید", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CreateNewProductGallerys", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UpdateProductGallerys", + "type": "UpdateCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "ویرایش توکن Otp", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UpdateProductGallerys", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "DeleteProductGallerys", + "type": "DeleteCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "حذف توکن Otp", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "DeleteProductGallerys", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetProductGallerys", + "type": "GetOneQuery", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "واکشی یک توکن Otp", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetProductGallerys", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetAllProductGallerysByFilter", + "type": "GetAllByFilterQuery", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "واکشی توکن Otp ها بر مبنای فیلتر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetAllProductGallerysByFilter", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductGallerysService_CreateNewProductGallerysRequest_1", + "fields": [ + "CreateNewProductGallerys" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewProductGallerysRequest", + "referencedFields": [ + "ProductImageId" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductGallerysService_CreateNewProductGallerysResponse_1", + "fields": [ + "CreateNewProductGallerys" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewProductGallerysResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductGallerysService_UpdateProductGallerysRequest_1", + "fields": [ + "UpdateProductGallerys" + ], + "referencedSchema": "CMS", + "referencedTable": "UpdateProductGallerysRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductGallerysService_DeleteProductGallerysRequest_1", + "fields": [ + "DeleteProductGallerys" + ], + "referencedSchema": "CMS", + "referencedTable": "DeleteProductGallerysRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductGallerysService_GetProductGallerysRequest_1", + "fields": [ + "GetProductGallerys" + ], + "referencedSchema": "CMS", + "referencedTable": "GetProductGallerysRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductGallerysService_GetProductGallerysResponse_1", + "fields": [ + "GetProductGallerys" + ], + "referencedSchema": "CMS", + "referencedTable": "GetProductGallerysResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductGallerysService_GetAllProductGallerysByFilterRequest_1", + "fields": [ + "GetAllProductGallerysByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllProductGallerysByFilterRequest", + "referencedFields": [ + "PaginationState" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductGallerysService_GetAllProductGallerysByFilterResponse_1", + "fields": [ + "GetAllProductGallerysByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllProductGallerysByFilterResponse", + "referencedFields": [ + "MetaData" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "CreateNewProductGallerysRequest", + "comment": "ورودی ایجاد توکن Otp جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "CreateNewProductGallerysRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 9371, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "ProductImageId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductImageId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "CreateNewProductGallerysResponse", + "comment": "خروجی ایجاد توکن Otp جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 9557, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_83", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "UpdateProductGallerysRequest", + "comment": "ورودی ویرایش توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "UpdateProductGallerysRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 5956, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductImageId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductImageId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_82", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "DeleteProductGallerysRequest", + "comment": "ورودی حذف توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 7420, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_81", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetProductGallerysRequest", + "comment": "ورودی واکشی یک توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 3247, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_80", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetProductGallerysResponse", + "comment": "خروجی واکشی یک توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetProductGallerysResponse", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 7338, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductImageId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductImageId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_79", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllProductGallerysByFilterRequest", + "comment": "ورودی واکشی توکن Otp بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllProductGallerysByFilterRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 6362, + "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_GetAllProductGallerysByFilterRequest_GetAllProductGallerysByFilterFilter", + "fields": [ + "Filter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllProductGallerysByFilterFilter", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "GetAllProductGallerysByFilterFilter", + "comment": "فیلترهای توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllProductGallerysByFilterFilter", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 9517, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductImageId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductImageId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_78", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllProductGallerysByFilterResponse", + "comment": "خروجی واکشی توکن Otp بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 8888, + "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_GetAllProductGallerysByFilterResponse_GetAllProductGallerysByFilterResponseModel", + "fields": [ + "Model" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllProductGallerysByFilterResponseModel", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "GetAllProductGallerysByFilterResponseModel", + "comment": "مدل خروجی توکن Otp بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllProductGallerysByFilterResponseModel", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2338, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductImageId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductImageId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_77", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "FactorDetailsService", + "comment": "سرویس های آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "FactorDetailsService", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 8310, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "CreateNewFactorDetails", + "type": "CreateCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "ایجاد آدرس کاربر جدید", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CreateNewFactorDetails", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UpdateFactorDetails", + "type": "UpdateCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "ویرایش آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UpdateFactorDetails", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "DeleteFactorDetails", + "type": "DeleteCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "حذف آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "DeleteFactorDetails", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetFactorDetails", + "type": "GetOneQuery", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "واکشی یک آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetFactorDetails", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetAllFactorDetailsByFilter", + "type": "GetAllByFilterQuery", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "واکشی آدرس کاربر ها بر مبنای فیلتر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetAllFactorDetailsByFilter", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_FactorDetailsService_CreateNewFactorDetailsRequest_1", + "fields": [ + "CreateNewFactorDetails" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewFactorDetailsRequest", + "referencedFields": [ + "ProductId" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_FactorDetailsService_CreateNewFactorDetailsResponse_1", + "fields": [ + "CreateNewFactorDetails" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewFactorDetailsResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_FactorDetailsService_UpdateFactorDetailsRequest_1", + "fields": [ + "UpdateFactorDetails" + ], + "referencedSchema": "CMS", + "referencedTable": "UpdateFactorDetailsRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_FactorDetailsService_DeleteFactorDetailsRequest_1", + "fields": [ + "DeleteFactorDetails" + ], + "referencedSchema": "CMS", + "referencedTable": "DeleteFactorDetailsRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_FactorDetailsService_GetFactorDetailsRequest_1", + "fields": [ + "GetFactorDetails" + ], + "referencedSchema": "CMS", + "referencedTable": "GetFactorDetailsRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_FactorDetailsService_GetFactorDetailsResponse_1", + "fields": [ + "GetFactorDetails" + ], + "referencedSchema": "CMS", + "referencedTable": "GetFactorDetailsResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_FactorDetailsService_GetAllFactorDetailsByFilterRequest_1", + "fields": [ + "GetAllFactorDetailsByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllFactorDetailsByFilterRequest", + "referencedFields": [ + "PaginationState" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_FactorDetailsService_GetAllFactorDetailsByFilterResponse_1", + "fields": [ + "GetAllFactorDetailsByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllFactorDetailsByFilterResponse", + "referencedFields": [ + "MetaData" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "CreateNewFactorDetailsRequest", + "comment": "ورودی ایجاد آدرس کاربر جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "CreateNewFactorDetailsRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 4130, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "ProductId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Count", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Count", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UnitPrice", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UnitPrice", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UnitDiscount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UnitDiscount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "OrderId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "OrderId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UnitDiscountPrice", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UnitDiscountPrice", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsChangePrice", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsChangePrice", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "CreateNewFactorDetailsResponse", + "comment": "خروجی ایجاد آدرس کاربر جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 9937, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_76", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "UpdateFactorDetailsRequest", + "comment": "ورودی ویرایش آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "UpdateFactorDetailsRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2967, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Count", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Count", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UnitPrice", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UnitPrice", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UnitDiscount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UnitDiscount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "OrderId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "OrderId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UnitDiscountPrice", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UnitDiscountPrice", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsChangePrice", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsChangePrice", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_75", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "DeleteFactorDetailsRequest", + "comment": "ورودی حذف آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 8672, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_74", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetFactorDetailsRequest", + "comment": "ورودی واکشی یک آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 5066, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_73", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetFactorDetailsResponse", + "comment": "خروجی واکشی یک آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetFactorDetailsResponse", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2769, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Count", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Count", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UnitPrice", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UnitPrice", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UnitDiscount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UnitDiscount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "OrderId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "OrderId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UnitDiscountPrice", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UnitDiscountPrice", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsChangePrice", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsChangePrice", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_72", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllFactorDetailsByFilterRequest", + "comment": "ورودی واکشی آدرس کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllFactorDetailsByFilterRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 3563, + "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_GetAllFactorDetailsByFilterRequest_GetAllFactorDetailsByFilterFilter", + "fields": [ + "Filter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllFactorDetailsByFilterFilter", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "GetAllFactorDetailsByFilterFilter", + "comment": "فیلترهای آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllFactorDetailsByFilterFilter", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 7480, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Count", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Count", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UnitPrice", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UnitPrice", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UnitDiscount", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UnitDiscount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "OrderId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "OrderId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UnitDiscountPrice", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UnitDiscountPrice", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsChangePrice", + "type": "bit", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsChangePrice", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_71", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllFactorDetailsByFilterResponse", + "comment": "خروجی واکشی آدرس کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2094, + "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_GetAllFactorDetailsByFilterResponse_GetAllFactorDetailsByFilterResponseModel", + "fields": [ + "Model" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllFactorDetailsByFilterResponseModel", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "GetAllFactorDetailsByFilterResponseModel", + "comment": "مدل خروجی آدرس کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllFactorDetailsByFilterResponseModel", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 5871, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Count", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Count", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UnitPrice", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UnitPrice", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UnitDiscount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UnitDiscount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "OrderId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "OrderId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UnitDiscountPrice", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UnitDiscountPrice", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsChangePrice", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsChangePrice", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_70", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "ProductsService", + "comment": "سرویس های توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "ProductsService", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 3023, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "CreateNewProducts", + "type": "CreateCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "ایجاد توکن Otp جدید", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CreateNewProducts", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UpdateProducts", + "type": "UpdateCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "ویرایش توکن Otp", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UpdateProducts", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "DeleteProducts", + "type": "DeleteCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "حذف توکن Otp", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "DeleteProducts", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetProducts", + "type": "GetOneQuery", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "واکشی یک توکن Otp", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetProducts", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetAllProductsByFilter", + "type": "GetAllByFilterQuery", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "واکشی توکن Otp ها بر مبنای فیلتر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetAllProductsByFilter", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductsService_CreateNewProductsRequest_1", + "fields": [ + "CreateNewProducts" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewProductsRequest", + "referencedFields": [ + "Title" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductsService_CreateNewProductsResponse_1", + "fields": [ + "CreateNewProducts" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewProductsResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductsService_UpdateProductsRequest_1", + "fields": [ + "UpdateProducts" + ], + "referencedSchema": "CMS", + "referencedTable": "UpdateProductsRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductsService_DeleteProductsRequest_1", + "fields": [ + "DeleteProducts" + ], + "referencedSchema": "CMS", + "referencedTable": "DeleteProductsRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductsService_GetProductsRequest_1", + "fields": [ + "GetProducts" + ], + "referencedSchema": "CMS", + "referencedTable": "GetProductsRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductsService_GetProductsResponse_1", + "fields": [ + "GetProducts" + ], + "referencedSchema": "CMS", + "referencedTable": "GetProductsResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "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": "" + } + ], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "CreateNewProductsRequest", + "comment": "ورودی ایجاد توکن Otp جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "CreateNewProductsRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 8466, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Description", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Description", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ShortInfomation", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ShortInfomation", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "FullInformation", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "FullInformation", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Price", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Price", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Discount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Discount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Rate", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Rate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ImagePath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ImagePath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ThumbnailPath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ThumbnailPath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "SaleCount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "SaleCount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ViewCount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ViewCount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RemainingCount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RemainingCount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "CreateNewProductsResponse", + "comment": "خروجی ایجاد توکن Otp جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 6715, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_69", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "UpdateProductsRequest", + "comment": "ورودی ویرایش توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "UpdateProductsRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2803, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Description", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Description", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ShortInfomation", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ShortInfomation", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "FullInformation", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "FullInformation", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Price", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Price", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Discount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Discount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Rate", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Rate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ImagePath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ImagePath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ThumbnailPath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ThumbnailPath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "SaleCount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "SaleCount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ViewCount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ViewCount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RemainingCount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RemainingCount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_68", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "DeleteProductsRequest", + "comment": "ورودی حذف توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 1316, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_67", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetProductsRequest", + "comment": "ورودی واکشی یک توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2270, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_66", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetProductsResponse", + "comment": "خروجی واکشی یک توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetProductsResponse", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 6349, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Description", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Description", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ShortInfomation", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ShortInfomation", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "FullInformation", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "FullInformation", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Price", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Price", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Discount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Discount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Rate", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Rate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ImagePath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ImagePath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ThumbnailPath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ThumbnailPath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "SaleCount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "SaleCount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ViewCount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ViewCount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RemainingCount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RemainingCount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_65", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "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": "" + } + ], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllProductsByFilterFilter", + "comment": "فیلترهای توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllProductsByFilterFilter", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 7548, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Description", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Description", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ShortInfomation", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ShortInfomation", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "FullInformation", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "FullInformation", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Price", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Price", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Discount", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Discount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Rate", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Rate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ImagePath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ImagePath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ThumbnailPath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ThumbnailPath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "SaleCount", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "SaleCount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ViewCount", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ViewCount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RemainingCount", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RemainingCount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_64", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "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": "" + } + ], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllProductsByFilterResponseModel", + "comment": "مدل خروجی توکن Otp بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllProductsByFilterResponseModel", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 5344, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Description", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Description", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ShortInfomation", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ShortInfomation", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "FullInformation", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "FullInformation", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Price", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Price", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Discount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Discount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Rate", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Rate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ImagePath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ImagePath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ThumbnailPath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ThumbnailPath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "SaleCount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "SaleCount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ViewCount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ViewCount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RemainingCount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RemainingCount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_63", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "ProductImagesService", + "comment": "سرویس های توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "ProductImagesService", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 5481, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "CreateNewProductImages", + "type": "CreateCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "ایجاد توکن Otp جدید", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CreateNewProductImages", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UpdateProductImages", + "type": "UpdateCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "ویرایش توکن Otp", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UpdateProductImages", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "DeleteProductImages", + "type": "DeleteCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "حذف توکن Otp", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "DeleteProductImages", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetProductImages", + "type": "GetOneQuery", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "واکشی یک توکن Otp", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetProductImages", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetAllProductImagesByFilter", + "type": "GetAllByFilterQuery", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "واکشی توکن Otp ها بر مبنای فیلتر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetAllProductImagesByFilter", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductImagesService_CreateNewProductImagesRequest_1", + "fields": [ + "CreateNewProductImages" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewProductImagesRequest", + "referencedFields": [ + "Title" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductImagesService_CreateNewProductImagesResponse_1", + "fields": [ + "CreateNewProductImages" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewProductImagesResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductImagesService_UpdateProductImagesRequest_1", + "fields": [ + "UpdateProductImages" + ], + "referencedSchema": "CMS", + "referencedTable": "UpdateProductImagesRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductImagesService_DeleteProductImagesRequest_1", + "fields": [ + "DeleteProductImages" + ], + "referencedSchema": "CMS", + "referencedTable": "DeleteProductImagesRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductImagesService_GetProductImagesRequest_1", + "fields": [ + "GetProductImages" + ], + "referencedSchema": "CMS", + "referencedTable": "GetProductImagesRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductImagesService_GetProductImagesResponse_1", + "fields": [ + "GetProductImages" + ], + "referencedSchema": "CMS", + "referencedTable": "GetProductImagesResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductImagesService_GetAllProductImagesByFilterRequest_1", + "fields": [ + "GetAllProductImagesByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllProductImagesByFilterRequest", + "referencedFields": [ + "PaginationState" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductImagesService_GetAllProductImagesByFilterResponse_1", + "fields": [ + "GetAllProductImagesByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllProductImagesByFilterResponse", + "referencedFields": [ + "MetaData" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "CreateNewProductImagesRequest", + "comment": "ورودی ایجاد توکن Otp جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "CreateNewProductImagesRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 4363, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ImagePath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ImagePath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ImageThumbnailPath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ImageThumbnailPath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "CreateNewProductImagesResponse", + "comment": "خروجی ایجاد توکن Otp جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 6043, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_62", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "UpdateProductImagesRequest", + "comment": "ورودی ویرایش توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "UpdateProductImagesRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 9257, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ImagePath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ImagePath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ImageThumbnailPath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ImageThumbnailPath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_61", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "DeleteProductImagesRequest", + "comment": "ورودی حذف توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 9325, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_60", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetProductImagesRequest", + "comment": "ورودی واکشی یک توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 5364, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_59", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetProductImagesResponse", + "comment": "خروجی واکشی یک توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetProductImagesResponse", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 9189, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ImagePath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ImagePath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ImageThumbnailPath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ImageThumbnailPath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_58", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllProductImagesByFilterRequest", + "comment": "ورودی واکشی توکن Otp بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllProductImagesByFilterRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 5896, + "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_GetAllProductImagesByFilterRequest_GetAllProductImagesByFilterFilter", + "fields": [ + "Filter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllProductImagesByFilterFilter", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "GetAllProductImagesByFilterFilter", + "comment": "فیلترهای توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllProductImagesByFilterFilter", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 8428, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ImagePath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ImagePath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ImageThumbnailPath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ImageThumbnailPath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_57", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllProductImagesByFilterResponse", + "comment": "خروجی واکشی توکن Otp بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2134, + "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_GetAllProductImagesByFilterResponse_GetAllProductImagesByFilterResponseModel", + "fields": [ + "Model" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllProductImagesByFilterResponseModel", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "GetAllProductImagesByFilterResponseModel", + "comment": "مدل خروجی توکن Otp بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllProductImagesByFilterResponseModel", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 4532, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ImagePath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ImagePath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ImageThumbnailPath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ImageThumbnailPath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_56", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "TransactionsService", + "comment": "سرویس های آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "TransactionsService", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 4558, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "CreateNewTransactions", + "type": "CreateCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "ایجاد آدرس کاربر جدید", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CreateNewTransactions", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UpdateTransactions", + "type": "UpdateCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "ویرایش آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UpdateTransactions", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "DeleteTransactions", + "type": "DeleteCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "حذف آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "DeleteTransactions", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetTransactions", + "type": "GetOneQuery", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "واکشی یک آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetTransactions", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetAllTransactionsByFilter", + "type": "GetAllByFilterQuery", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "واکشی آدرس کاربر ها بر مبنای فیلتر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetAllTransactionsByFilter", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_TransactionsService_CreateNewTransactionsRequest_1", + "fields": [ + "CreateNewTransactions" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewTransactionsRequest", + "referencedFields": [ + "MerchantId" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_TransactionsService_CreateNewTransactionsResponse_1", + "fields": [ + "CreateNewTransactions" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewTransactionsResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_TransactionsService_UpdateTransactionsRequest_1", + "fields": [ + "UpdateTransactions" + ], + "referencedSchema": "CMS", + "referencedTable": "UpdateTransactionsRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_TransactionsService_DeleteTransactionsRequest_1", + "fields": [ + "DeleteTransactions" + ], + "referencedSchema": "CMS", + "referencedTable": "DeleteTransactionsRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_TransactionsService_GetTransactionsRequest_1", + "fields": [ + "GetTransactions" + ], + "referencedSchema": "CMS", + "referencedTable": "GetTransactionsRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_TransactionsService_GetTransactionsResponse_1", + "fields": [ + "GetTransactions" + ], + "referencedSchema": "CMS", + "referencedTable": "GetTransactionsResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_TransactionsService_GetAllTransactionsByFilterRequest_1", + "fields": [ + "GetAllTransactionsByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllTransactionsByFilterRequest", + "referencedFields": [ + "PaginationState" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_TransactionsService_GetAllTransactionsByFilterResponse_1", + "fields": [ + "GetAllTransactionsByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllTransactionsByFilterResponse", + "referencedFields": [ + "MetaData" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "CreateNewTransactionsRequest", + "comment": "ورودی ایجاد آدرس کاربر جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "CreateNewTransactionsRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 1724, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "MerchantId", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "MerchantId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Amount", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Amount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CallbackUrl", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CallbackUrl", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Description", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Description", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Mobile", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Mobile", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Email", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Email", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RequestStatusCode", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RequestStatusCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RequestStatusMessage", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RequestStatusMessage", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Authority", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Authority", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "FeeType", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "FeeType", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Fee", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Fee", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Currency", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Currency", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentStatus", + "type": "enum", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentStatus", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentDate", + "type": "datetime2", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ پرداخت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentDate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "VerificationStatusCode", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "VerificationStatusCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "VerificationStatusMessage", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "VerificationStatusMessage", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CardHash", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CardHash", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CardPan", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CardPan", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RefId", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RefId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "OrderId", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "OrderId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Type", + "type": "enum", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Type", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_CreateNewTransactionsRequest_PaymentStatus_1", + "fields": [ + "PaymentStatus" + ], + "referencedSchema": "CMS", + "referencedTable": "PaymentStatus", + "referencedFields": [ + "Success" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "fk_CreateNewTransactionsRequest_PaymentStatus_1" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_CreateNewTransactionsRequest_TransactionType_1", + "fields": [ + "Type" + ], + "referencedSchema": "CMS", + "referencedTable": "TransactionType", + "referencedFields": [ + "Buy" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "fk_CreateNewTransactionsRequest_TransactionType_1" + } + ], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "CreateNewTransactionsResponse", + "comment": "خروجی ایجاد آدرس کاربر جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 1863, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_55", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "UpdateTransactionsRequest", + "comment": "ورودی ویرایش آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "UpdateTransactionsRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 8441, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "MerchantId", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "MerchantId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Amount", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Amount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CallbackUrl", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CallbackUrl", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Description", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Description", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Mobile", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Mobile", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Email", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Email", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RequestStatusCode", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RequestStatusCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RequestStatusMessage", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RequestStatusMessage", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Authority", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Authority", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "FeeType", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "FeeType", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Fee", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Fee", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Currency", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Currency", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentStatus", + "type": "enum", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentStatus", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentDate", + "type": "datetime2", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ پرداخت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentDate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "VerificationStatusCode", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "VerificationStatusCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "VerificationStatusMessage", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "VerificationStatusMessage", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CardHash", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CardHash", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CardPan", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CardPan", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RefId", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RefId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "OrderId", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "OrderId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Type", + "type": "enum", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Type", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_54", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UpdateTransactionsRequest_PaymentStatus_1", + "fields": [ + "PaymentStatus" + ], + "referencedSchema": "CMS", + "referencedTable": "PaymentStatus", + "referencedFields": [ + "Success" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "fk_UpdateTransactionsRequest_PaymentStatus_1" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UpdateTransactionsRequest_TransactionType_1", + "fields": [ + "Type" + ], + "referencedSchema": "CMS", + "referencedTable": "TransactionType", + "referencedFields": [ + "Buy" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "fk_UpdateTransactionsRequest_TransactionType_1" + } + ], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "DeleteTransactionsRequest", + "comment": "ورودی حذف آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 9430, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_53", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetTransactionsRequest", + "comment": "ورودی واکشی یک آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2131, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_52", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetTransactionsResponse", + "comment": "خروجی واکشی یک آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetTransactionsResponse", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 8466, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "MerchantId", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "MerchantId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Amount", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Amount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CallbackUrl", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CallbackUrl", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Description", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Description", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Mobile", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Mobile", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Email", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Email", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RequestStatusCode", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RequestStatusCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RequestStatusMessage", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RequestStatusMessage", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Authority", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Authority", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "FeeType", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "FeeType", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Fee", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Fee", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Currency", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Currency", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentStatus", + "type": "enum", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentStatus", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentDate", + "type": "datetime2", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ پرداخت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentDate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "VerificationStatusCode", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "VerificationStatusCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "VerificationStatusMessage", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "VerificationStatusMessage", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CardHash", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CardHash", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CardPan", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CardPan", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RefId", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RefId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "OrderId", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "OrderId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Type", + "type": "enum", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Type", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_51", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_GetTransactionsResponse_PaymentStatus_1", + "fields": [ + "PaymentStatus" + ], + "referencedSchema": "CMS", + "referencedTable": "PaymentStatus", + "referencedFields": [ + "Success" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "fk_GetTransactionsResponse_PaymentStatus_1" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_GetTransactionsResponse_TransactionType_1", + "fields": [ + "Type" + ], + "referencedSchema": "CMS", + "referencedTable": "TransactionType", + "referencedFields": [ + "Buy" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "fk_GetTransactionsResponse_TransactionType_1" + } + ], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllTransactionsByFilterRequest", + "comment": "ورودی واکشی آدرس کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllTransactionsByFilterRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 3529, + "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_GetAllTransactionsByFilterRequest_GetAllTransactionsByFilterFilter", + "fields": [ + "Filter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllTransactionsByFilterFilter", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "GetAllTransactionsByFilterResponse", + "comment": "خروجی واکشی آدرس کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 5487, + "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_GetAllTransactionsByFilterResponse_GetAllTransactionsByFilterResponseModel", + "fields": [ + "Model" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllTransactionsByFilterResponseModel", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "GetAllTransactionsByFilterResponseModel", + "comment": "مدل خروجی آدرس کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllTransactionsByFilterResponseModel", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 6888, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "MerchantId", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "MerchantId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Amount", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Amount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CallbackUrl", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CallbackUrl", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Description", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Description", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Mobile", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Mobile", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Email", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Email", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RequestStatusCode", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RequestStatusCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RequestStatusMessage", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RequestStatusMessage", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Authority", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Authority", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "FeeType", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "FeeType", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Fee", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Fee", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Currency", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Currency", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentStatus", + "type": "enum", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentStatus", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentDate", + "type": "datetime2", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ پرداخت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentDate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "VerificationStatusCode", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "VerificationStatusCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "VerificationStatusMessage", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "VerificationStatusMessage", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CardHash", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CardHash", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CardPan", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CardPan", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RefId", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RefId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "OrderId", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "OrderId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Type", + "type": "enum", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Type", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_50", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_GetAllTransactionsByFilterResponseModel_PaymentStatus_1", + "fields": [ + "PaymentStatus" + ], + "referencedSchema": "CMS", + "referencedTable": "PaymentStatus", + "referencedFields": [ + "Success" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "fk_GetAllTransactionsByFilterResponseModel_PaymentStatus_1" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_GetAllTransactionsByFilterResponseModel_TransactionType_1", + "fields": [ + "Type" + ], + "referencedSchema": "CMS", + "referencedTable": "TransactionType", + "referencedFields": [ + "Buy" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "fk_GetAllTransactionsByFilterResponseModel_TransactionType_1" + } + ], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllUserOrderByFilterResponseModel", + "comment": "مدل خروجی سفارش کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllUserOrderByFilterResponseModel", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2138, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Price", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "قیمت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Price", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PackageId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه پکیج", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PackageId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "TransactionId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه تراکنش", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "TransactionId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentStatus", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "وضعیت پرداخت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentStatus", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentDate", + "type": "datetime", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ پرداخت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentDate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserAddressId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserAddressId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_21", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllUserOrderByFilterFilter", + "comment": "فیلترهای سفارش کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllUserOrderByFilterFilter", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 1841, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Price", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "قیمت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Price", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PackageId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه پکیج", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PackageId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "TransactionId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه تراکنش", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "TransactionId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentStatus", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "وضعیت پرداخت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentStatus", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentDate", + "type": "datetime", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ پرداخت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentDate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserAddressId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserAddressId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_22", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "Transactions", + "comment": "آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "MerchantId", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "MerchantId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Amount", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Amount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CallbackUrl", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CallbackUrl", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Description", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Description", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Mobile", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Mobile", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Email", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Email", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RequestStatusCode", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RequestStatusCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RequestStatusMessage", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RequestStatusMessage", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Authority", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Authority", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "FeeType", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "FeeType", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Fee", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Fee", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Currency", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Currency", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentStatus", + "type": "enum", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentStatus", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentDate", + "type": "datetime2", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ پرداخت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentDate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "VerificationStatusCode", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "VerificationStatusCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "VerificationStatusMessage", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "VerificationStatusMessage", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CardHash", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CardHash", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CardPan", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CardPan", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RefId", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RefId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "OrderId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "OrderId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Type", + "type": "enum", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Type", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1_copy_2_copy_1_copy_1", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_Transactions_UserOrder_1", + "fields": [ + "OrderId" + ], + "referencedSchema": "CMS", + "referencedTable": "UserOrder", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_Transactions_PaymentStatus_1", + "fields": [ + "PaymentStatus" + ], + "referencedSchema": "CMS", + "referencedTable": "PaymentStatus", + "referencedFields": [ + "Success" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_Transactions_TransactionType_1", + "fields": [ + "Type" + ], + "referencedSchema": "CMS", + "referencedTable": "TransactionType", + "referencedFields": [ + "Buy" + ], + "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": "GetAllTransactionsByFilterFilter", + "comment": "فیلترهای آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllTransactionsByFilterFilter", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 4296, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "MerchantId", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "MerchantId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Amount", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Amount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CallbackUrl", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CallbackUrl", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Description", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Description", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Mobile", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Mobile", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Email", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Email", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RequestStatusCode", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RequestStatusCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RequestStatusMessage", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RequestStatusMessage", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Authority", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Authority", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "FeeType", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "FeeType", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Fee", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Fee", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Currency", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Currency", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentStatus", + "type": "enum", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentStatus", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentDate", + "type": "datetime2", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ پرداخت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentDate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "VerificationStatusCode", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "VerificationStatusCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "VerificationStatusMessage", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "VerificationStatusMessage", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CardHash", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CardHash", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CardPan", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CardPan", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RefId", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RefId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "OrderId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "OrderId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Type", + "type": "enum", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Type", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_49", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_GetAllTransactionsByFilterFilter_PaymentStatus_1", + "fields": [ + "PaymentStatus" + ], + "referencedSchema": "CMS", + "referencedTable": "PaymentStatus", + "referencedFields": [ + "Success" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "fk_GetAllTransactionsByFilterFilter_PaymentStatus_1" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_GetAllTransactionsByFilterFilter_TransactionType_1", + "fields": [ + "Type" + ], + "referencedSchema": "CMS", + "referencedTable": "TransactionType", + "referencedFields": [ + "Buy" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "fk_GetAllTransactionsByFilterFilter_TransactionType_1" + } + ], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, { "objectType": "Table_MSSQL", "name": "User", @@ -16518,7 +38075,7 @@ "comment": "شناسه", "computedExpression": "", "defaultValue": "", - "defaultValueType": "Others", + "defaultValueType": "None", "schema": "", "userDefinedType": "", "collate": "", @@ -16548,7 +38105,7 @@ "comment": "نام", "computedExpression": "", "defaultValue": "", - "defaultValueType": "Others", + "defaultValueType": "None", "schema": "", "userDefinedType": "", "collate": "", @@ -16578,7 +38135,7 @@ "comment": "نام خانوادگی", "computedExpression": "", "defaultValue": "", - "defaultValueType": "Others", + "defaultValueType": "None", "schema": "", "userDefinedType": "", "collate": "", @@ -16608,7 +38165,7 @@ "comment": "شماره موبایل", "computedExpression": "", "defaultValue": "", - "defaultValueType": "Others", + "defaultValueType": "None", "schema": "", "userDefinedType": "", "collate": "", @@ -16638,7 +38195,7 @@ "comment": "کد ملی", "computedExpression": "", "defaultValue": "", - "defaultValueType": "Others", + "defaultValueType": "None", "schema": "", "userDefinedType": "", "collate": "", @@ -16668,7 +38225,7 @@ "comment": "آدرس آواتار", "computedExpression": "", "defaultValue": "", - "defaultValueType": "Others", + "defaultValueType": "None", "schema": "", "userDefinedType": "", "collate": "", @@ -16698,7 +38255,7 @@ "comment": "شناسه والد", "computedExpression": "", "defaultValue": "", - "defaultValueType": "Others", + "defaultValueType": "None", "schema": "", "userDefinedType": "", "collate": "", @@ -16728,7 +38285,7 @@ "comment": "کد ارجاع", "computedExpression": "", "defaultValue": "", - "defaultValueType": "Others", + "defaultValueType": "None", "schema": "", "userDefinedType": "", "collate": "", @@ -16758,7 +38315,7 @@ "comment": "موبایل فعال شده؟", "computedExpression": "", "defaultValue": "", - "defaultValueType": "Others", + "defaultValueType": "None", "schema": "", "userDefinedType": "", "collate": "", @@ -16788,7 +38345,7 @@ "comment": "تاریخ فعال سازی موبایل", "computedExpression": "", "defaultValue": "", - "defaultValueType": "Others", + "defaultValueType": "None", "schema": "", "userDefinedType": "", "collate": "", @@ -16818,7 +38375,7 @@ "comment": "قوانین پذیرفته شده؟", "computedExpression": "", "defaultValue": "", - "defaultValueType": "Others", + "defaultValueType": "None", "schema": "", "userDefinedType": "", "collate": "", @@ -16848,7 +38405,7 @@ "comment": "تاریخ پذیرش قوانین", "computedExpression": "", "defaultValue": "", - "defaultValueType": "Others", + "defaultValueType": "None", "schema": "", "userDefinedType": "", "collate": "", @@ -16878,7 +38435,7 @@ "comment": "اعلان ایمیل", "computedExpression": "", "defaultValue": "", - "defaultValueType": "Others", + "defaultValueType": "None", "schema": "", "userDefinedType": "", "collate": "", @@ -16908,7 +38465,7 @@ "comment": "اعلان پیامک", "computedExpression": "", "defaultValue": "", - "defaultValueType": "Others", + "defaultValueType": "None", "schema": "", "userDefinedType": "", "collate": "", @@ -16938,7 +38495,7 @@ "comment": "اعلان پوش", "computedExpression": "", "defaultValue": "", - "defaultValueType": "Others", + "defaultValueType": "None", "schema": "", "userDefinedType": "", "collate": "", @@ -16968,7 +38525,7 @@ "comment": "تاریخ تولد", "computedExpression": "", "defaultValue": "", - "defaultValueType": "Others", + "defaultValueType": "None", "schema": "", "userDefinedType": "", "collate": "", @@ -16987,6 +38544,36 @@ "identitySeed": 0, "identityIncrement": 0, "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "HashPassword", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "پسوورد هش کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "HashPassword", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false } ], "indexes": [], @@ -17056,6 +38643,973 @@ "filestreamPartitionScheme": "", "dataCompressions": [] } + }, + { + "objectType": "Table_MSSQL", + "name": "AdminGetJwtTokenRequest", + "comment": "ورودی حذف کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2924, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Username", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "نام کاربری", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Username", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Password", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "کلمه عبور", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Password", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_43_copy_2", + "fields": [ + "Username" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "AdminGetJwtTokenResponse", + "comment": "خروجی واکشی توکن", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 6042, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Token", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "توکن", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Token", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_46_copy_1", + "fields": [], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "UserService", + "comment": "سرویس های کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "UserService", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 4423, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "CreateNewUser", + "type": "CreateCommand", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "ایجاد کاربر جدید", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CreateNewUser", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UpdateUser", + "type": "UpdateCommand", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "ویرایش کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UpdateUser", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "DeleteUser", + "type": "DeleteCommand", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "حذف کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "DeleteUser", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetUser", + "type": "GetOneQuery", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "واکشی یک کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetUser", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetAllUserByFilter", + "type": "GetAllByFilterQuery", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "واکشی کاربر ها بر مبنای فیلتر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetAllUserByFilter", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetJwtToken", + "type": "Query", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "واکشی توکن", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetJwtToken", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "AdminGetJwtToken", + "type": "Query", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "واکشی توکن مدیر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "AdminGetJwtToken", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "SetPasswordForUser", + "type": "Command", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تنظیم کلمه عبور", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "SetPasswordForUser", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_48", + "fields": [], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserService_CreateNewUserRequest_1", + "fields": [ + "CreateNewUser" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewUserRequest", + "referencedFields": [ + "FirstName" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserService_CreateNewUserResponse_1", + "fields": [ + "CreateNewUser" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewUserResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserService_UpdateUserRequest_1", + "fields": [ + "UpdateUser" + ], + "referencedSchema": "CMS", + "referencedTable": "UpdateUserRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserService_DeleteUserRequest_1", + "fields": [ + "DeleteUser" + ], + "referencedSchema": "CMS", + "referencedTable": "DeleteUserRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserService_GetUserRequest_1", + "fields": [ + "GetUser" + ], + "referencedSchema": "CMS", + "referencedTable": "GetUserRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserService_GetUserResponse_1", + "fields": [ + "GetUser" + ], + "referencedSchema": "CMS", + "referencedTable": "GetUserResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserService_GetAllUserByFilterRequest_1", + "fields": [ + "GetAllUserByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserByFilterRequest", + "referencedFields": [ + "PaginationState" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserService_GetAllUserByFilterResponse_1", + "fields": [ + "GetAllUserByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserByFilterResponse", + "referencedFields": [ + "MetaData" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserService_GetJwtTokenRequest_1", + "fields": [ + "GetJwtToken" + ], + "referencedSchema": "CMS", + "referencedTable": "GetJwtTokenRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserService_GetJwtTokenResponse_1", + "fields": [ + "GetJwtToken" + ], + "referencedSchema": "CMS", + "referencedTable": "GetJwtTokenResponse", + "referencedFields": [ + "Token" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserService_AdminGetJwtTokenRequest_1", + "fields": [ + "AdminGetJwtToken" + ], + "referencedSchema": "CMS", + "referencedTable": "AdminGetJwtTokenRequest", + "referencedFields": [ + "Username" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserService_AdminGetJwtTokenResponse_1", + "fields": [ + "AdminGetJwtToken" + ], + "referencedSchema": "CMS", + "referencedTable": "AdminGetJwtTokenResponse", + "referencedFields": [ + "Token" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserService_SetPasswordForUserRequest_1", + "fields": [ + "SetPasswordForUser" + ], + "referencedSchema": "CMS", + "referencedTable": "SetPasswordForUserRequest", + "referencedFields": [ + "UserId" + ], + "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": "SetPasswordForUserRequest", + "comment": "ورودی حذف کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2924, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CurrentPassword", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "کلمه عبور فعلی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CurrentPassword", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "NewPassword", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "کلمه عبور", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "NewPassword", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ConfirmPassword", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "تایید کلمه عبور", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ConfirmPassword", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_43_copy_3", + "fields": [ + "UserId" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } } ], "views": [] @@ -17067,8 +39621,8 @@ "diagrams": [ { "name": "CMS", - "paperWidth": 2, - "paperHeight": 1, + "paperWidth": 5, + "paperHeight": 2, "tableFont": "Arial Unicode MS", "tableFontSize": 14, "isBalckWhite": false, @@ -17082,10 +39636,10 @@ "type": "table", "schemaName": "CMS", "tableName": "User", - "x": 5600, - "y": 1380, + "x": 18510, + "y": 8680, "width": 370, - "height": 400, + "height": 435, "isBold": false, "titleColor": { "r": 55, @@ -17098,8 +39652,8 @@ "type": "table", "schemaName": "CMS", "tableName": "UserAddress", - "x": 5630, - "y": 1100, + "x": 18090, + "y": 8640, "width": 310, "height": 220, "isBold": false, @@ -17114,8 +39668,8 @@ "type": "table", "schemaName": "CMS", "tableName": "Package", - "x": 4910, - "y": 1130, + "x": 17670, + "y": 9020, "width": 310, "height": 170, "isBold": false, @@ -17130,10 +39684,10 @@ "type": "table", "schemaName": "CMS", "tableName": "UserOrder", - "x": 5270, - "y": 1100, + "x": 17670, + "y": 8680, "width": 310, - "height": 230, + "height": 285, "isBold": false, "titleColor": { "r": 55, @@ -17146,8 +39700,8 @@ "type": "table", "schemaName": "CMS", "tableName": "Role", - "x": 5630, - "y": 2010, + "x": 18540, + "y": 9350, "width": 310, "height": 130, "isBold": false, @@ -17162,8 +39716,8 @@ "type": "table", "schemaName": "CMS", "tableName": "UserRole", - "x": 5630, - "y": 1830, + "x": 18540, + "y": 9170, "width": 310, "height": 130, "isBold": false, @@ -17178,10 +39732,10 @@ "type": "table", "schemaName": "CMS", "tableName": "UserService", - "x": 2580, - "y": 3380, + "x": 6330, + "y": 6010, "width": 400, - "height": 190, + "height": 284, "isBold": false, "titleColor": { "r": 0, @@ -17194,8 +39748,8 @@ "type": "table", "schemaName": "CMS", "tableName": "CreateNewUserRequest", - "x": 2820, - "y": 2280, + "x": 6550, + "y": 5370, "width": 400, "height": 270, "isBold": false, @@ -17210,10 +39764,10 @@ "type": "table", "schemaName": "CMS", "tableName": "CreateNewUserResponse", - "x": 2450, - "y": 2130, + "x": 6190, + "y": 5210, "width": 400, - "height": 100, + "height": 106, "isBold": false, "titleColor": { "r": 200, @@ -17226,8 +39780,8 @@ "type": "table", "schemaName": "CMS", "tableName": "UpdateUserRequest", - "x": 2070, - "y": 3320, + "x": 5820, + "y": 6000, "width": 400, "height": 300, "isBold": false, @@ -17242,10 +39796,10 @@ "type": "table", "schemaName": "CMS", "tableName": "DeleteUserRequest", - "x": 2580, - "y": 3620, + "x": 6330, + "y": 6340, "width": 400, - "height": 100, + "height": 106, "isBold": false, "titleColor": { "r": 255, @@ -17258,10 +39812,10 @@ "type": "table", "schemaName": "CMS", "tableName": "GetUserRequest", - "x": 4620, - "y": 3500, + "x": 9910, + "y": 6220, "width": 400, - "height": 100, + "height": 106, "isBold": false, "titleColor": { "r": 255, @@ -17274,8 +39828,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetUserResponse", - "x": 4620, - "y": 3100, + "x": 9910, + "y": 5820, "width": 400, "height": 350, "isBold": false, @@ -17290,8 +39844,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllUserByFilterRequest", - "x": 4050, - "y": 3270, + "x": 9330, + "y": 6060, "width": 400, "height": 137, "isBold": false, @@ -17306,8 +39860,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllUserByFilterFilter", - "x": 4560, - "y": 2700, + "x": 9850, + "y": 5420, "width": 400, "height": 350, "isBold": false, @@ -17322,8 +39876,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllUserByFilterResponse", - "x": 3600, - "y": 3100, + "x": 8880, + "y": 5890, "width": 400, "height": 118, "isBold": false, @@ -17338,8 +39892,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllUserByFilterResponseModel", - "x": 4050, - "y": 2870, + "x": 9330, + "y": 5650, "width": 400, "height": 350, "isBold": false, @@ -17354,8 +39908,8 @@ "type": "table", "schemaName": "CMS", "tableName": "UserAddressService", - "x": 5110, - "y": 2460, + "x": 8490, + "y": 5080, "width": 400, "height": 200, "isBold": false, @@ -17370,8 +39924,8 @@ "type": "table", "schemaName": "CMS", "tableName": "CreateNewUserAddressRequest", - "x": 2960, - "y": 2010, + "x": 6700, + "y": 4950, "width": 400, "height": 213, "isBold": false, @@ -17386,10 +39940,10 @@ "type": "table", "schemaName": "CMS", "tableName": "CreateNewUserAddressResponse", - "x": 2960, - "y": 2600, + "x": 6840, + "y": 5210, "width": 400, - "height": 100, + "height": 106, "isBold": false, "titleColor": { "r": 200, @@ -17402,8 +39956,8 @@ "type": "table", "schemaName": "CMS", "tableName": "UpdateUserAddressRequest", - "x": 5110, - "y": 2720, + "x": 8490, + "y": 5330, "width": 400, "height": 213, "isBold": false, @@ -17418,10 +39972,10 @@ "type": "table", "schemaName": "CMS", "tableName": "DeleteUserAddressRequest", - "x": 5560, - "y": 2360, + "x": 9000, + "y": 5130, "width": 400, - "height": 100, + "height": 106, "isBold": false, "titleColor": { "r": 255, @@ -17434,10 +39988,10 @@ "type": "table", "schemaName": "CMS", "tableName": "GetUserAddressRequest", - "x": 5000, - "y": 2250, + "x": 8490, + "y": 4930, "width": 400, - "height": 100, + "height": 106, "isBold": false, "titleColor": { "r": 255, @@ -17450,8 +40004,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetUserAddressResponse", - "x": 4490, - "y": 2250, + "x": 7980, + "y": 4870, "width": 400, "height": 213, "isBold": false, @@ -17466,8 +40020,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllUserAddressByFilterRequest", - "x": 3980, - "y": 2010, + "x": 7410, + "y": 4510, "width": 400, "height": 137, "isBold": false, @@ -17482,8 +40036,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllUserAddressByFilterFilter", - "x": 3470, - "y": 1930, + "x": 6960, + "y": 4420, "width": 400, "height": 213, "isBold": false, @@ -17498,8 +40052,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllUserAddressByFilterResponse", - "x": 3920, - "y": 2280, + "x": 7410, + "y": 4780, "width": 400, "height": 118, "isBold": false, @@ -17514,8 +40068,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllUserAddressByFilterResponseModel", - "x": 3470, - "y": 2190, + "x": 6960, + "y": 4680, "width": 400, "height": 213, "isBold": false, @@ -17530,8 +40084,8 @@ "type": "table", "schemaName": "CMS", "tableName": "PackageService", - "x": 2240, - "y": 240, + "x": 6160, + "y": 3170, "width": 400, "height": 175, "isBold": false, @@ -17546,8 +40100,8 @@ "type": "table", "schemaName": "CMS", "tableName": "CreateNewPackageRequest", - "x": 2270, - "y": 1890, + "x": 6190, + "y": 4830, "width": 400, "height": 175, "isBold": false, @@ -17562,10 +40116,10 @@ "type": "table", "schemaName": "CMS", "tableName": "CreateNewPackageResponse", - "x": 2520, - "y": 1740, + "x": 6450, + "y": 4670, "width": 400, - "height": 100, + "height": 106, "isBold": false, "titleColor": { "r": 200, @@ -17578,8 +40132,8 @@ "type": "table", "schemaName": "CMS", "tableName": "UpdatePackageRequest", - "x": 2690, - "y": 240, + "x": 6610, + "y": 3170, "width": 400, "height": 175, "isBold": false, @@ -17594,10 +40148,10 @@ "type": "table", "schemaName": "CMS", "tableName": "DeletePackageRequest", - "x": 2240, - "y": 30, + "x": 6160, + "y": 2950, "width": 400, - "height": 100, + "height": 106, "isBold": false, "titleColor": { "r": 255, @@ -17610,10 +40164,10 @@ "type": "table", "schemaName": "CMS", "tableName": "GetPackageRequest", - "x": 1790, - "y": 280, + "x": 5710, + "y": 3200, "width": 400, - "height": 100, + "height": 106, "isBold": false, "titleColor": { "r": 255, @@ -17626,8 +40180,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetPackageResponse", - "x": 1910, - "y": 530, + "x": 5830, + "y": 3460, "width": 400, "height": 175, "isBold": false, @@ -17642,8 +40196,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllPackageByFilterRequest", - "x": 1980, - "y": 810, + "x": 5910, + "y": 3740, "width": 400, "height": 137, "isBold": false, @@ -17658,8 +40212,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllPackageByFilterFilter", - "x": 1980, - "y": 1000, + "x": 5910, + "y": 3930, "width": 400, "height": 175, "isBold": false, @@ -17674,8 +40228,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllPackageByFilterResponse", - "x": 2060, - "y": 1280, + "x": 5980, + "y": 4220, "width": 400, "height": 118, "isBold": false, @@ -17690,8 +40244,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllPackageByFilterResponseModel", - "x": 2060, - "y": 1450, + "x": 5980, + "y": 4390, "width": 400, "height": 175, "isBold": false, @@ -17706,8 +40260,8 @@ "type": "table", "schemaName": "CMS", "tableName": "UserOrderService", - "x": 540, - "y": 2690, + "x": 4030, + "y": 7070, "width": 400, "height": 175, "isBold": false, @@ -17722,8 +40276,8 @@ "type": "table", "schemaName": "CMS", "tableName": "CreateNewUserOrderRequest", - "x": 1820, - "y": 2030, + "x": 5700, + "y": 6350, "width": 400, "height": 220, "isBold": false, @@ -17738,10 +40292,10 @@ "type": "table", "schemaName": "CMS", "tableName": "CreateNewUserOrderResponse", - "x": 780, - "y": 1980, + "x": 4250, + "y": 6300, "width": 400, - "height": 100, + "height": 106, "isBold": false, "titleColor": { "r": 200, @@ -17754,8 +40308,8 @@ "type": "table", "schemaName": "CMS", "tableName": "UpdateUserOrderRequest", - "x": 410, - "y": 1700, + "x": 3890, + "y": 6020, "width": 400, "height": 230, "isBold": false, @@ -17770,10 +40324,10 @@ "type": "table", "schemaName": "CMS", "tableName": "DeleteUserOrderRequest", - "x": 30, - "y": 2730, + "x": 3520, + "y": 7100, "width": 400, - "height": 100, + "height": 106, "isBold": false, "titleColor": { "r": 255, @@ -17786,10 +40340,10 @@ "type": "table", "schemaName": "CMS", "tableName": "GetUserOrderRequest", - "x": 540, - "y": 2920, + "x": 4030, + "y": 7290, "width": 400, - "height": 100, + "height": 106, "isBold": false, "titleColor": { "r": 255, @@ -17802,8 +40356,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetUserOrderResponse", - "x": 1110, - "y": 2770, + "x": 4600, + "y": 7160, "width": 400, "height": 240, "isBold": false, @@ -17818,8 +40372,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllUserOrderByFilterRequest", - "x": 1110, - "y": 2590, + "x": 4600, + "y": 6970, "width": 400, "height": 137, "isBold": false, @@ -17834,8 +40388,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllUserOrderByFilterFilter", - "x": 1560, - "y": 2590, + "x": 5110, + "y": 6970, "width": 400, "height": 240, "isBold": false, @@ -17850,8 +40404,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllUserOrderByFilterResponse", - "x": 1050, - "y": 2410, + "x": 4540, + "y": 6800, "width": 400, "height": 118, "isBold": false, @@ -17866,8 +40420,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllUserOrderByFilterResponseModel", - "x": 1500, - "y": 2300, + "x": 4990, + "y": 6680, "width": 400, "height": 240, "isBold": false, @@ -17882,8 +40436,8 @@ "type": "table", "schemaName": "CMS", "tableName": "RoleService", - "x": 1650, - "y": 4730, + "x": 5730, + "y": 8140, "width": 400, "height": 175, "isBold": false, @@ -17898,8 +40452,8 @@ "type": "table", "schemaName": "CMS", "tableName": "CreateNewRoleRequest", - "x": 1820, - "y": 3700, + "x": 5700, + "y": 6620, "width": 400, "height": 137, "isBold": false, @@ -17914,10 +40468,10 @@ "type": "table", "schemaName": "CMS", "tableName": "CreateNewRoleResponse", - "x": 1370, - "y": 3800, + "x": 5440, + "y": 6810, "width": 400, - "height": 100, + "height": 106, "isBold": false, "titleColor": { "r": 200, @@ -17930,8 +40484,8 @@ "type": "table", "schemaName": "CMS", "tableName": "UpdateRoleRequest", - "x": 1200, - "y": 4750, + "x": 5280, + "y": 8150, "width": 400, "height": 137, "isBold": false, @@ -17946,10 +40500,10 @@ "type": "table", "schemaName": "CMS", "tableName": "DeleteRoleRequest", - "x": 1650, - "y": 4960, + "x": 5730, + "y": 8360, "width": 400, - "height": 100, + "height": 106, "isBold": false, "titleColor": { "r": 255, @@ -17962,10 +40516,10 @@ "type": "table", "schemaName": "CMS", "tableName": "GetRoleRequest", - "x": 2100, - "y": 4770, + "x": 6180, + "y": 8170, "width": 400, - "height": 100, + "height": 106, "isBold": false, "titleColor": { "r": 255, @@ -17978,8 +40532,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetRoleResponse", - "x": 1980, - "y": 4490, + "x": 6060, + "y": 7890, "width": 400, "height": 137, "isBold": false, @@ -17994,8 +40548,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllRoleByFilterRequest", - "x": 2270, - "y": 4180, + "x": 5990, + "y": 7640, "width": 400, "height": 137, "isBold": false, @@ -18010,8 +40564,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllRoleByFilterFilter", - "x": 2270, - "y": 3990, + "x": 5990, + "y": 7450, "width": 400, "height": 137, "isBold": false, @@ -18026,8 +40580,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllRoleByFilterResponse", - "x": 1820, - "y": 4200, + "x": 5910, + "y": 7220, "width": 400, "height": 118, "isBold": false, @@ -18042,8 +40596,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllRoleByFilterResponseModel", - "x": 1820, - "y": 4010, + "x": 5910, + "y": 7030, "width": 400, "height": 137, "isBold": false, @@ -18058,8 +40612,8 @@ "type": "table", "schemaName": "CMS", "tableName": "UserRoleService", - "x": 8760, - "y": 3600, + "x": 11950, + "y": 6520, "width": 400, "height": 175, "isBold": false, @@ -18074,8 +40628,8 @@ "type": "table", "schemaName": "CMS", "tableName": "CreateNewUserRoleRequest", - "x": 6190, - "y": 3700, + "x": 10270, + "y": 6620, "width": 400, "height": 137, "isBold": false, @@ -18090,10 +40644,10 @@ "type": "table", "schemaName": "CMS", "tableName": "CreateNewUserRoleResponse", - "x": 6720, - "y": 3700, + "x": 10810, + "y": 6620, "width": 400, - "height": 100, + "height": 106, "isBold": false, "titleColor": { "r": 200, @@ -18106,8 +40660,8 @@ "type": "table", "schemaName": "CMS", "tableName": "UpdateUserRoleRequest", - "x": 8760, - "y": 3820, + "x": 11950, + "y": 6740, "width": 400, "height": 137, "isBold": false, @@ -18122,10 +40676,10 @@ "type": "table", "schemaName": "CMS", "tableName": "DeleteUserRoleRequest", - "x": 9270, - "y": 3630, + "x": 12470, + "y": 6550, "width": 400, - "height": 100, + "height": 106, "isBold": false, "titleColor": { "r": 255, @@ -18138,10 +40692,10 @@ "type": "table", "schemaName": "CMS", "tableName": "GetUserRoleRequest", - "x": 8760, - "y": 3450, + "x": 11950, + "y": 6360, "width": 400, - "height": 100, + "height": 106, "isBold": false, "titleColor": { "r": 255, @@ -18154,8 +40708,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetUserRoleResponse", - "x": 8250, - "y": 3470, + "x": 11440, + "y": 6380, "width": 400, "height": 137, "isBold": false, @@ -18170,8 +40724,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllUserRoleByFilterRequest", - "x": 7740, - "y": 3500, + "x": 10870, + "y": 6200, "width": 400, "height": 137, "isBold": false, @@ -18186,8 +40740,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllUserRoleByFilterFilter", - "x": 7290, - "y": 3500, + "x": 10420, + "y": 6180, "width": 400, "height": 137, "isBold": false, @@ -18202,8 +40756,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllUserRoleByFilterResponse", - "x": 6780, - "y": 3470, + "x": 10870, + "y": 6390, "width": 400, "height": 118, "isBold": false, @@ -18218,8 +40772,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllUserRoleByFilterResponseModel", - "x": 6330, - "y": 3450, + "x": 10420, + "y": 6370, "width": 400, "height": 137, "isBold": false, @@ -18234,8 +40788,8 @@ "type": "table", "schemaName": "CMS", "tableName": "OtpToken", - "x": 4550, - "y": 1100, + "x": 18540, + "y": 6910, "width": 310, "height": 230, "isBold": false, @@ -18250,8 +40804,8 @@ "type": "table", "schemaName": "CMS", "tableName": "OtpTokenService", - "x": 6080, - "y": 550, + "x": 10180, + "y": 2350, "width": 400, "height": 150, "isBold": false, @@ -18266,8 +40820,8 @@ "type": "table", "schemaName": "CMS", "tableName": "CreateNewOtpTokenRequest", - "x": 6080, - "y": 1520, + "x": 10160, + "y": 2840, "width": 400, "height": 110, "isBold": false, @@ -18282,8 +40836,8 @@ "type": "table", "schemaName": "CMS", "tableName": "CreateNewOtpTokenResponse", - "x": 6330, - "y": 750, + "x": 10420, + "y": 2610, "width": 400, "height": 180, "isBold": false, @@ -18298,8 +40852,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllOtpTokenByFilterRequest", - "x": 6530, - "y": 560, + "x": 10630, + "y": 2360, "width": 400, "height": 137, "isBold": false, @@ -18314,8 +40868,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllOtpTokenByFilterFilter", - "x": 6980, - "y": 520, + "x": 11080, + "y": 2320, "width": 400, "height": 213, "isBold": false, @@ -18330,8 +40884,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllOtpTokenByFilterResponse", - "x": 6080, - "y": 380, + "x": 10180, + "y": 2180, "width": 400, "height": 118, "isBold": false, @@ -18346,8 +40900,8 @@ "type": "table", "schemaName": "CMS", "tableName": "GetAllOtpTokenByFilterResponseModel", - "x": 6080, - "y": 120, + "x": 10180, + "y": 1920, "width": 400, "height": 213, "isBold": false, @@ -18362,8 +40916,8 @@ "type": "table", "schemaName": "CMS", "tableName": "VerifyOtpTokenRequest", - "x": 5630, - "y": 540, + "x": 9730, + "y": 2340, "width": 400, "height": 160, "isBold": false, @@ -18378,8 +40932,8 @@ "type": "table", "schemaName": "CMS", "tableName": "VerifyOtpTokenResponse", - "x": 5820, - "y": 810, + "x": 9910, + "y": 2550, "width": 400, "height": 180, "isBold": false, @@ -18394,10 +40948,10 @@ "type": "table", "schemaName": "CMS", "tableName": "GetJwtTokenRequest", - "x": 3090, - "y": 3260, + "x": 8370, + "y": 5970, "width": 400, - "height": 100, + "height": 106, "isBold": false, "titleColor": { "r": 255, @@ -18410,10 +40964,10 @@ "type": "table", "schemaName": "CMS", "tableName": "GetJwtTokenResponse", - "x": 2930, - "y": 3110, + "x": 7860, + "y": 5950, "width": 400, - "height": 100, + "height": 106, "isBold": false, "titleColor": { "r": 200, @@ -18426,10 +40980,1626 @@ "type": "table", "schemaName": "CMS", "tableName": "SetAddressAsDefaultRequest", - "x": 3860, - "y": 2460, + "x": 7350, + "y": 5070, "width": 400, - "height": 100, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UserWallet", + "x": 18930, + "y": 8790, + "width": 310, + "height": 220, + "isBold": false, + "titleColor": { + "r": 55, + "g": 131, + "b": 192, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UserWalletChangeLog", + "x": 19290, + "y": 8790, + "width": 310, + "height": 220, + "isBold": false, + "titleColor": { + "r": 55, + "g": 131, + "b": 192, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "Transactions", + "x": 17310, + "y": 8540, + "width": 310, + "height": 574, + "isBold": false, + "titleColor": { + "r": 55, + "g": 131, + "b": 192, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UserCarts", + "x": 18540, + "y": 8410, + "width": 310, + "height": 220, + "isBold": false, + "titleColor": { + "r": 55, + "g": 131, + "b": 192, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "FactorDetails", + "x": 17890, + "y": 8040, + "width": 310, + "height": 290, + "isBold": false, + "titleColor": { + "r": 55, + "g": 131, + "b": 192, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "Products", + "x": 18540, + "y": 8000, + "width": 310, + "height": 358, + "isBold": false, + "titleColor": { + "r": 55, + "g": 131, + "b": 192, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "ProductImages", + "x": 18540, + "y": 7190, + "width": 310, + "height": 358, + "isBold": false, + "titleColor": { + "r": 55, + "g": 131, + "b": 192, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "ProductGallerys", + "x": 18540, + "y": 7600, + "width": 310, + "height": 358, + "isBold": false, + "titleColor": { + "r": 55, + "g": 131, + "b": 192, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "PaymentStatus", + "x": 17490, + "y": 6810, + "width": 310, + "height": 170, + "isBold": false, + "titleColor": { + "r": 190, + "g": 220, + "b": 255, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "TransactionType", + "x": 16950, + "y": 8700, + "width": 310, + "height": 170, + "isBold": false, + "titleColor": { + "r": 190, + "g": 220, + "b": 255, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UserWalletService", + "x": 1840, + "y": 7320, + "width": 400, + "height": 175, + "isBold": false, + "titleColor": { + "r": 0, + "g": 0, + "b": 0, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewUserWalletRequest", + "x": 3260, + "y": 6910, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewUserWalletResponse", + "x": 2070, + "y": 6820, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UpdateUserWalletRequest", + "x": 1710, + "y": 6630, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "DeleteUserWalletRequest", + "x": 1330, + "y": 7360, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetUserWalletRequest", + "x": 1840, + "y": 7550, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetUserWalletResponse", + "x": 2420, + "y": 7420, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserWalletByFilterRequest", + "x": 2420, + "y": 7230, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserWalletByFilterFilter", + "x": 2930, + "y": 7230, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserWalletByFilterResponse", + "x": 2360, + "y": 7050, + "width": 400, + "height": 118, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserWalletByFilterResponseModel", + "x": 2810, + "y": 7040, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UserWalletChangeLogService", + "x": 3100, + "y": 10070, + "width": 400, + "height": 175, + "isBold": false, + "titleColor": { + "r": 0, + "g": 0, + "b": 0, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewUserWalletChangeLogRequest", + "x": 3260, + "y": 8430, + "width": 400, + "height": 194, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewUserWalletChangeLogResponse", + "x": 2810, + "y": 8580, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UpdateUserWalletChangeLogRequest", + "x": 2650, + "y": 10060, + "width": 400, + "height": 194, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "DeleteUserWalletChangeLogRequest", + "x": 3100, + "y": 10300, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetUserWalletChangeLogRequest", + "x": 3550, + "y": 10100, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetUserWalletChangeLogResponse", + "x": 3430, + "y": 9770, + "width": 400, + "height": 194, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserWalletChangeLogByFilterRequest", + "x": 3350, + "y": 9520, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserWalletChangeLogByFilterFilter", + "x": 3350, + "y": 9270, + "width": 400, + "height": 194, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserWalletChangeLogByFilterResponse", + "x": 3270, + "y": 9040, + "width": 400, + "height": 118, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserWalletChangeLogByFilterResponseModel", + "x": 3270, + "y": 8790, + "width": 400, + "height": 194, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UserCartsService", + "x": 14510, + "y": 8340, + "width": 400, + "height": 175, + "isBold": false, + "titleColor": { + "r": 0, + "g": 0, + "b": 0, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewUserCartsRequest", + "x": 12860, + "y": 8450, + "width": 400, + "height": 156, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewUserCartsResponse", + "x": 13370, + "y": 8450, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UpdateUserCartsRequest", + "x": 14510, + "y": 8570, + "width": 400, + "height": 156, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "DeleteUserCartsRequest", + "x": 15020, + "y": 8380, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetUserCartsRequest", + "x": 14510, + "y": 8190, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetUserCartsResponse", + "x": 14000, + "y": 8190, + "width": 400, + "height": 156, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserCartsByFilterRequest", + "x": 13430, + "y": 8010, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserCartsByFilterFilter", + "x": 12980, + "y": 7980, + "width": 400, + "height": 156, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserCartsByFilterResponse", + "x": 13430, + "y": 8210, + "width": 400, + "height": 118, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserCartsByFilterResponseModel", + "x": 12980, + "y": 8180, + "width": 400, + "height": 156, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "ProductGallerysService", + "x": 9700, + "y": 250, + "width": 400, + "height": 175, + "isBold": false, + "titleColor": { + "r": 0, + "g": 0, + "b": 0, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewProductGallerysRequest", + "x": 9730, + "y": 1800, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewProductGallerysResponse", + "x": 9990, + "y": 1640, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UpdateProductGallerysRequest", + "x": 10150, + "y": 270, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "DeleteProductGallerysRequest", + "x": 9700, + "y": 30, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetProductGallerysRequest", + "x": 9250, + "y": 280, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetProductGallerysResponse", + "x": 9370, + "y": 540, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllProductGallerysByFilterRequest", + "x": 9440, + "y": 780, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllProductGallerysByFilterFilter", + "x": 9440, + "y": 970, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllProductGallerysByFilterResponse", + "x": 9520, + "y": 1220, + "width": 400, + "height": 118, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllProductGallerysByFilterResponseModel", + "x": 9520, + "y": 1390, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "FactorDetailsService", + "x": 540, + "y": 11160, + "width": 400, + "height": 175, + "isBold": false, + "titleColor": { + "r": 0, + "g": 0, + "b": 0, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewFactorDetailsRequest", + "x": 1220, + "y": 10110, + "width": 400, + "height": 232, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewFactorDetailsResponse", + "x": 760, + "y": 10070, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UpdateFactorDetailsRequest", + "x": 410, + "y": 9790, + "width": 400, + "height": 232, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "DeleteFactorDetailsRequest", + "x": 30, + "y": 11190, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetFactorDetailsRequest", + "x": 540, + "y": 11380, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetFactorDetailsResponse", + "x": 1110, + "y": 11240, + "width": 400, + "height": 232, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllFactorDetailsByFilterRequest", + "x": 1110, + "y": 11060, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllFactorDetailsByFilterFilter", + "x": 1570, + "y": 11050, + "width": 400, + "height": 232, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllFactorDetailsByFilterResponse", + "x": 1050, + "y": 10890, + "width": 400, + "height": 118, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllFactorDetailsByFilterResponseModel", + "x": 1510, + "y": 10770, + "width": 400, + "height": 232, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "ProductsService", + "x": 21990, + "y": 10880, + "width": 400, + "height": 175, + "isBold": false, + "titleColor": { + "r": 0, + "g": 0, + "b": 0, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewProductsRequest", + "x": 1220, + "y": 10390, + "width": 400, + "height": 327, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewProductsResponse", + "x": 21660, + "y": 10650, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UpdateProductsRequest", + "x": 21540, + "y": 10810, + "width": 400, + "height": 327, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "DeleteProductsRequest", + "x": 21990, + "y": 11170, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetProductsRequest", + "x": 22440, + "y": 10910, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetProductsResponse", + "x": 22280, + "y": 9540, + "width": 400, + "height": 327, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllProductsByFilterRequest", + "x": 21830, + "y": 9730, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllProductsByFilterFilter", + "x": 21830, + "y": 9350, + "width": 400, + "height": 327, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllProductsByFilterResponse", + "x": 21810, + "y": 10360, + "width": 400, + "height": 118, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllProductsByFilterResponseModel", + "x": 21810, + "y": 9980, + "width": 400, + "height": 327, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "ProductImagesService", + "x": 20850, + "y": 10160, + "width": 400, + "height": 175, + "isBold": false, + "titleColor": { + "r": 0, + "g": 0, + "b": 0, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewProductImagesRequest", + "x": 15520, + "y": 10380, + "width": 400, + "height": 156, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewProductImagesResponse", + "x": 19710, + "y": 10260, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UpdateProductImagesRequest", + "x": 20850, + "y": 10380, + "width": 400, + "height": 156, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "DeleteProductImagesRequest", + "x": 21360, + "y": 10190, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetProductImagesRequest", + "x": 20850, + "y": 10000, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetProductImagesResponse", + "x": 20340, + "y": 9990, + "width": 400, + "height": 156, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllProductImagesByFilterRequest", + "x": 19830, + "y": 5620, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllProductImagesByFilterFilter", + "x": 19380, + "y": 5600, + "width": 400, + "height": 156, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllProductImagesByFilterResponse", + "x": 19770, + "y": 5810, + "width": 400, + "height": 118, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllProductImagesByFilterResponseModel", + "x": 19320, + "y": 5810, + "width": 400, + "height": 156, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "TransactionsService", + "x": 15420, + "y": 9560, + "width": 400, + "height": 175, + "isBold": false, + "titleColor": { + "r": 0, + "g": 0, + "b": 0, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewTransactionsRequest", + "x": 16380, + "y": 6870, + "width": 400, + "height": 498, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewTransactionsResponse", + "x": 15420, + "y": 9790, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UpdateTransactionsRequest", + "x": 16900, + "y": 9650, + "width": 400, + "height": 498, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "DeleteTransactionsRequest", + "x": 15280, + "y": 5880, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetTransactionsRequest", + "x": 14910, + "y": 9590, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetTransactionsResponse", + "x": 15930, + "y": 6750, + "width": 400, + "height": 498, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllTransactionsByFilterRequest", + "x": 15740, + "y": 6300, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllTransactionsByFilterFilter", + "x": 16910, + "y": 6090, + "width": 400, + "height": 543, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllTransactionsByFilterResponse", + "x": 19770, + "y": 5980, + "width": 400, + "height": 118, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllTransactionsByFilterResponseModel", + "x": 19770, + "y": 6500, + "width": 400, + "height": 498, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "AdminGetJwtTokenRequest", + "x": 7350, + "y": 5900, + "width": 400, + "height": 128, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "AdminGetJwtTokenResponse", + "x": 6840, + "y": 5890, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "SetPasswordForUserRequest", + "x": 6650, + "y": 5690, + "width": 400, + "height": 155, "isBold": false, "titleColor": { "r": 255, @@ -18442,10 +42612,10 @@ "layers": [ { "name": "Domain", - "x": 4490, - "y": 1040, - "width": 1530, - "height": 1151, + "x": 16840, + "y": 6690, + "width": 2812, + "height": 2901, "layerColor": { "r": 100, "g": 234, @@ -18471,31 +42641,31 @@ "visible": true, "vertices": [ { - "x": 5985, - "y": 1750 + "x": 18895, + "y": 9090 }, { - "x": 6000, - "y": 1750 + "x": 18910, + "y": 9090 }, { - "x": 6000, - "y": 1810 + "x": 18910, + "y": 9150 }, { - "x": 5940, - "y": 1810 + "x": 18850, + "y": 9150 }, { - "x": 5940, - "y": 1795 + "x": 18850, + "y": 9130 } ], "label": { - "x": 5975, - "y": 1712, + "x": 18885, + "y": 9052, "width": 104, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -18517,19 +42687,19 @@ "visible": true, "vertices": [ { - "x": 5780, - "y": 1335 + "x": 18415, + "y": 8750 }, { - "x": 5780, - "y": 1365 + "x": 18495, + "y": 8750 } ], "label": { - "x": 5625, - "y": 1285, + "x": 18248, + "y": 8712, "width": 157, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -18551,19 +42721,19 @@ "visible": true, "vertices": [ { - "x": 5780, - "y": 1975 + "x": 18690, + "y": 9315 }, { - "x": 5780, - "y": 1995 + "x": 18690, + "y": 9335 } ], "label": { - "x": 5788, - "y": 1965, + "x": 18698, + "y": 9305, "width": 135, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -18585,19 +42755,19 @@ "visible": true, "vertices": [ { - "x": 5780, - "y": 1815 + "x": 18690, + "y": 9155 }, { - "x": 5780, - "y": 1795 + "x": 18690, + "y": 9130 } ], "label": { - "x": 5648, - "y": 1785, + "x": 18558, + "y": 9125, "width": 134, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -18619,19 +42789,19 @@ "visible": true, "vertices": [ { - "x": 5255, - "y": 1210 + "x": 17820, + "y": 8980 }, { - "x": 5235, - "y": 1210 + "x": 17820, + "y": 9005 } ], "label": { - "x": 5097, - "y": 1172, + "x": 17654, + "y": 8930, "width": 168, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -18653,23 +42823,19 @@ "visible": true, "vertices": [ { - "x": 5420, - "y": 1345 + "x": 17995, + "y": 8910 }, { - "x": 5420, - "y": 1580 - }, - { - "x": 5585, - "y": 1580 + "x": 18495, + "y": 8910 } ], "label": { - "x": 5280, - "y": 1295, + "x": 17843, + "y": 8872, "width": 142, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -18691,23 +42857,23 @@ "visible": true, "vertices": [ { - "x": 2760, - "y": 3365 + "x": 6490, + "y": 5995 }, { - "x": 2760, - "y": 2410 + "x": 6490, + "y": 5500 }, { - "x": 2805, - "y": 2410 + "x": 6535, + "y": 5500 } ], "label": { - "x": 2768, - "y": 3375, + "x": 6498, + "y": 6005, "width": 278, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -18729,19 +42895,19 @@ "visible": true, "vertices": [ { - "x": 2650, - "y": 3365 + "x": 6390, + "y": 5995 }, { - "x": 2650, - "y": 2245 + "x": 6390, + "y": 5331 } ], "label": { - "x": 2658, - "y": 3345, + "x": 6398, + "y": 5975, "width": 288, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -18763,19 +42929,19 @@ "visible": true, "vertices": [ { - "x": 2565, - "y": 3470 + "x": 6315, + "y": 6150 }, { - "x": 2485, - "y": 3470 + "x": 6235, + "y": 6150 } ], "label": { - "x": 2581, - "y": 3472, + "x": 6331, + "y": 6152, "width": 254, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -18797,19 +42963,19 @@ "visible": true, "vertices": [ { - "x": 2780, - "y": 3585 + "x": 6530, + "y": 6309 }, { - "x": 2780, - "y": 3605 + "x": 6530, + "y": 6325 } ], "label": { - "x": 2788, - "y": 3545, + "x": 6538, + "y": 6269, "width": 249, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -18831,19 +42997,19 @@ "visible": true, "vertices": [ { - "x": 2995, - "y": 3550 + "x": 6745, + "y": 6270 }, { - "x": 4605, - "y": 3550 + "x": 9895, + "y": 6270 } ], "label": { - "x": 2991, - "y": 3522, + "x": 6741, + "y": 6242, "width": 228, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -18865,27 +43031,27 @@ "visible": true, "vertices": [ { - "x": 2995, - "y": 3470 + "x": 6745, + "y": 6250 }, { - "x": 4560, - "y": 3470 + "x": 9850, + "y": 6250 }, { - "x": 4560, - "y": 3380 + "x": 9850, + "y": 6110 }, { - "x": 4605, - "y": 3380 + "x": 9895, + "y": 6110 } ], "label": { - "x": 2991, - "y": 3472, + "x": 6741, + "y": 6252, "width": 238, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -18907,27 +43073,27 @@ "visible": true, "vertices": [ { - "x": 2995, - "y": 3440 + "x": 6745, + "y": 6160 }, { - "x": 3600, - "y": 3440 + "x": 8890, + "y": 6160 }, { - "x": 3600, - "y": 3350 + "x": 8890, + "y": 6130 }, { - "x": 4035, - "y": 3350 + "x": 9315, + "y": 6130 } ], "label": { - "x": 2991, - "y": 3442, + "x": 6741, + "y": 6162, "width": 295, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -18949,27 +43115,27 @@ "visible": true, "vertices": [ { - "x": 2995, - "y": 3420 + "x": 6745, + "y": 6130 }, { - "x": 3540, - "y": 3420 + "x": 8830, + "y": 6130 }, { - "x": 3540, - "y": 3160 + "x": 8830, + "y": 5950 }, { - "x": 3585, - "y": 3160 + "x": 8865, + "y": 5950 } ], "label": { - "x": 2991, - "y": 3422, + "x": 6741, + "y": 6132, "width": 305, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -18991,27 +43157,27 @@ "visible": true, "vertices": [ { - "x": 4465, - "y": 3340 + "x": 9745, + "y": 6120 }, { - "x": 4500, - "y": 3340 + "x": 9790, + "y": 6120 }, { - "x": 4500, - "y": 2980 + "x": 9790, + "y": 5710 }, { - "x": 4545, - "y": 2980 + "x": 9835, + "y": 5710 } ], "label": { - "x": 4461, - "y": 3342, + "x": 9741, + "y": 6122, "width": 357, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19033,19 +43199,19 @@ "visible": true, "vertices": [ { - "x": 4015, - "y": 3160 + "x": 9295, + "y": 5940 }, { - "x": 4035, - "y": 3160 + "x": 9315, + "y": 5940 } ], "label": { - "x": 4011, - "y": 3162, + "x": 9291, + "y": 5942, "width": 442, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19067,27 +43233,27 @@ "visible": true, "vertices": [ { - "x": 5095, - "y": 2610 + "x": 8475, + "y": 5230 }, { - "x": 3410, - "y": 2610 + "x": 7290, + "y": 5230 }, { - "x": 3410, - "y": 2150 + "x": 7290, + "y": 5100 }, { - "x": 3375, - "y": 2150 + "x": 7115, + "y": 5100 } ], "label": { - "x": 5111, - "y": 2612, + "x": 8491, + "y": 5232, "width": 384, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19109,19 +43275,19 @@ "visible": true, "vertices": [ { - "x": 5095, - "y": 2640 + "x": 8475, + "y": 5260 }, { - "x": 3375, - "y": 2640 + "x": 7255, + "y": 5260 } ], "label": { - "x": 5111, - "y": 2612, + "x": 8491, + "y": 5232, "width": 394, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19143,19 +43309,19 @@ "visible": true, "vertices": [ { - "x": 5310, - "y": 2675 + "x": 8690, + "y": 5295 }, { - "x": 5310, - "y": 2705 + "x": 8690, + "y": 5315 } ], "label": { - "x": 5318, - "y": 2665, + "x": 8698, + "y": 5285, "width": 360, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19177,23 +43343,19 @@ "visible": true, "vertices": [ { - "x": 5310, - "y": 2445 + "x": 8905, + "y": 5180 }, { - "x": 5310, - "y": 2410 - }, - { - "x": 5545, - "y": 2410 + "x": 8985, + "y": 5180 } ], "label": { - "x": 5318, - "y": 2425, + "x": 8901, + "y": 5152, "width": 355, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19215,19 +43377,19 @@ "visible": true, "vertices": [ { - "x": 5200, - "y": 2445 + "x": 8690, + "y": 5065 }, { - "x": 5200, - "y": 2365 + "x": 8690, + "y": 5051 } ], "label": { - "x": 5208, - "y": 2425, + "x": 8698, + "y": 5045, "width": 334, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19249,27 +43411,27 @@ "visible": true, "vertices": [ { - "x": 5095, - "y": 2480 + "x": 8475, + "y": 5100 }, { - "x": 4940, - "y": 2480 + "x": 8440, + "y": 5100 }, { - "x": 4940, - "y": 2390 + "x": 8440, + "y": 5020 }, { - "x": 4905, - "y": 2390 + "x": 8395, + "y": 5020 } ], "label": { - "x": 5111, - "y": 2482, + "x": 8491, + "y": 5102, "width": 344, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19291,27 +43453,27 @@ "visible": true, "vertices": [ { - "x": 5095, - "y": 2510 + "x": 8475, + "y": 5130 }, { - "x": 4430, - "y": 2510 + "x": 7920, + "y": 5130 }, { - "x": 4430, - "y": 2080 + "x": 7920, + "y": 4580 }, { - "x": 4395, - "y": 2080 + "x": 7825, + "y": 4580 } ], "label": { - "x": 5111, - "y": 2512, + "x": 8491, + "y": 5132, "width": 401, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19333,27 +43495,27 @@ "visible": true, "vertices": [ { - "x": 5095, - "y": 2540 + "x": 8475, + "y": 5160 }, { - "x": 4370, - "y": 2540 + "x": 7860, + "y": 5160 }, { - "x": 4370, - "y": 2340 + "x": 7860, + "y": 4840 }, { - "x": 4335, - "y": 2340 + "x": 7825, + "y": 4840 } ], "label": { - "x": 5111, - "y": 2542, + "x": 8491, + "y": 5162, "width": 411, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19375,19 +43537,19 @@ "visible": true, "vertices": [ { - "x": 3965, - "y": 2080 + "x": 7395, + "y": 4570 }, { - "x": 3885, - "y": 2080 + "x": 7375, + "y": 4570 } ], "label": { - "x": 3981, - "y": 2082, + "x": 7411, + "y": 4572, "width": 463, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19409,19 +43571,19 @@ "visible": true, "vertices": [ { - "x": 3905, - "y": 2340 + "x": 7395, + "y": 4830 }, { - "x": 3885, - "y": 2340 + "x": 7375, + "y": 4830 } ], "label": { - "x": 3921, - "y": 2342, + "x": 7411, + "y": 4832, "width": 548, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19443,27 +43605,27 @@ "visible": true, "vertices": [ { - "x": 2510, - "y": 430 + "x": 6430, + "y": 3360 }, { - "x": 2510, - "y": 1680 + "x": 6430, + "y": 4620 }, { - "x": 2470, - "y": 1680 + "x": 6390, + "y": 4620 }, { - "x": 2470, - "y": 1875 + "x": 6390, + "y": 4815 } ], "label": { - "x": 2518, - "y": 420, + "x": 6438, + "y": 3350, "width": 330, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19485,19 +43647,19 @@ "visible": true, "vertices": [ { - "x": 2590, - "y": 430 + "x": 6510, + "y": 3360 }, { - "x": 2590, - "y": 1725 + "x": 6510, + "y": 4655 } ], "label": { - "x": 2598, - "y": 390, + "x": 6518, + "y": 3320, "width": 340, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19519,19 +43681,19 @@ "visible": true, "vertices": [ { - "x": 2655, - "y": 330 + "x": 6575, + "y": 3250 }, { - "x": 2675, - "y": 330 + "x": 6595, + "y": 3250 } ], "label": { - "x": 2651, - "y": 332, + "x": 6571, + "y": 3252, "width": 306, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19553,19 +43715,19 @@ "visible": true, "vertices": [ { - "x": 2440, - "y": 225 + "x": 6360, + "y": 3155 }, { - "x": 2440, - "y": 145 + "x": 6360, + "y": 3071 } ], "label": { - "x": 2448, - "y": 205, + "x": 6368, + "y": 3135, "width": 301, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19587,19 +43749,19 @@ "visible": true, "vertices": [ { - "x": 2225, - "y": 330 + "x": 6145, + "y": 3250 }, { - "x": 2205, - "y": 330 + "x": 6125, + "y": 3250 } ], "label": { - "x": 2241, - "y": 302, + "x": 6161, + "y": 3222, "width": 280, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19621,27 +43783,27 @@ "visible": true, "vertices": [ { - "x": 2290, - "y": 430 + "x": 6210, + "y": 3360 }, { - "x": 2290, - "y": 470 + "x": 6210, + "y": 3400 }, { - "x": 2240, - "y": 470 + "x": 6170, + "y": 3400 }, { - "x": 2240, - "y": 515 + "x": 6170, + "y": 3445 } ], "label": { - "x": 2298, - "y": 420, + "x": 6218, + "y": 3350, "width": 290, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19663,27 +43825,27 @@ "visible": true, "vertices": [ { - "x": 2360, - "y": 430 + "x": 6280, + "y": 3360 }, { - "x": 2360, - "y": 760 + "x": 6280, + "y": 3690 }, { - "x": 2310, - "y": 760 + "x": 6240, + "y": 3690 }, { - "x": 2310, - "y": 795 + "x": 6240, + "y": 3725 } ], "label": { - "x": 2368, - "y": 420, + "x": 6288, + "y": 3350, "width": 347, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19705,27 +43867,27 @@ "visible": true, "vertices": [ { - "x": 2440, - "y": 430 + "x": 6360, + "y": 3360 }, { - "x": 2440, - "y": 1230 + "x": 6360, + "y": 4160 }, { - "x": 2390, - "y": 1230 + "x": 6320, + "y": 4160 }, { - "x": 2390, - "y": 1265 + "x": 6320, + "y": 4205 } ], "label": { - "x": 2448, - "y": 420, + "x": 6368, + "y": 3350, "width": 357, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19747,19 +43909,19 @@ "visible": true, "vertices": [ { - "x": 2180, - "y": 962 + "x": 6100, + "y": 3892 }, { - "x": 2180, - "y": 985 + "x": 6100, + "y": 3915 } ], "label": { - "x": 2188, - "y": 952, + "x": 6108, + "y": 3882, "width": 409, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19781,19 +43943,19 @@ "visible": true, "vertices": [ { - "x": 2260, - "y": 1413 + "x": 6180, + "y": 4353 }, { - "x": 2260, - "y": 1435 + "x": 6180, + "y": 4375 } ], "label": { - "x": 2268, - "y": 1403, + "x": 6188, + "y": 4343, "width": 494, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19815,23 +43977,23 @@ "visible": true, "vertices": [ { - "x": 830, - "y": 2675 + "x": 4290, + "y": 7055 }, { - "x": 830, - "y": 2140 + "x": 4290, + "y": 6460 }, { - "x": 1805, - "y": 2140 + "x": 5685, + "y": 6460 } ], "label": { - "x": 838, - "y": 2685, + "x": 4298, + "y": 7065, "width": 354, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19853,23 +44015,23 @@ "visible": true, "vertices": [ { - "x": 720, - "y": 2675 + "x": 4190, + "y": 7055 }, { - "x": 720, - "y": 2030 + "x": 4190, + "y": 6350 }, { - "x": 765, - "y": 2030 + "x": 4235, + "y": 6350 } ], "label": { - "x": 728, - "y": 2655, + "x": 4198, + "y": 7035, "width": 364, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19891,19 +44053,19 @@ "visible": true, "vertices": [ { - "x": 610, - "y": 2675 + "x": 4090, + "y": 7055 }, { - "x": 610, - "y": 1945 + "x": 4090, + "y": 6265 } ], "label": { - "x": 618, - "y": 2685, + "x": 4098, + "y": 7065, "width": 330, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19925,19 +44087,19 @@ "visible": true, "vertices": [ { - "x": 525, - "y": 2780 + "x": 4015, + "y": 7150 }, { - "x": 445, - "y": 2780 + "x": 3935, + "y": 7150 } ], "label": { - "x": 541, - "y": 2752, + "x": 4031, + "y": 7122, "width": 325, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19959,19 +44121,19 @@ "visible": true, "vertices": [ { - "x": 740, - "y": 2880 + "x": 4230, + "y": 7260 }, { - "x": 740, - "y": 2905 + "x": 4230, + "y": 7275 } ], "label": { - "x": 748, - "y": 2840, + "x": 4238, + "y": 7220, "width": 304, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -19993,19 +44155,19 @@ "visible": true, "vertices": [ { - "x": 955, - "y": 2850 + "x": 4445, + "y": 7220 }, { - "x": 1095, - "y": 2850 + "x": 4585, + "y": 7220 } ], "label": { - "x": 951, - "y": 2852, + "x": 4441, + "y": 7222, "width": 314, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20027,27 +44189,27 @@ "visible": true, "vertices": [ { - "x": 955, - "y": 2750 + "x": 4445, + "y": 7120 }, { - "x": 1060, - "y": 2750 + "x": 4540, + "y": 7120 }, { - "x": 1060, - "y": 2660 + "x": 4540, + "y": 7040 }, { - "x": 1095, - "y": 2660 + "x": 4585, + "y": 7040 } ], "label": { - "x": 951, - "y": 2752, + "x": 4441, + "y": 7122, "width": 371, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20069,27 +44231,27 @@ "visible": true, "vertices": [ { - "x": 955, - "y": 2720 + "x": 4445, + "y": 7090 }, { - "x": 1000, - "y": 2720 + "x": 4480, + "y": 7090 }, { - "x": 1000, - "y": 2470 + "x": 4480, + "y": 6860 }, { - "x": 1035, - "y": 2470 + "x": 4525, + "y": 6860 } ], "label": { - "x": 951, - "y": 2722, + "x": 4441, + "y": 7092, "width": 381, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20111,19 +44273,19 @@ "visible": true, "vertices": [ { - "x": 1525, - "y": 2660 + "x": 5015, + "y": 7040 }, { - "x": 1545, - "y": 2660 + "x": 5095, + "y": 7040 } ], "label": { - "x": 1521, - "y": 2662, + "x": 5011, + "y": 7042, "width": 433, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20145,19 +44307,19 @@ "visible": true, "vertices": [ { - "x": 1465, - "y": 2470 + "x": 4955, + "y": 6850 }, { - "x": 1485, - "y": 2470 + "x": 4975, + "y": 6850 } ], "label": { - "x": 1461, - "y": 2472, + "x": 4951, + "y": 6852, "width": 518, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20179,27 +44341,27 @@ "visible": true, "vertices": [ { - "x": 1770, - "y": 4715 + "x": 5860, + "y": 8125 }, { - "x": 1770, - "y": 3950 + "x": 5860, + "y": 6970 }, { - "x": 1880, - "y": 3950 + "x": 5900, + "y": 6970 }, { - "x": 1880, - "y": 3852 + "x": 5900, + "y": 6772 } ], "label": { - "x": 1778, - "y": 4725, + "x": 5868, + "y": 8135, "width": 280, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20221,19 +44383,19 @@ "visible": true, "vertices": [ { - "x": 1690, - "y": 4715 + "x": 5780, + "y": 8125 }, { - "x": 1690, - "y": 3915 + "x": 5780, + "y": 6931 } ], "label": { - "x": 1698, - "y": 4695, + "x": 5788, + "y": 8105, "width": 290, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20255,19 +44417,19 @@ "visible": true, "vertices": [ { - "x": 1635, - "y": 4820 + "x": 5715, + "y": 8220 }, { - "x": 1615, - "y": 4820 + "x": 5695, + "y": 8220 } ], "label": { - "x": 1651, - "y": 4822, + "x": 5731, + "y": 8222, "width": 256, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20289,19 +44451,19 @@ "visible": true, "vertices": [ { - "x": 1850, - "y": 4920 + "x": 5930, + "y": 8330 }, { - "x": 1850, - "y": 4945 + "x": 5930, + "y": 8345 } ], "label": { - "x": 1858, - "y": 4880, + "x": 5938, + "y": 8290, "width": 251, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20323,19 +44485,19 @@ "visible": true, "vertices": [ { - "x": 2065, - "y": 4820 + "x": 6145, + "y": 8220 }, { - "x": 2085, - "y": 4820 + "x": 6165, + "y": 8220 } ], "label": { - "x": 2061, - "y": 4792, + "x": 6141, + "y": 8192, "width": 230, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20357,27 +44519,27 @@ "visible": true, "vertices": [ { - "x": 2000, - "y": 4715 + "x": 6080, + "y": 8125 }, { - "x": 2000, - "y": 4680 + "x": 6080, + "y": 8080 }, { - "x": 2050, - "y": 4680 + "x": 6120, + "y": 8080 }, { - "x": 2050, - "y": 4642 + "x": 6120, + "y": 8042 } ], "label": { - "x": 2008, - "y": 4725, + "x": 6088, + "y": 8135, "width": 240, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20399,27 +44561,27 @@ "visible": true, "vertices": [ { - "x": 1920, - "y": 4715 + "x": 6010, + "y": 8125 }, { - "x": 1920, - "y": 4430 + "x": 6010, + "y": 7830 }, { - "x": 2350, - "y": 4430 + "x": 6050, + "y": 7830 }, { - "x": 2350, - "y": 4332 + "x": 6050, + "y": 7792 } ], "label": { - "x": 1928, - "y": 4725, + "x": 6018, + "y": 8135, "width": 297, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20441,27 +44603,27 @@ "visible": true, "vertices": [ { - "x": 1850, - "y": 4715 + "x": 5930, + "y": 8125 }, { - "x": 1850, - "y": 4370 + "x": 5930, + "y": 7390 }, { - "x": 1900, - "y": 4370 + "x": 5970, + "y": 7390 }, { - "x": 1900, - "y": 4333 + "x": 5970, + "y": 7353 } ], "label": { - "x": 1858, - "y": 4725, + "x": 5938, + "y": 8135, "width": 307, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20483,19 +44645,19 @@ "visible": true, "vertices": [ { - "x": 2470, - "y": 4165 + "x": 6190, + "y": 7625 }, { - "x": 2470, - "y": 4142 + "x": 6190, + "y": 7602 } ], "label": { - "x": 2478, - "y": 4175, + "x": 6198, + "y": 7635, "width": 359, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20517,19 +44679,19 @@ "visible": true, "vertices": [ { - "x": 2020, - "y": 4185 + "x": 6110, + "y": 7205 }, { - "x": 2020, - "y": 4162 + "x": 6110, + "y": 7182 } ], "label": { - "x": 2028, - "y": 4195, + "x": 6118, + "y": 7215, "width": 444, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20551,31 +44713,31 @@ "visible": true, "vertices": [ { - "x": 8745, - "y": 3720 + "x": 11935, + "y": 6640 }, { - "x": 7180, - "y": 3720 + "x": 11260, + "y": 6640 }, { - "x": 7180, - "y": 3650 + "x": 11260, + "y": 6570 }, { - "x": 6390, - "y": 3650 + "x": 10460, + "y": 6570 }, { - "x": 6390, - "y": 3685 + "x": 10460, + "y": 6605 } ], "label": { - "x": 8761, - "y": 3722, + "x": 11951, + "y": 6642, "width": 338, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20597,19 +44759,19 @@ "visible": true, "vertices": [ { - "x": 8745, - "y": 3750 + "x": 11935, + "y": 6670 }, { - "x": 7135, - "y": 3750 + "x": 11225, + "y": 6670 } ], "label": { - "x": 8761, - "y": 3722, + "x": 11951, + "y": 6642, "width": 348, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20631,19 +44793,19 @@ "visible": true, "vertices": [ { - "x": 8960, - "y": 3790 + "x": 12160, + "y": 6710 }, { - "x": 8960, - "y": 3805 + "x": 12160, + "y": 6725 } ], "label": { - "x": 8968, - "y": 3780, + "x": 12168, + "y": 6700, "width": 314, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20665,19 +44827,19 @@ "visible": true, "vertices": [ { - "x": 9175, - "y": 3680 + "x": 12365, + "y": 6610 }, { - "x": 9255, - "y": 3680 + "x": 12455, + "y": 6610 } ], "label": { - "x": 9171, - "y": 3652, + "x": 12361, + "y": 6582, "width": 309, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20699,19 +44861,19 @@ "visible": true, "vertices": [ { - "x": 8960, - "y": 3585 + "x": 12160, + "y": 6505 }, { - "x": 8960, - "y": 3565 + "x": 12160, + "y": 6481 } ], "label": { - "x": 8968, - "y": 3565, + "x": 12168, + "y": 6485, "width": 288, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20733,27 +44895,27 @@ "visible": true, "vertices": [ { - "x": 8745, - "y": 3620 + "x": 11935, + "y": 6540 }, { - "x": 8710, - "y": 3620 + "x": 11900, + "y": 6540 }, { - "x": 8710, - "y": 3540 + "x": 11900, + "y": 6450 }, { - "x": 8665, - "y": 3540 + "x": 11855, + "y": 6450 } ], "label": { - "x": 8761, - "y": 3622, + "x": 11951, + "y": 6542, "width": 298, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20775,27 +44937,27 @@ "visible": true, "vertices": [ { - "x": 8745, - "y": 3660 + "x": 11935, + "y": 6570 }, { - "x": 8200, - "y": 3660 + "x": 11390, + "y": 6570 }, { - "x": 8200, - "y": 3570 + "x": 11390, + "y": 6270 }, { - "x": 8155, - "y": 3570 + "x": 11285, + "y": 6270 } ], "label": { - "x": 8761, - "y": 3662, + "x": 11951, + "y": 6572, "width": 355, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20817,27 +44979,27 @@ "visible": true, "vertices": [ { - "x": 8745, - "y": 3690 + "x": 11935, + "y": 6600 }, { - "x": 7240, - "y": 3690 + "x": 11330, + "y": 6600 }, { - "x": 7240, - "y": 3530 + "x": 11330, + "y": 6450 }, { - "x": 7195, - "y": 3530 + "x": 11285, + "y": 6450 } ], "label": { - "x": 8761, - "y": 3692, + "x": 11951, + "y": 6602, "width": 365, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20859,19 +45021,19 @@ "visible": true, "vertices": [ { - "x": 7725, - "y": 3560 + "x": 10855, + "y": 6260 }, { - "x": 7705, - "y": 3560 + "x": 10835, + "y": 6260 } ], "label": { - "x": 7741, - "y": 3562, + "x": 10871, + "y": 6262, "width": 417, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20893,19 +45055,19 @@ "visible": true, "vertices": [ { - "x": 6765, - "y": 3520 + "x": 10855, + "y": 6450 }, { - "x": 6745, - "y": 3520 + "x": 10835, + "y": 6450 } ], "label": { - "x": 6781, - "y": 3522, + "x": 10871, + "y": 6452, "width": 502, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20927,19 +45089,19 @@ "visible": true, "vertices": [ { - "x": 6280, - "y": 715 + "x": 10360, + "y": 2515 }, { - "x": 6280, - "y": 1505 + "x": 10360, + "y": 2825 } ], "label": { - "x": 6288, - "y": 705, + "x": 10368, + "y": 2505, "width": 352, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20961,19 +45123,19 @@ "visible": true, "vertices": [ { - "x": 6495, - "y": 620 + "x": 10595, + "y": 2420 }, { - "x": 6515, - "y": 620 + "x": 10615, + "y": 2420 } ], "label": { - "x": 6491, - "y": 622, + "x": 10591, + "y": 2422, "width": 369, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -20995,19 +45157,19 @@ "visible": true, "vertices": [ { - "x": 6280, - "y": 535 + "x": 10380, + "y": 2335 }, { - "x": 6280, - "y": 513 + "x": 10380, + "y": 2313 } ], "label": { - "x": 6288, - "y": 545, + "x": 10388, + "y": 2345, "width": 379, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -21029,19 +45191,19 @@ "visible": true, "vertices": [ { - "x": 6945, - "y": 620 + "x": 11045, + "y": 2420 }, { - "x": 6965, - "y": 620 + "x": 11065, + "y": 2420 } ], "label": { - "x": 6941, - "y": 622, + "x": 11041, + "y": 2422, "width": 431, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -21063,19 +45225,19 @@ "visible": true, "vertices": [ { - "x": 6280, - "y": 365 + "x": 10380, + "y": 2165 }, { - "x": 6280, - "y": 348 + "x": 10380, + "y": 2148 } ], "label": { - "x": 6288, - "y": 375, + "x": 10388, + "y": 2175, "width": 516, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -21097,19 +45259,19 @@ "visible": true, "vertices": [ { - "x": 6400, - "y": 715 + "x": 10520, + "y": 2515 }, { - "x": 6400, - "y": 735 + "x": 10520, + "y": 2595 } ], "label": { - "x": 6402, - "y": 665, + "x": 10522, + "y": 2465, "width": 362, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -21131,19 +45293,19 @@ "visible": true, "vertices": [ { - "x": 6065, - "y": 620 + "x": 10165, + "y": 2420 }, { - "x": 6045, - "y": 620 + "x": 10145, + "y": 2420 } ], "label": { - "x": 6075, - "y": 582, + "x": 10175, + "y": 2382, "width": 317, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -21165,19 +45327,19 @@ "visible": true, "vertices": [ { - "x": 6140, - "y": 715 + "x": 10250, + "y": 2515 }, { - "x": 6140, - "y": 795 + "x": 10250, + "y": 2535 } ], "label": { - "x": 6142, - "y": 665, + "x": 10252, + "y": 2465, "width": 327, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -21199,27 +45361,27 @@ "visible": true, "vertices": [ { - "x": 2995, - "y": 3390 + "x": 6745, + "y": 6110 }, { - "x": 3030, - "y": 3390 + "x": 8320, + "y": 6110 }, { - "x": 3030, - "y": 3320 + "x": 8320, + "y": 6030 }, { - "x": 3075, - "y": 3320 + "x": 8355, + "y": 6030 } ], "label": { - "x": 2985, - "y": 3352, + "x": 6735, + "y": 6072, "width": 261, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -21241,23 +45403,27 @@ "visible": true, "vertices": [ { - "x": 2870, - "y": 3365 + "x": 6745, + "y": 6080 }, { - "x": 2870, - "y": 3160 + "x": 7800, + "y": 6080 }, { - "x": 2915, - "y": 3160 + "x": 7800, + "y": 6000 + }, + { + "x": 7845, + "y": 6000 } ], "label": { - "x": 2872, - "y": 3335, + "x": 6735, + "y": 6042, "width": 271, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -21279,19 +45445,19 @@ "visible": true, "vertices": [ { - "x": 5595, - "y": 1210 + "x": 17995, + "y": 8750 }, { - "x": 5615, - "y": 1210 + "x": 18075, + "y": 8750 } ], "label": { - "x": 5585, - "y": 1172, + "x": 17985, + "y": 8712, "width": 195, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -21313,27 +45479,27 @@ "visible": true, "vertices": [ { - "x": 5095, - "y": 2570 + "x": 8475, + "y": 5190 }, { - "x": 4310, - "y": 2570 + "x": 7800, + "y": 5190 }, { - "x": 4310, - "y": 2510 + "x": 7800, + "y": 5120 }, { - "x": 4275, - "y": 2510 + "x": 7765, + "y": 5120 } ], "label": { - "x": 5105, - "y": 2532, + "x": 8485, + "y": 5152, "width": 369, - "height": 30, + "height": 32, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { @@ -21346,6 +45512,3876 @@ "isFontItalic": false, "isVisible": false } + }, + { + "name": "fk_UserWalletChangeLog_UserWallet_1", + "sourceTableName": "UserWalletChangeLog", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 19275, + "y": 8900 + }, + { + "x": 19255, + "y": 8900 + } + ], + "label": { + "x": 19285, + "y": 8860, + "width": 268, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserWallet_User_1", + "sourceTableName": "UserWallet", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 18915, + "y": 8900 + }, + { + "x": 18895, + "y": 8900 + } + ], + "label": { + "x": 18925, + "y": 8860, + "width": 150, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_FactorDetails_UserOrder_1", + "sourceTableName": "FactorDetails", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 17875, + "y": 8180 + }, + { + "x": 17830, + "y": 8180 + }, + { + "x": 17830, + "y": 8665 + } + ], + "label": { + "x": 17885, + "y": 8140, + "width": 204, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_Transactions_UserOrder_1", + "sourceTableName": "Transactions", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 17635, + "y": 8820 + }, + { + "x": 17655, + "y": 8820 + } + ], + "label": { + "x": 17631, + "y": 8790, + "width": 202, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserCarts_User_1", + "sourceTableName": "UserCarts", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 18690, + "y": 8645 + }, + { + "x": 18690, + "y": 8665 + } + ], + "label": { + "x": 18692, + "y": 8593, + "width": 143, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserCarts_Products_1", + "sourceTableName": "UserCarts", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 18690, + "y": 8395 + }, + { + "x": 18690, + "y": 8373 + } + ], + "label": { + "x": 18698, + "y": 8405, + "width": 171, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_FactorDetails_Products_1", + "sourceTableName": "FactorDetails", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 18215, + "y": 8180 + }, + { + "x": 18525, + "y": 8180 + } + ], + "label": { + "x": 18013, + "y": 8140, + "width": 192, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_ProductGallerys_Products_1", + "sourceTableName": "ProductGallerys", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 18690, + "y": 7973 + }, + { + "x": 18690, + "y": 7985 + } + ], + "label": { + "x": 18692, + "y": 7921, + "width": 211, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserOrder_PaymentStatus_1", + "sourceTableName": "UserOrder", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 17730, + "y": 8665 + }, + { + "x": 17730, + "y": 6995 + } + ], + "label": { + "x": 17515, + "y": 8633, + "width": 217, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_Transactions_PaymentStatus_1", + "sourceTableName": "Transactions", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 17550, + "y": 8525 + }, + { + "x": 17550, + "y": 6995 + } + ], + "label": { + "x": 17558, + "y": 8535, + "width": 231, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_Transactions_TransactionType_1", + "sourceTableName": "Transactions", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 17295, + "y": 8820 + }, + { + "x": 17275, + "y": 8820 + } + ], + "label": { + "x": 17311, + "y": 8822, + "width": 241, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_ProductGallerys_ProductImages_1", + "sourceTableName": "ProductGallerys", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 18690, + "y": 7585 + }, + { + "x": 18690, + "y": 7563 + } + ], + "label": { + "x": 18692, + "y": 7553, + "width": 254, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_CreateNewTransactionsRequest_PaymentStatus_1", + "sourceTableName": "CreateNewTransactionsRequest", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 16795, + "y": 6930 + }, + { + "x": 17475, + "y": 6930 + } + ], + "label": { + "x": 16785, + "y": 6890, + "width": 360, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_CreateNewTransactionsRequest_TransactionType_1", + "sourceTableName": "CreateNewTransactionsRequest", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 16580, + "y": 7383 + }, + { + "x": 16580, + "y": 8750 + }, + { + "x": 16935, + "y": 8750 + } + ], + "label": { + "x": 16582, + "y": 7331, + "width": 370, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UpdateTransactionsRequest_PaymentStatus_1", + "sourceTableName": "UpdateTransactionsRequest", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 17315, + "y": 9900 + }, + { + "x": 19710, + "y": 9900 + }, + { + "x": 19710, + "y": 6850 + }, + { + "x": 17815, + "y": 6850 + } + ], + "label": { + "x": 17305, + "y": 9860, + "width": 335, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UpdateTransactionsRequest_TransactionType_1", + "sourceTableName": "UpdateTransactionsRequest", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 17100, + "y": 9635 + }, + { + "x": 17100, + "y": 8885 + } + ], + "label": { + "x": 17102, + "y": 9603, + "width": 345, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetTransactionsResponse_PaymentStatus_1", + "sourceTableName": "GetTransactionsResponse", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 16345, + "y": 6810 + }, + { + "x": 17170, + "y": 6810 + }, + { + "x": 17170, + "y": 6850 + }, + { + "x": 17475, + "y": 6850 + } + ], + "label": { + "x": 16335, + "y": 6770, + "width": 319, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetTransactionsResponse_TransactionType_1", + "sourceTableName": "GetTransactionsResponse", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 16130, + "y": 7263 + }, + { + "x": 16130, + "y": 8820 + }, + { + "x": 16935, + "y": 8820 + } + ], + "label": { + "x": 16132, + "y": 7211, + "width": 329, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllTransactionsByFilterFilter_PaymentStatus_1", + "sourceTableName": "GetAllTransactionsByFilterFilter", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 17325, + "y": 6370 + }, + { + "x": 17550, + "y": 6370 + }, + { + "x": 17550, + "y": 6795 + } + ], + "label": { + "x": 17315, + "y": 6330, + "width": 355, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllTransactionsByFilterFilter_TransactionType_1", + "sourceTableName": "GetAllTransactionsByFilterFilter", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 17110, + "y": 6648 + }, + { + "x": 17110, + "y": 8685 + } + ], + "label": { + "x": 17112, + "y": 6596, + "width": 365, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllTransactionsByFilterResponseModel_PaymentStatus_1", + "sourceTableName": "GetAllTransactionsByFilterResponseModel", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 19755, + "y": 6750 + }, + { + "x": 17650, + "y": 6750 + }, + { + "x": 17650, + "y": 6795 + } + ], + "label": { + "x": 19765, + "y": 6710, + "width": 428, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllTransactionsByFilterResponseModel_TransactionType_1", + "sourceTableName": "GetAllTransactionsByFilterResponseModel", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 19960, + "y": 7013 + }, + { + "x": 19960, + "y": 9530 + }, + { + "x": 17200, + "y": 9530 + }, + { + "x": 17200, + "y": 8885 + } + ], + "label": { + "x": 19962, + "y": 6961, + "width": 438, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserWalletService_CreateNewUserWalletRequest_1", + "sourceTableName": "UserWalletService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 2110, + "y": 7305 + }, + { + "x": 2110, + "y": 6980 + }, + { + "x": 3245, + "y": 6980 + } + ], + "label": { + "x": 2118, + "y": 7315, + "width": 369, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserWalletService_CreateNewUserWalletResponse_1", + "sourceTableName": "UserWalletService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 2010, + "y": 7305 + }, + { + "x": 2010, + "y": 6870 + }, + { + "x": 2055, + "y": 6870 + } + ], + "label": { + "x": 2018, + "y": 7283, + "width": 379, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserWalletService_UpdateUserWalletRequest_1", + "sourceTableName": "UserWalletService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 1910, + "y": 7305 + }, + { + "x": 1910, + "y": 6782 + } + ], + "label": { + "x": 1918, + "y": 7315, + "width": 344, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserWalletService_DeleteUserWalletRequest_1", + "sourceTableName": "UserWalletService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 1825, + "y": 7410 + }, + { + "x": 1745, + "y": 7410 + } + ], + "label": { + "x": 1841, + "y": 7380, + "width": 338, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserWalletService_GetUserWalletRequest_1", + "sourceTableName": "UserWalletService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 2050, + "y": 7510 + }, + { + "x": 2050, + "y": 7535 + } + ], + "label": { + "x": 2058, + "y": 7468, + "width": 318, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserWalletService_GetUserWalletResponse_1", + "sourceTableName": "UserWalletService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 2255, + "y": 7480 + }, + { + "x": 2405, + "y": 7480 + } + ], + "label": { + "x": 2251, + "y": 7482, + "width": 328, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserWalletService_GetAllUserWalletByFilterRequest_1", + "sourceTableName": "UserWalletService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 2255, + "y": 7380 + }, + { + "x": 2360, + "y": 7380 + }, + { + "x": 2360, + "y": 7300 + }, + { + "x": 2405, + "y": 7300 + } + ], + "label": { + "x": 2251, + "y": 7382, + "width": 385, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserWalletService_GetAllUserWalletByFilterResponse_1", + "sourceTableName": "UserWalletService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 2255, + "y": 7340 + }, + { + "x": 2300, + "y": 7340 + }, + { + "x": 2300, + "y": 7110 + }, + { + "x": 2345, + "y": 7110 + } + ], + "label": { + "x": 2251, + "y": 7342, + "width": 395, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllUserWalletByFilterRequest_GetAllUserWalletByFilterFilter", + "sourceTableName": "GetAllUserWalletByFilterRequest", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 2835, + "y": 7300 + }, + { + "x": 2915, + "y": 7300 + } + ], + "label": { + "x": 2831, + "y": 7302, + "width": 447, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllUserWalletByFilterResponse_GetAllUserWalletByFilterResponseModel", + "sourceTableName": "GetAllUserWalletByFilterResponse", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 2775, + "y": 7110 + }, + { + "x": 2795, + "y": 7110 + } + ], + "label": { + "x": 2771, + "y": 7112, + "width": 530, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserWalletChangeLogService_CreateNewUserWalletChangeLogRequest_1", + "sourceTableName": "UserWalletChangeLogService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 3220, + "y": 10055 + }, + { + "x": 3220, + "y": 8740 + }, + { + "x": 3320, + "y": 8740 + }, + { + "x": 3320, + "y": 8639 + } + ], + "label": { + "x": 3228, + "y": 10065, + "width": 521, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserWalletChangeLogService_CreateNewUserWalletChangeLogResponse_1", + "sourceTableName": "UserWalletChangeLogService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 3150, + "y": 10055 + }, + { + "x": 3150, + "y": 8701 + } + ], + "label": { + "x": 3158, + "y": 10033, + "width": 531, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserWalletChangeLogService_UpdateUserWalletChangeLogRequest_1", + "sourceTableName": "UserWalletChangeLogService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 3085, + "y": 10160 + }, + { + "x": 3065, + "y": 10160 + } + ], + "label": { + "x": 3101, + "y": 10162, + "width": 496, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserWalletChangeLogService_DeleteUserWalletChangeLogRequest_1", + "sourceTableName": "UserWalletChangeLogService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 3290, + "y": 10260 + }, + { + "x": 3290, + "y": 10285 + } + ], + "label": { + "x": 3298, + "y": 10218, + "width": 490, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserWalletChangeLogService_GetUserWalletChangeLogRequest_1", + "sourceTableName": "UserWalletChangeLogService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 3515, + "y": 10160 + }, + { + "x": 3535, + "y": 10160 + } + ], + "label": { + "x": 3511, + "y": 10130, + "width": 470, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserWalletChangeLogService_GetUserWalletChangeLogResponse_1", + "sourceTableName": "UserWalletChangeLogService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 3450, + "y": 10055 + }, + { + "x": 3450, + "y": 10020 + }, + { + "x": 3490, + "y": 10020 + }, + { + "x": 3490, + "y": 9979 + } + ], + "label": { + "x": 3458, + "y": 10065, + "width": 480, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserWalletChangeLogService_GetAllUserWalletChangeLogByFilterRequest_1", + "sourceTableName": "UserWalletChangeLogService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 3370, + "y": 10055 + }, + { + "x": 3370, + "y": 9710 + }, + { + "x": 3420, + "y": 9710 + }, + { + "x": 3420, + "y": 9672 + } + ], + "label": { + "x": 3378, + "y": 10065, + "width": 537, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserWalletChangeLogService_GetAllUserWalletChangeLogByFilterResponse_1", + "sourceTableName": "UserWalletChangeLogService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 3300, + "y": 10055 + }, + { + "x": 3300, + "y": 9210 + }, + { + "x": 3340, + "y": 9210 + }, + { + "x": 3340, + "y": 9173 + } + ], + "label": { + "x": 3308, + "y": 10065, + "width": 547, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllUserWalletChangeLogByFilterRequest_GetAllUserWalletChangeLogByFilterFilter", + "sourceTableName": "GetAllUserWalletChangeLogByFilterRequest", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 3550, + "y": 9505 + }, + { + "x": 3550, + "y": 9479 + } + ], + "label": { + "x": 3558, + "y": 9515, + "width": 599, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllUserWalletChangeLogByFilterResponse_GetAllUserWalletChangeLogByFilterResponseModel", + "sourceTableName": "GetAllUserWalletChangeLogByFilterResponse", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 3480, + "y": 9025 + }, + { + "x": 3480, + "y": 8999 + } + ], + "label": { + "x": 3488, + "y": 9035, + "width": 682, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserCartsService_CreateNewUserCartsRequest_1", + "sourceTableName": "UserCartsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 14495, + "y": 8470 + }, + { + "x": 13820, + "y": 8470 + }, + { + "x": 13820, + "y": 8390 + }, + { + "x": 13060, + "y": 8390 + }, + { + "x": 13060, + "y": 8435 + } + ], + "label": { + "x": 14511, + "y": 8472, + "width": 355, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserCartsService_CreateNewUserCartsResponse_1", + "sourceTableName": "UserCartsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 14495, + "y": 8500 + }, + { + "x": 13785, + "y": 8500 + } + ], + "label": { + "x": 14511, + "y": 8470, + "width": 365, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserCartsService_UpdateUserCartsRequest_1", + "sourceTableName": "UserCartsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 14710, + "y": 8530 + }, + { + "x": 14710, + "y": 8555 + } + ], + "label": { + "x": 14718, + "y": 8520, + "width": 330, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserCartsService_DeleteUserCartsRequest_1", + "sourceTableName": "UserCartsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 14925, + "y": 8430 + }, + { + "x": 15005, + "y": 8430 + } + ], + "label": { + "x": 14921, + "y": 8400, + "width": 324, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserCartsService_GetUserCartsRequest_1", + "sourceTableName": "UserCartsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 14710, + "y": 8325 + }, + { + "x": 14710, + "y": 8311 + } + ], + "label": { + "x": 14718, + "y": 8303, + "width": 304, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserCartsService_GetUserCartsResponse_1", + "sourceTableName": "UserCartsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 14495, + "y": 8360 + }, + { + "x": 14460, + "y": 8360 + }, + { + "x": 14460, + "y": 8280 + }, + { + "x": 14415, + "y": 8280 + } + ], + "label": { + "x": 14511, + "y": 8362, + "width": 314, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserCartsService_GetAllUserCartsByFilterRequest_1", + "sourceTableName": "UserCartsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 14495, + "y": 8400 + }, + { + "x": 13940, + "y": 8400 + }, + { + "x": 13940, + "y": 8080 + }, + { + "x": 13845, + "y": 8080 + } + ], + "label": { + "x": 14511, + "y": 8402, + "width": 371, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserCartsService_GetAllUserCartsByFilterResponse_1", + "sourceTableName": "UserCartsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 14495, + "y": 8420 + }, + { + "x": 13880, + "y": 8420 + }, + { + "x": 13880, + "y": 8280 + }, + { + "x": 13845, + "y": 8280 + } + ], + "label": { + "x": 14511, + "y": 8422, + "width": 381, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllUserCartsByFilterRequest_GetAllUserCartsByFilterFilter", + "sourceTableName": "GetAllUserCartsByFilterRequest", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 13415, + "y": 8070 + }, + { + "x": 13395, + "y": 8070 + } + ], + "label": { + "x": 13431, + "y": 8072, + "width": 433, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllUserCartsByFilterResponse_GetAllUserCartsByFilterResponseModel", + "sourceTableName": "GetAllUserCartsByFilterResponse", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 13415, + "y": 8270 + }, + { + "x": 13395, + "y": 8270 + } + ], + "label": { + "x": 13431, + "y": 8272, + "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_ProductGallerysService_CreateNewProductGallerysRequest_1", + "sourceTableName": "ProductGallerysService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 9980, + "y": 440 + }, + { + "x": 9980, + "y": 1590 + }, + { + "x": 9930, + "y": 1590 + }, + { + "x": 9930, + "y": 1785 + } + ], + "label": { + "x": 9988, + "y": 430, + "width": 435, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_ProductGallerysService_CreateNewProductGallerysResponse_1", + "sourceTableName": "ProductGallerysService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 10050, + "y": 440 + }, + { + "x": 10050, + "y": 1625 + } + ], + "label": { + "x": 10058, + "y": 398, + "width": 445, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_ProductGallerysService_UpdateProductGallerysRequest_1", + "sourceTableName": "ProductGallerysService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 10115, + "y": 330 + }, + { + "x": 10135, + "y": 330 + } + ], + "label": { + "x": 10111, + "y": 332, + "width": 410, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_ProductGallerysService_DeleteProductGallerysRequest_1", + "sourceTableName": "ProductGallerysService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 9900, + "y": 235 + }, + { + "x": 9900, + "y": 151 + } + ], + "label": { + "x": 9908, + "y": 213, + "width": 404, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_ProductGallerysService_GetProductGallerysRequest_1", + "sourceTableName": "ProductGallerysService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 9685, + "y": 330 + }, + { + "x": 9665, + "y": 330 + } + ], + "label": { + "x": 9701, + "y": 300, + "width": 384, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_ProductGallerysService_GetProductGallerysResponse_1", + "sourceTableName": "ProductGallerysService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 9750, + "y": 440 + }, + { + "x": 9750, + "y": 480 + }, + { + "x": 9700, + "y": 480 + }, + { + "x": 9700, + "y": 525 + } + ], + "label": { + "x": 9758, + "y": 430, + "width": 394, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_ProductGallerysService_GetAllProductGallerysByFilterRequest_1", + "sourceTableName": "ProductGallerysService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 9820, + "y": 440 + }, + { + "x": 9820, + "y": 730 + }, + { + "x": 9780, + "y": 730 + }, + { + "x": 9780, + "y": 765 + } + ], + "label": { + "x": 9828, + "y": 430, + "width": 451, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_ProductGallerysService_GetAllProductGallerysByFilterResponse_1", + "sourceTableName": "ProductGallerysService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 9890, + "y": 440 + }, + { + "x": 9890, + "y": 1170 + }, + { + "x": 9850, + "y": 1170 + }, + { + "x": 9850, + "y": 1205 + } + ], + "label": { + "x": 9898, + "y": 430, + "width": 461, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllProductGallerysByFilterRequest_GetAllProductGallerysByFilterFilter", + "sourceTableName": "GetAllProductGallerysByFilterRequest", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 9640, + "y": 932 + }, + { + "x": 9640, + "y": 955 + } + ], + "label": { + "x": 9648, + "y": 922, + "width": 513, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllProductGallerysByFilterResponse_GetAllProductGallerysByFilterResponseModel", + "sourceTableName": "GetAllProductGallerysByFilterResponse", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 9720, + "y": 1353 + }, + { + "x": 9720, + "y": 1375 + } + ], + "label": { + "x": 9728, + "y": 1343, + "width": 596, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_FactorDetailsService_CreateNewFactorDetailsRequest_1", + "sourceTableName": "FactorDetailsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 810, + "y": 11145 + }, + { + "x": 810, + "y": 10230 + }, + { + "x": 1205, + "y": 10230 + } + ], + "label": { + "x": 818, + "y": 11155, + "width": 397, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_FactorDetailsService_CreateNewFactorDetailsResponse_1", + "sourceTableName": "FactorDetailsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 710, + "y": 11145 + }, + { + "x": 710, + "y": 10120 + }, + { + "x": 745, + "y": 10120 + } + ], + "label": { + "x": 718, + "y": 11123, + "width": 407, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_FactorDetailsService_UpdateFactorDetailsRequest_1", + "sourceTableName": "FactorDetailsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 610, + "y": 11145 + }, + { + "x": 610, + "y": 10037 + } + ], + "label": { + "x": 618, + "y": 11155, + "width": 372, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_FactorDetailsService_DeleteFactorDetailsRequest_1", + "sourceTableName": "FactorDetailsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 525, + "y": 11240 + }, + { + "x": 445, + "y": 11240 + } + ], + "label": { + "x": 541, + "y": 11210, + "width": 366, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_FactorDetailsService_GetFactorDetailsRequest_1", + "sourceTableName": "FactorDetailsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 740, + "y": 11350 + }, + { + "x": 740, + "y": 11365 + } + ], + "label": { + "x": 748, + "y": 11308, + "width": 346, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_FactorDetailsService_GetFactorDetailsResponse_1", + "sourceTableName": "FactorDetailsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 955, + "y": 11310 + }, + { + "x": 1095, + "y": 11310 + } + ], + "label": { + "x": 951, + "y": 11312, + "width": 356, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_FactorDetailsService_GetAllFactorDetailsByFilterRequest_1", + "sourceTableName": "FactorDetailsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 955, + "y": 11200 + }, + { + "x": 1060, + "y": 11200 + }, + { + "x": 1060, + "y": 11130 + }, + { + "x": 1095, + "y": 11130 + } + ], + "label": { + "x": 951, + "y": 11202, + "width": 413, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_FactorDetailsService_GetAllFactorDetailsByFilterResponse_1", + "sourceTableName": "FactorDetailsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 955, + "y": 11180 + }, + { + "x": 1000, + "y": 11180 + }, + { + "x": 1000, + "y": 10950 + }, + { + "x": 1035, + "y": 10950 + } + ], + "label": { + "x": 951, + "y": 11182, + "width": 423, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllFactorDetailsByFilterRequest_GetAllFactorDetailsByFilterFilter", + "sourceTableName": "GetAllFactorDetailsByFilterRequest", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 1525, + "y": 11130 + }, + { + "x": 1555, + "y": 11130 + } + ], + "label": { + "x": 1521, + "y": 11132, + "width": 475, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllFactorDetailsByFilterResponse_GetAllFactorDetailsByFilterResponseModel", + "sourceTableName": "GetAllFactorDetailsByFilterResponse", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 1465, + "y": 10940 + }, + { + "x": 1495, + "y": 10940 + } + ], + "label": { + "x": 1461, + "y": 10942, + "width": 558, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_ProductsService_CreateNewProductsRequest_1", + "sourceTableName": "ProductsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 22120, + "y": 10865 + }, + { + "x": 22120, + "y": 10590 + }, + { + "x": 1635, + "y": 10590 + } + ], + "label": { + "x": 22128, + "y": 10875, + "width": 341, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_ProductsService_CreateNewProductsResponse_1", + "sourceTableName": "ProductsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 22040, + "y": 10865 + }, + { + "x": 22040, + "y": 10830 + }, + { + "x": 22000, + "y": 10830 + }, + { + "x": 22000, + "y": 10771 + } + ], + "label": { + "x": 22048, + "y": 10843, + "width": 351, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_ProductsService_UpdateProductsRequest_1", + "sourceTableName": "ProductsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 21975, + "y": 10970 + }, + { + "x": 21955, + "y": 10970 + } + ], + "label": { + "x": 21991, + "y": 10972, + "width": 316, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_ProductsService_DeleteProductsRequest_1", + "sourceTableName": "ProductsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 22190, + "y": 11070 + }, + { + "x": 22190, + "y": 11155 + } + ], + "label": { + "x": 22198, + "y": 11028, + "width": 310, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_ProductsService_GetProductsRequest_1", + "sourceTableName": "ProductsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 22405, + "y": 10970 + }, + { + "x": 22425, + "y": 10970 + } + ], + "label": { + "x": 22401, + "y": 10940, + "width": 290, + "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", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 22340, + "y": 10865 + }, + { + "x": 22340, + "y": 9882 + } + ], + "label": { + "x": 22348, + "y": 10875, + "width": 300, + "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": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 22270, + "y": 10865 + }, + { + "x": 22270, + "y": 9920 + }, + { + "x": 22160, + "y": 9920 + }, + { + "x": 22160, + "y": 9882 + } + ], + "label": { + "x": 22278, + "y": 10875, + "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_ProductsService_GetAllProductsByFilterResponse_1", + "sourceTableName": "ProductsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 22190, + "y": 10865 + }, + { + "x": 22190, + "y": 10530 + }, + { + "x": 22150, + "y": 10530 + }, + { + "x": 22150, + "y": 10493 + } + ], + "label": { + "x": 22198, + "y": 10875, + "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_GetAllProductsByFilterRequest_GetAllProductsByFilterFilter", + "sourceTableName": "GetAllProductsByFilterRequest", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 22030, + "y": 9715 + }, + { + "x": 22030, + "y": 9692 + } + ], + "label": { + "x": 22038, + "y": 9725, + "width": 419, + "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", + "sourceTableName": "GetAllProductsByFilterResponse", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 22010, + "y": 10345 + }, + { + "x": 22010, + "y": 10322 + } + ], + "label": { + "x": 22018, + "y": 10355, + "width": 502, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_ProductImagesService_CreateNewProductImagesRequest_1", + "sourceTableName": "ProductImagesService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 20835, + "y": 10280 + }, + { + "x": 20160, + "y": 10280 + }, + { + "x": 20160, + "y": 10200 + }, + { + "x": 15720, + "y": 10200 + }, + { + "x": 15720, + "y": 10365 + } + ], + "label": { + "x": 20851, + "y": 10282, + "width": 427, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_ProductImagesService_CreateNewProductImagesResponse_1", + "sourceTableName": "ProductImagesService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 20835, + "y": 10310 + }, + { + "x": 20125, + "y": 10310 + } + ], + "label": { + "x": 20851, + "y": 10280, + "width": 437, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_ProductImagesService_UpdateProductImagesRequest_1", + "sourceTableName": "ProductImagesService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 21050, + "y": 10350 + }, + { + "x": 21050, + "y": 10365 + } + ], + "label": { + "x": 21058, + "y": 10340, + "width": 402, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_ProductImagesService_DeleteProductImagesRequest_1", + "sourceTableName": "ProductImagesService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 21265, + "y": 10240 + }, + { + "x": 21345, + "y": 10240 + } + ], + "label": { + "x": 21261, + "y": 10210, + "width": 396, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_ProductImagesService_GetProductImagesRequest_1", + "sourceTableName": "ProductImagesService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 21050, + "y": 10145 + }, + { + "x": 21050, + "y": 10121 + } + ], + "label": { + "x": 21058, + "y": 10123, + "width": 376, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_ProductImagesService_GetProductImagesResponse_1", + "sourceTableName": "ProductImagesService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 20835, + "y": 10180 + }, + { + "x": 20790, + "y": 10180 + }, + { + "x": 20790, + "y": 10090 + }, + { + "x": 20755, + "y": 10090 + } + ], + "label": { + "x": 20851, + "y": 10182, + "width": 386, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_ProductImagesService_GetAllProductImagesByFilterRequest_1", + "sourceTableName": "ProductImagesService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 20835, + "y": 10210 + }, + { + "x": 20280, + "y": 10210 + }, + { + "x": 20280, + "y": 5700 + }, + { + "x": 20245, + "y": 5700 + } + ], + "label": { + "x": 20851, + "y": 10212, + "width": 443, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_ProductImagesService_GetAllProductImagesByFilterResponse_1", + "sourceTableName": "ProductImagesService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 20835, + "y": 10240 + }, + { + "x": 20220, + "y": 10240 + }, + { + "x": 20220, + "y": 5870 + }, + { + "x": 20185, + "y": 5870 + } + ], + "label": { + "x": 20851, + "y": 10242, + "width": 453, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllProductImagesByFilterRequest_GetAllProductImagesByFilterFilter", + "sourceTableName": "GetAllProductImagesByFilterRequest", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 19815, + "y": 5690 + }, + { + "x": 19795, + "y": 5690 + } + ], + "label": { + "x": 19831, + "y": 5692, + "width": 505, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllProductImagesByFilterResponse_GetAllProductImagesByFilterResponseModel", + "sourceTableName": "GetAllProductImagesByFilterResponse", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 19755, + "y": 5870 + }, + { + "x": 19735, + "y": 5870 + } + ], + "label": { + "x": 19771, + "y": 5872, + "width": 588, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_TransactionsService_CreateNewTransactionsRequest_1", + "sourceTableName": "TransactionsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 15835, + "y": 9610 + }, + { + "x": 16070, + "y": 9610 + }, + { + "x": 16070, + "y": 7300 + }, + { + "x": 16365, + "y": 7300 + } + ], + "label": { + "x": 15831, + "y": 9612, + "width": 393, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_TransactionsService_CreateNewTransactionsResponse_1", + "sourceTableName": "TransactionsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 15620, + "y": 9750 + }, + { + "x": 15620, + "y": 9775 + } + ], + "label": { + "x": 15628, + "y": 9708, + "width": 403, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_TransactionsService_UpdateTransactionsRequest_1", + "sourceTableName": "TransactionsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 15835, + "y": 9710 + }, + { + "x": 16885, + "y": 9710 + } + ], + "label": { + "x": 15831, + "y": 9712, + "width": 368, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_TransactionsService_DeleteTransactionsRequest_1", + "sourceTableName": "TransactionsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 15480, + "y": 9545 + }, + { + "x": 15480, + "y": 6001 + } + ], + "label": { + "x": 15488, + "y": 9523, + "width": 362, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_TransactionsService_GetTransactionsRequest_1", + "sourceTableName": "TransactionsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 15405, + "y": 9650 + }, + { + "x": 15325, + "y": 9650 + } + ], + "label": { + "x": 15421, + "y": 9620, + "width": 342, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_TransactionsService_GetTransactionsResponse_1", + "sourceTableName": "TransactionsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 15835, + "y": 9580 + }, + { + "x": 15870, + "y": 9580 + }, + { + "x": 15870, + "y": 7180 + }, + { + "x": 15915, + "y": 7180 + } + ], + "label": { + "x": 15831, + "y": 9582, + "width": 352, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_TransactionsService_GetAllTransactionsByFilterRequest_1", + "sourceTableName": "TransactionsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 15680, + "y": 9545 + }, + { + "x": 15680, + "y": 6370 + }, + { + "x": 15725, + "y": 6370 + } + ], + "label": { + "x": 15688, + "y": 9555, + "width": 409, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_TransactionsService_GetAllTransactionsByFilterResponse_1", + "sourceTableName": "TransactionsService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 15580, + "y": 9545 + }, + { + "x": 15580, + "y": 6040 + }, + { + "x": 19755, + "y": 6040 + } + ], + "label": { + "x": 15588, + "y": 9555, + "width": 419, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllTransactionsByFilterRequest_GetAllTransactionsByFilterFilter", + "sourceTableName": "GetAllTransactionsByFilterRequest", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 16155, + "y": 6370 + }, + { + "x": 16895, + "y": 6370 + } + ], + "label": { + "x": 16151, + "y": 6372, + "width": 471, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllTransactionsByFilterResponse_GetAllTransactionsByFilterResponseModel", + "sourceTableName": "GetAllTransactionsByFilterResponse", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 19960, + "y": 6113 + }, + { + "x": 19960, + "y": 6485 + } + ], + "label": { + "x": 19968, + "y": 6103, + "width": 554, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserService_AdminGetJwtTokenRequest_1", + "sourceTableName": "UserService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 6745, + "y": 6050 + }, + { + "x": 7290, + "y": 6050 + }, + { + "x": 7290, + "y": 5970 + }, + { + "x": 7335, + "y": 5970 + } + ], + "label": { + "x": 6735, + "y": 6010, + "width": 306, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserService_AdminGetJwtTokenResponse_1", + "sourceTableName": "UserService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 6745, + "y": 6030 + }, + { + "x": 6780, + "y": 6030 + }, + { + "x": 6780, + "y": 5950 + }, + { + "x": 6825, + "y": 5950 + } + ], + "label": { + "x": 6741, + "y": 6032, + "width": 316, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserService_SetPasswordForUserRequest_1", + "sourceTableName": "UserService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 6590, + "y": 5995 + }, + { + "x": 6590, + "y": 5760 + }, + { + "x": 6635, + "y": 5760 + } + ], + "label": { + "x": 6275, + "y": 5963, + "width": 317, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } } ], "viewRelations": [] diff --git a/docs/model1.ndm2 b/docs/model1.ndm2 new file mode 100644 index 0000000..9448d01 --- /dev/null +++ b/docs/model1.ndm2 @@ -0,0 +1,25204 @@ +{ + "paper": { + "name": "A0", + "leftMargin": 0.5, + "rightMargin": 0.5, + "topMargin": 0.5, + "bottomMargin": 0.5, + "isPortriat": true + }, + "modelVersion": 2.01, + "defaultSchema": "CMS", + "server": { + "objectType": "Server_MSSQL", + "name": "Default", + "uuid": "", + "serverVersion": 16000000, + "edition": "Unknown", + "catalogs": [ + { + "objectType": "Catalog_MSSQL", + "name": "Default", + "schemas": [ + { + "objectType": "Schema_MSSQL", + "name": "CMS", + "comment": "", + "tables": [ + { + "objectType": "Table_MSSQL", + "name": "UserAddress", + "comment": "آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "عنوان", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Address", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "آدرس", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Address", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PostalCode", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "کدپستی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PostalCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsDefault", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "پیشفرض؟", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsDefault", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CityId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه شهر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CityId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserAddress_User_1", + "fields": [ + "UserId" + ], + "referencedSchema": "CMS", + "referencedTable": "User", + "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": "Package", + "comment": "پکیج", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "عنوان", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Description", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "توضیحات", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Description", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ImagePath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "آدرس تصویر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ImagePath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Price", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "قیمت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Price", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1_copy_1", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "Role", + "comment": "نقش", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Name", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "نام لاتین", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Name", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "عنوان", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1_copy_1_copy_2", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "UserRole", + "comment": "نقش کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RoleId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه نقش", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RoleId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1_copy_1_copy_2_copy_1", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserRole_Role_1", + "fields": [ + "RoleId" + ], + "referencedSchema": "CMS", + "referencedTable": "Role", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserRole_User_1", + "fields": [ + "UserId" + ], + "referencedSchema": "CMS", + "referencedTable": "User", + "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": "CreateNewUserResponse", + "comment": "خروجی ایجاد کاربر جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 6042, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "DeleteUserRequest", + "comment": "ورودی حذف کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2924, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_43", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetUserRequest", + "comment": "ورودی واکشی یک کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 9955, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_42", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllUserByFilterRequest", + "comment": "ورودی واکشی کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllUserByFilterRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 6613, + "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_GetAllUserByFilterRequest_GetAllUserByFilterFilter", + "fields": [ + "Filter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserByFilterFilter", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "GetAllUserByFilterResponse", + "comment": "خروجی واکشی کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 8706, + "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_GetAllUserByFilterResponse_GetAllUserByFilterResponseModel", + "fields": [ + "Model" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserByFilterResponseModel", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "CreateNewUserAddressRequest", + "comment": "ورودی ایجاد آدرس کاربر جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "CreateNewUserAddressRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 6922, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "عنوان", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Address", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "آدرس", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Address", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PostalCode", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "کدپستی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PostalCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsDefault", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "پیشفرض؟", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsDefault", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CityId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه شهر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CityId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "CreateNewUserAddressResponse", + "comment": "خروجی ایجاد آدرس کاربر جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 1854, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_41", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "UpdateUserAddressRequest", + "comment": "ورودی ویرایش آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "UpdateUserAddressRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 9213, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "عنوان", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Address", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "آدرس", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Address", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PostalCode", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "کدپستی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PostalCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsDefault", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "پیشفرض؟", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsDefault", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CityId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه شهر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CityId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_40", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "DeleteUserAddressRequest", + "comment": "ورودی حذف آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 9712, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_39", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetUserAddressRequest", + "comment": "ورودی واکشی یک آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 5483, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_38", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetUserAddressResponse", + "comment": "خروجی واکشی یک آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetUserAddressResponse", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 5899, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "عنوان", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Address", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "آدرس", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Address", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PostalCode", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "کدپستی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PostalCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsDefault", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "پیشفرض؟", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsDefault", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CityId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه شهر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CityId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_37", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllUserAddressByFilterRequest", + "comment": "ورودی واکشی آدرس کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllUserAddressByFilterRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 9684, + "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_GetAllUserAddressByFilterRequest_GetAllUserAddressByFilterFilter", + "fields": [ + "Filter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserAddressByFilterFilter", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "GetAllUserAddressByFilterFilter", + "comment": "فیلترهای آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllUserAddressByFilterFilter", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 5523, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "عنوان", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Address", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "آدرس", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Address", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PostalCode", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "کدپستی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PostalCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsDefault", + "type": "bit", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "پیشفرض؟", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsDefault", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CityId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه شهر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CityId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_36", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllUserAddressByFilterResponse", + "comment": "خروجی واکشی آدرس کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 1791, + "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_GetAllUserAddressByFilterResponse_GetAllUserAddressByFilterResponseModel", + "fields": [ + "Model" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserAddressByFilterResponseModel", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "GetAllUserAddressByFilterResponseModel", + "comment": "مدل خروجی آدرس کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllUserAddressByFilterResponseModel", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 6269, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "عنوان", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Address", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "آدرس", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Address", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PostalCode", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "کدپستی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PostalCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsDefault", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "پیشفرض؟", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsDefault", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CityId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه شهر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CityId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_35", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "PackageService", + "comment": "سرویس های پکیج", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "PackageService", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 3135, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "CreateNewPackage", + "type": "CreateCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "ایجاد پکیج جدید", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CreateNewPackage", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UpdatePackage", + "type": "UpdateCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "ویرایش پکیج", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UpdatePackage", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "DeletePackage", + "type": "DeleteCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "حذف پکیج", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "DeletePackage", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetPackage", + "type": "GetOneQuery", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "واکشی یک پکیج", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetPackage", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetAllPackageByFilter", + "type": "GetAllByFilterQuery", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "واکشی پکیج ها بر مبنای فیلتر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetAllPackageByFilter", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_PackageService_CreateNewPackageRequest_1", + "fields": [ + "CreateNewPackage" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewPackageRequest", + "referencedFields": [ + "Title" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_PackageService_CreateNewPackageResponse_1", + "fields": [ + "CreateNewPackage" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewPackageResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_PackageService_UpdatePackageRequest_1", + "fields": [ + "UpdatePackage" + ], + "referencedSchema": "CMS", + "referencedTable": "UpdatePackageRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_PackageService_DeletePackageRequest_1", + "fields": [ + "DeletePackage" + ], + "referencedSchema": "CMS", + "referencedTable": "DeletePackageRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_PackageService_GetPackageRequest_1", + "fields": [ + "GetPackage" + ], + "referencedSchema": "CMS", + "referencedTable": "GetPackageRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_PackageService_GetPackageResponse_1", + "fields": [ + "GetPackage" + ], + "referencedSchema": "CMS", + "referencedTable": "GetPackageResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_PackageService_GetAllPackageByFilterRequest_1", + "fields": [ + "GetAllPackageByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllPackageByFilterRequest", + "referencedFields": [ + "PaginationState" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_PackageService_GetAllPackageByFilterResponse_1", + "fields": [ + "GetAllPackageByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllPackageByFilterResponse", + "referencedFields": [ + "MetaData" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "CreateNewPackageRequest", + "comment": "ورودی ایجاد پکیج جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "CreateNewPackageRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 1736, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "عنوان", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Description", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "توضیحات", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Description", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ImagePath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "آدرس تصویر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ImagePath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Price", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "قیمت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Price", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "CreateNewPackageResponse", + "comment": "خروجی ایجاد پکیج جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 6700, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_34", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "UpdatePackageRequest", + "comment": "ورودی ویرایش پکیج", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "UpdatePackageRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 4108, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "عنوان", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Description", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "توضیحات", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Description", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ImagePath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "آدرس تصویر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ImagePath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Price", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "قیمت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Price", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_33", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "DeletePackageRequest", + "comment": "ورودی حذف پکیج", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 5042, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_32", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetPackageRequest", + "comment": "ورودی واکشی یک پکیج", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 8748, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_31", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetPackageResponse", + "comment": "خروجی واکشی یک پکیج", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetPackageResponse", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 3227, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "عنوان", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Description", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "توضیحات", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Description", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ImagePath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "آدرس تصویر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ImagePath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Price", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "قیمت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Price", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_30", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllPackageByFilterRequest", + "comment": "ورودی واکشی پکیج بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllPackageByFilterRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2088, + "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_GetAllPackageByFilterRequest_GetAllPackageByFilterFilter", + "fields": [ + "Filter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllPackageByFilterFilter", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "GetAllPackageByFilterFilter", + "comment": "فیلترهای پکیج", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllPackageByFilterFilter", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 9565, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "عنوان", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Description", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "توضیحات", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Description", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ImagePath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "آدرس تصویر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ImagePath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Price", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "قیمت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Price", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_29", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllPackageByFilterResponse", + "comment": "خروجی واکشی پکیج بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 4477, + "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_GetAllPackageByFilterResponse_GetAllPackageByFilterResponseModel", + "fields": [ + "Model" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllPackageByFilterResponseModel", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "GetAllPackageByFilterResponseModel", + "comment": "مدل خروجی پکیج بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllPackageByFilterResponseModel", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 4563, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "عنوان", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Description", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "توضیحات", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Description", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ImagePath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "آدرس تصویر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ImagePath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Price", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "قیمت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Price", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_28", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "UserOrderService", + "comment": "سرویس های سفارش کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "UserOrderService", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 9042, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "CreateNewUserOrder", + "type": "CreateCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "ایجاد سفارش کاربر جدید", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CreateNewUserOrder", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UpdateUserOrder", + "type": "UpdateCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "ویرایش سفارش کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UpdateUserOrder", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "DeleteUserOrder", + "type": "DeleteCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "حذف سفارش کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "DeleteUserOrder", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetUserOrder", + "type": "GetOneQuery", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "واکشی یک سفارش کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetUserOrder", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetAllUserOrderByFilter", + "type": "GetAllByFilterQuery", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "واکشی سفارش کاربر ها بر مبنای فیلتر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetAllUserOrderByFilter", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserOrderService_CreateNewUserOrderRequest_1", + "fields": [ + "CreateNewUserOrder" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewUserOrderRequest", + "referencedFields": [ + "Price" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserOrderService_CreateNewUserOrderResponse_1", + "fields": [ + "CreateNewUserOrder" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewUserOrderResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserOrderService_UpdateUserOrderRequest_1", + "fields": [ + "UpdateUserOrder" + ], + "referencedSchema": "CMS", + "referencedTable": "UpdateUserOrderRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserOrderService_DeleteUserOrderRequest_1", + "fields": [ + "DeleteUserOrder" + ], + "referencedSchema": "CMS", + "referencedTable": "DeleteUserOrderRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserOrderService_GetUserOrderRequest_1", + "fields": [ + "GetUserOrder" + ], + "referencedSchema": "CMS", + "referencedTable": "GetUserOrderRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserOrderService_GetUserOrderResponse_1", + "fields": [ + "GetUserOrder" + ], + "referencedSchema": "CMS", + "referencedTable": "GetUserOrderResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserOrderService_GetAllUserOrderByFilterRequest_1", + "fields": [ + "GetAllUserOrderByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserOrderByFilterRequest", + "referencedFields": [ + "PaginationState" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserOrderService_GetAllUserOrderByFilterResponse_1", + "fields": [ + "GetAllUserOrderByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserOrderByFilterResponse", + "referencedFields": [ + "MetaData" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "CreateNewUserOrderResponse", + "comment": "خروجی ایجاد سفارش کاربر جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2992, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_27", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "DeleteUserOrderRequest", + "comment": "ورودی حذف سفارش کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 4408, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_25", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetUserOrderRequest", + "comment": "ورودی واکشی یک سفارش کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 3325, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_24", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllUserOrderByFilterRequest", + "comment": "ورودی واکشی سفارش کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllUserOrderByFilterRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 8733, + "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_GetAllUserOrderByFilterRequest_GetAllUserOrderByFilterFilter", + "fields": [ + "Filter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserOrderByFilterFilter", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "GetAllUserOrderByFilterResponse", + "comment": "خروجی واکشی سفارش کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 3838, + "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_GetAllUserOrderByFilterResponse_GetAllUserOrderByFilterResponseModel", + "fields": [ + "Model" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserOrderByFilterResponseModel", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "RoleService", + "comment": "سرویس های نقش", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "RoleService", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 3784, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "CreateNewRole", + "type": "CreateCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "ایجاد نقش جدید", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CreateNewRole", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UpdateRole", + "type": "UpdateCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "ویرایش نقش", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UpdateRole", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "DeleteRole", + "type": "DeleteCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "حذف نقش", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "DeleteRole", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetRole", + "type": "GetOneQuery", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "واکشی یک نقش", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetRole", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetAllRoleByFilter", + "type": "GetAllByFilterQuery", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "واکشی نقش ها بر مبنای فیلتر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetAllRoleByFilter", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_RoleService_CreateNewRoleRequest_1", + "fields": [ + "CreateNewRole" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewRoleRequest", + "referencedFields": [ + "Name" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_RoleService_CreateNewRoleResponse_1", + "fields": [ + "CreateNewRole" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewRoleResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_RoleService_UpdateRoleRequest_1", + "fields": [ + "UpdateRole" + ], + "referencedSchema": "CMS", + "referencedTable": "UpdateRoleRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_RoleService_DeleteRoleRequest_1", + "fields": [ + "DeleteRole" + ], + "referencedSchema": "CMS", + "referencedTable": "DeleteRoleRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_RoleService_GetRoleRequest_1", + "fields": [ + "GetRole" + ], + "referencedSchema": "CMS", + "referencedTable": "GetRoleRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_RoleService_GetRoleResponse_1", + "fields": [ + "GetRole" + ], + "referencedSchema": "CMS", + "referencedTable": "GetRoleResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_RoleService_GetAllRoleByFilterRequest_1", + "fields": [ + "GetAllRoleByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllRoleByFilterRequest", + "referencedFields": [ + "PaginationState" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_RoleService_GetAllRoleByFilterResponse_1", + "fields": [ + "GetAllRoleByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllRoleByFilterResponse", + "referencedFields": [ + "MetaData" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "CreateNewRoleRequest", + "comment": "ورودی ایجاد نقش جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "CreateNewRoleRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 3759, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Name", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "نام لاتین", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Name", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "عنوان", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "CreateNewRoleResponse", + "comment": "خروجی ایجاد نقش جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 1030, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_20", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "UpdateRoleRequest", + "comment": "ورودی ویرایش نقش", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "UpdateRoleRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 7501, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Name", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "نام لاتین", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Name", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "عنوان", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_19", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "DeleteRoleRequest", + "comment": "ورودی حذف نقش", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 4215, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_18", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetRoleRequest", + "comment": "ورودی واکشی یک نقش", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 6260, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_17", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetRoleResponse", + "comment": "خروجی واکشی یک نقش", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetRoleResponse", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 4681, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Name", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "نام لاتین", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Name", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "عنوان", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_16", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllRoleByFilterRequest", + "comment": "ورودی واکشی نقش بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllRoleByFilterRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 5880, + "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_GetAllRoleByFilterRequest_GetAllRoleByFilterFilter", + "fields": [ + "Filter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllRoleByFilterFilter", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "GetAllRoleByFilterFilter", + "comment": "فیلترهای نقش", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllRoleByFilterFilter", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 4865, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Name", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "نام لاتین", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Name", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "عنوان", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_15", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllRoleByFilterResponse", + "comment": "خروجی واکشی نقش بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 6239, + "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_GetAllRoleByFilterResponse_GetAllRoleByFilterResponseModel", + "fields": [ + "Model" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllRoleByFilterResponseModel", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "GetAllRoleByFilterResponseModel", + "comment": "مدل خروجی نقش بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllRoleByFilterResponseModel", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 9764, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Name", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "نام لاتین", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Name", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "عنوان", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_14", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "UserRoleService", + "comment": "سرویس های نقش کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "UserRoleService", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 4272, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "CreateNewUserRole", + "type": "CreateCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "ایجاد نقش کاربر جدید", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CreateNewUserRole", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UpdateUserRole", + "type": "UpdateCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "ویرایش نقش کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UpdateUserRole", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "DeleteUserRole", + "type": "DeleteCommand", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "حذف نقش کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "DeleteUserRole", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetUserRole", + "type": "GetOneQuery", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "واکشی یک نقش کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetUserRole", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetAllUserRoleByFilter", + "type": "GetAllByFilterQuery", + "size": 0, + "isNullable": "Default", + "scale": 0, + "comment": "واکشی نقش کاربر ها بر مبنای فیلتر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetAllUserRoleByFilter", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserRoleService_CreateNewUserRoleRequest_1", + "fields": [ + "CreateNewUserRole" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewUserRoleRequest", + "referencedFields": [ + "RoleId" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserRoleService_CreateNewUserRoleResponse_1", + "fields": [ + "CreateNewUserRole" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewUserRoleResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserRoleService_UpdateUserRoleRequest_1", + "fields": [ + "UpdateUserRole" + ], + "referencedSchema": "CMS", + "referencedTable": "UpdateUserRoleRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserRoleService_DeleteUserRoleRequest_1", + "fields": [ + "DeleteUserRole" + ], + "referencedSchema": "CMS", + "referencedTable": "DeleteUserRoleRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserRoleService_GetUserRoleRequest_1", + "fields": [ + "GetUserRole" + ], + "referencedSchema": "CMS", + "referencedTable": "GetUserRoleRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserRoleService_GetUserRoleResponse_1", + "fields": [ + "GetUserRole" + ], + "referencedSchema": "CMS", + "referencedTable": "GetUserRoleResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserRoleService_GetAllUserRoleByFilterRequest_1", + "fields": [ + "GetAllUserRoleByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserRoleByFilterRequest", + "referencedFields": [ + "PaginationState" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserRoleService_GetAllUserRoleByFilterResponse_1", + "fields": [ + "GetAllUserRoleByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserRoleByFilterResponse", + "referencedFields": [ + "MetaData" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "CreateNewUserRoleRequest", + "comment": "ورودی ایجاد نقش کاربر جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "CreateNewUserRoleRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 8496, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "RoleId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه نقش", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RoleId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "CreateNewUserRoleResponse", + "comment": "خروجی ایجاد نقش کاربر جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2917, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_13", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "UpdateUserRoleRequest", + "comment": "ورودی ویرایش نقش کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "UpdateUserRoleRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 6063, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RoleId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه نقش", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RoleId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_12", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "DeleteUserRoleRequest", + "comment": "ورودی حذف نقش کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2330, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_11", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetUserRoleRequest", + "comment": "ورودی واکشی یک نقش کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 6506, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_10", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetUserRoleResponse", + "comment": "خروجی واکشی یک نقش کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetUserRoleResponse", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 7204, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RoleId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه نقش", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RoleId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_9", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllUserRoleByFilterRequest", + "comment": "ورودی واکشی نقش کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllUserRoleByFilterRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 8038, + "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_GetAllUserRoleByFilterRequest_GetAllUserRoleByFilterFilter", + "fields": [ + "Filter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserRoleByFilterFilter", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "GetAllUserRoleByFilterFilter", + "comment": "فیلترهای نقش کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllUserRoleByFilterFilter", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 1995, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RoleId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه نقش", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RoleId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_8", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllUserRoleByFilterResponse", + "comment": "خروجی واکشی نقش کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 7404, + "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_GetAllUserRoleByFilterResponse_GetAllUserRoleByFilterResponseModel", + "fields": [ + "Model" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserRoleByFilterResponseModel", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "GetAllUserRoleByFilterResponseModel", + "comment": "مدل خروجی نقش کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllUserRoleByFilterResponseModel", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 6909, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RoleId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه نقش", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RoleId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_7", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "OtpToken", + "comment": "توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Mobile", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "موبایل مقصد", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Mobile", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Purpose", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "مقصود", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Purpose", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CodeHash", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "کد هش شده", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CodeHash", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ExpiresAt", + "type": "datetime", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "زمان انقضا", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ExpiresAt", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Attempts", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شمارش تلاش‌ها", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Attempts", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsUsed", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "موفق بود؟", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsUsed", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1_copy_1_copy_2_copy_2", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllOtpTokenByFilterRequest", + "comment": "ورودی واکشی توکن Otp بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllOtpTokenByFilterRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 9624, + "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_GetAllOtpTokenByFilterRequest_GetAllOtpTokenByFilterFilter", + "fields": [ + "Filter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllOtpTokenByFilterFilter", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "GetAllOtpTokenByFilterFilter", + "comment": "فیلترهای توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllOtpTokenByFilterFilter", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 8870, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Mobile", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "موبایل مقصد", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Mobile", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Purpose", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "مقصود", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Purpose", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CodeHash", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "کد هش شده", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CodeHash", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ExpiresAt", + "type": "datetime", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "زمان انقضا", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ExpiresAt", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Attempts", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شمارش تلاش‌ها", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Attempts", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsUsed", + "type": "bit", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "موفق بود؟", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsUsed", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_45", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllOtpTokenByFilterResponse", + "comment": "خروجی واکشی توکن Otp بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 8866, + "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_GetAllOtpTokenByFilterResponse_GetAllOtpTokenByFilterResponseModel", + "fields": [ + "Model" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllOtpTokenByFilterResponseModel", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "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": "GetAllOtpTokenByFilterResponseModel", + "comment": "مدل خروجی توکن Otp بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllOtpTokenByFilterResponseModel", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 8140, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Mobile", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "موبایل مقصد", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Mobile", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Purpose", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "مقصود", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Purpose", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CodeHash", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "کد هش شده", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CodeHash", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ExpiresAt", + "type": "datetime", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "زمان انقضا", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ExpiresAt", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Attempts", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شمارش تلاش‌ها", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Attempts", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsUsed", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "موفق بود؟", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsUsed", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_44", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "CreateNewOtpTokenRequest", + "comment": "ورودی ایجاد توکن Otp جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "CreateNewOtpTokenRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 1890, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Mobile", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "موبایل مقصد", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Mobile", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Purpose", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "مقصود", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Purpose", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "OtpTokenService", + "comment": "سرویس های توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "OtpTokenService", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 4976, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "CreateNewOtpToken", + "type": "CreateCommand", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "ایجاد توکن Otp جدید", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CreateNewOtpToken", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "VerifyOtpToken", + "type": "Command", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "فعال سازی توکن", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "VerifyOtpToken", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetAllOtpTokenByFilter", + "type": "GetAllByFilterQuery", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "واکشی توکن Otp ها بر مبنای فیلتر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetAllOtpTokenByFilter", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_OtpTokenService_CreateNewOtpTokenRequest_1", + "fields": [ + "CreateNewOtpToken" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewOtpTokenRequest", + "referencedFields": [ + "Mobile" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_OtpTokenService_GetAllOtpTokenByFilterRequest_1", + "fields": [ + "GetAllOtpTokenByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllOtpTokenByFilterRequest", + "referencedFields": [ + "PaginationState" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_OtpTokenService_GetAllOtpTokenByFilterResponse_1", + "fields": [ + "GetAllOtpTokenByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllOtpTokenByFilterResponse", + "referencedFields": [ + "MetaData" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_OtpTokenService_CreateNewOtpTokenResponse_1", + "fields": [ + "CreateNewOtpToken" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewOtpTokenResponse", + "referencedFields": [ + "Success" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_OtpTokenService_VerifyOtpTokenRequest_1", + "fields": [ + "VerifyOtpToken" + ], + "referencedSchema": "CMS", + "referencedTable": "VerifyOtpTokenRequest", + "referencedFields": [ + "Mobile" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_OtpTokenService_VerifyOtpTokenResponse_1", + "fields": [ + "VerifyOtpToken" + ], + "referencedSchema": "CMS", + "referencedTable": "VerifyOtpTokenResponse", + "referencedFields": [ + "Success" + ], + "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": "UserService", + "comment": "سرویس های کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "UserService", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 4423, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "CreateNewUser", + "type": "CreateCommand", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "ایجاد کاربر جدید", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CreateNewUser", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UpdateUser", + "type": "UpdateCommand", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "ویرایش کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UpdateUser", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "DeleteUser", + "type": "DeleteCommand", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "حذف کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "DeleteUser", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetUser", + "type": "GetOneQuery", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "واکشی یک کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetUser", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetAllUserByFilter", + "type": "GetAllByFilterQuery", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "واکشی کاربر ها بر مبنای فیلتر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetAllUserByFilter", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetJwtToken", + "type": "Query", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "واکشی توکن", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetJwtToken", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserService_CreateNewUserRequest_1", + "fields": [ + "CreateNewUser" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewUserRequest", + "referencedFields": [ + "FirstName" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserService_CreateNewUserResponse_1", + "fields": [ + "CreateNewUser" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewUserResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserService_UpdateUserRequest_1", + "fields": [ + "UpdateUser" + ], + "referencedSchema": "CMS", + "referencedTable": "UpdateUserRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserService_DeleteUserRequest_1", + "fields": [ + "DeleteUser" + ], + "referencedSchema": "CMS", + "referencedTable": "DeleteUserRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserService_GetUserRequest_1", + "fields": [ + "GetUser" + ], + "referencedSchema": "CMS", + "referencedTable": "GetUserRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserService_GetUserResponse_1", + "fields": [ + "GetUser" + ], + "referencedSchema": "CMS", + "referencedTable": "GetUserResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserService_GetAllUserByFilterRequest_1", + "fields": [ + "GetAllUserByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserByFilterRequest", + "referencedFields": [ + "PaginationState" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserService_GetAllUserByFilterResponse_1", + "fields": [ + "GetAllUserByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserByFilterResponse", + "referencedFields": [ + "MetaData" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserService_GetJwtTokenRequest_1", + "fields": [ + "GetJwtToken" + ], + "referencedSchema": "CMS", + "referencedTable": "GetJwtTokenRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserService_GetJwtTokenResponse_1", + "fields": [ + "GetJwtToken" + ], + "referencedSchema": "CMS", + "referencedTable": "GetJwtTokenResponse", + "referencedFields": [ + "Token" + ], + "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": "GetJwtTokenRequest", + "comment": "ورودی واکشی توکن", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2924, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_43_copy_1", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetJwtTokenResponse", + "comment": "خروجی واکشی توکن", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 6042, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Token", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "توکن", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Token", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_46", + "fields": [], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "VerifyOtpTokenResponse", + "comment": "خروجی فعال‌سازی توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 8040, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Success", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "موفق؟", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Success", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Message", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "پیام", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Message", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RemainingAttempts", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "تلاش باقی مانده", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RemainingAttempts", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RemainingSeconds", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "ثانیه باقی مانده", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RemainingSeconds", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_47_copy_1", + "fields": [], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "CreateNewOtpTokenResponse", + "comment": "خروجی ایجاد توکن Otp جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 8040, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Success", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "موفق؟", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Success", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Message", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "پیام", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Message", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Code", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "کد", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Code", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RemainingAttempts", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "تلاش باقی مانده", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RemainingAttempts", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RemainingSeconds", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "ثانیه باقی مانده", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RemainingSeconds", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_47", + "fields": [], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "VerifyOtpTokenRequest", + "comment": "ورودی فعال‌سازی توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "CreateNewOtpTokenRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 1890, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Mobile", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "موبایل مقصد", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Mobile", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Purpose", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "مقصود", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Purpose", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Code", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "کد", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Code", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ParentReferralCode", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "کد معرف والد", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ParentReferralCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetUserOrderResponse", + "comment": "خروجی واکشی یک سفارش کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetUserOrderResponse", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2961, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Price", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "قیمت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Price", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PackageId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه پکیج", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PackageId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "TransactionId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه تراکنش", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "TransactionId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentStatus", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "وضعیت پرداخت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentStatus", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentDate", + "type": "datetime", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ پرداخت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentDate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserAddressId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserAddressId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_23", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllUserOrderByFilterResponseModel", + "comment": "مدل خروجی سفارش کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllUserOrderByFilterResponseModel", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2138, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Price", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "قیمت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Price", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PackageId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه پکیج", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PackageId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "TransactionId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه تراکنش", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "TransactionId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentStatus", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "وضعیت پرداخت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentStatus", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentDate", + "type": "datetime", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ پرداخت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentDate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserAddressId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserAddressId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_21", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllUserOrderByFilterFilter", + "comment": "فیلترهای سفارش کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllUserOrderByFilterFilter", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 1841, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Price", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "قیمت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Price", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PackageId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه پکیج", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PackageId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "TransactionId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه تراکنش", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "TransactionId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentStatus", + "type": "bit", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "وضعیت پرداخت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentStatus", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentDate", + "type": "datetime", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ پرداخت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentDate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserAddressId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserAddressId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_22", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "UpdateUserOrderRequest", + "comment": "ورودی ویرایش سفارش کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "UpdateUserOrderRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 4722, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Price", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "قیمت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Price", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PackageId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه پکیج", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PackageId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "TransactionId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه تراکنش", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "TransactionId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentStatus", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "وضعیت پرداخت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentStatus", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentDate", + "type": "datetime", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ پرداخت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentDate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserAddressId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserAddressId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_26", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "CreateNewUserOrderRequest", + "comment": "ورودی ایجاد سفارش کاربر جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "CreateNewUserOrderRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 7068, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Price", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "قیمت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Price", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PackageId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه پکیج", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PackageId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "TransactionId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه تراکنش", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "TransactionId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentStatus", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "وضعیت پرداخت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentStatus", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentDate", + "type": "datetime", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ پرداخت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentDate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserAddressId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserAddressId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "CreateNewUserRequest", + "comment": "ورودی ایجاد کاربر جدید", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "CreateNewUserRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2207, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "FirstName", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "نام", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "FirstName", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "LastName", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "نام خانوادگی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "LastName", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Mobile", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شماره موبایل", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Mobile", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "NationalCode", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "کد ملی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "NationalCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "AvatarPath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "آدرس آواتار", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "AvatarPath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ParentId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه والد", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ParentId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "EmailNotifications", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "اعلان ایمیل", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "EmailNotifications", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "SmsNotifications", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "اعلان پیامک", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "SmsNotifications", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PushNotifications", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "اعلان پوش", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PushNotifications", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "BirthDate", + "type": "datetime", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ تولد", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "BirthDate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "UpdateUserRequest", + "comment": "ورودی ویرایش کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "UpdateUserRequest", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 5462, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "FirstName", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "نام", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "FirstName", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "LastName", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "نام خانوادگی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "LastName", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "NationalCode", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "کد ملی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "NationalCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "AvatarPath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "آدرس آواتار", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "AvatarPath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsRulesAccepted", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "قوانین پذیرفته شده؟", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsRulesAccepted", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RulesAcceptedAt", + "type": "datetime", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ پذیرش قوانین", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RulesAcceptedAt", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "EmailNotifications", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "اعلان ایمیل", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "EmailNotifications", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "SmsNotifications", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "اعلان پیامک", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "SmsNotifications", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PushNotifications", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "اعلان پوش", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PushNotifications", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "BirthDate", + "type": "datetime", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ تولد", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "BirthDate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_5", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllUserByFilterResponseModel", + "comment": "مدل خروجی کاربر بر مبنای فیلتر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllUserByFilterResponseModel", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 6827, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "FirstName", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "نام", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "FirstName", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "LastName", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "نام خانوادگی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "LastName", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Mobile", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شماره موبایل", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Mobile", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "NationalCode", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "کد ملی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "NationalCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "AvatarPath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "آدرس آواتار", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "AvatarPath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ParentId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه والد", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ParentId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ReferralCode", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "کد ارجاع", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ReferralCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsMobileVerified ", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "موبایل فعال شده؟", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsMobileVerified ", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "MobileVerifiedAt", + "type": "datetime", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ فعال سازی موبایل", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "MobileVerifiedAt", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "EmailNotifications", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "اعلان ایمیل", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "EmailNotifications", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "SmsNotifications", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "اعلان پیامک", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "SmsNotifications", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PushNotifications", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "اعلان پوش", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PushNotifications", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "BirthDate", + "type": "datetime", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ تولد", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "BirthDate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_4", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetUserResponse", + "comment": "خروجی واکشی یک کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetUserResponse", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 2333, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "FirstName", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "نام", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "FirstName", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "LastName", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "نام خانوادگی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "LastName", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Mobile", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شماره موبایل", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Mobile", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "NationalCode", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "کد ملی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "NationalCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "AvatarPath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "آدرس آواتار", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "AvatarPath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ParentId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه والد", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ParentId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ReferralCode", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "کد ارجاع", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ReferralCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsMobileVerified ", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "موبایل فعال شده؟", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsMobileVerified ", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "MobileVerifiedAt", + "type": "datetime", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ فعال سازی موبایل", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "MobileVerifiedAt", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "EmailNotifications", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "اعلان ایمیل", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "EmailNotifications", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "SmsNotifications", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "اعلان پیامک", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "SmsNotifications", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PushNotifications", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "اعلان پوش", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PushNotifications", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "BirthDate", + "type": "datetime", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ تولد", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "BirthDate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_3", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "GetAllUserByFilterFilter", + "comment": "فیلترهای کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "GetAllUserByFilterFilter", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 8110, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "FirstName", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "نام", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "FirstName", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "LastName", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "نام خانوادگی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "LastName", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Mobile", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شماره موبایل", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Mobile", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "NationalCode", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "کد ملی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "NationalCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "AvatarPath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "آدرس آواتار", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "AvatarPath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ParentId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه والد", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ParentId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ReferralCode", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "کد ارجاع", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ReferralCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsMobileVerified ", + "type": "bit", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "موبایل فعال شده؟", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsMobileVerified ", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "MobileVerifiedAt", + "type": "datetime", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ فعال سازی موبایل", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "MobileVerifiedAt", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "EmailNotifications", + "type": "bit", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "اعلان ایمیل", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "EmailNotifications", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "SmsNotifications", + "type": "bit", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "اعلان پیامک", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "SmsNotifications", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PushNotifications", + "type": "bit", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "اعلان پوش", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PushNotifications", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "BirthDate", + "type": "datetime", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ تولد", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "BirthDate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_2", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "SetAddressAsDefaultRequest", + "comment": "ورودی تعیین آدرس پیشفرض", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 9712, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_39_copy_1", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": false, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": false, + "allowPageLocks": false, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "UserAddressService", + "comment": "سرویس های آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "UserAddressService", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 3851, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "CreateNewUserAddress", + "type": "CreateCommand", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "ایجاد آدرس کاربر جدید", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CreateNewUserAddress", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UpdateUserAddress", + "type": "UpdateCommand", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "ویرایش آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UpdateUserAddress", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "DeleteUserAddress", + "type": "DeleteCommand", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "حذف آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "DeleteUserAddress", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetUserAddress", + "type": "GetOneQuery", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "واکشی یک آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetUserAddress", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "GetAllUserAddressByFilter", + "type": "GetAllByFilterQuery", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "واکشی آدرس کاربر ها بر مبنای فیلتر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "GetAllUserAddressByFilter", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "SetAddressAsDefault", + "type": "Command", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تعیین آدرس پیشفرض", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "SetAddressAsDefault", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserAddressService_CreateNewUserAddressRequest_1", + "fields": [ + "CreateNewUserAddress" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewUserAddressRequest", + "referencedFields": [ + "UserId" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserAddressService_CreateNewUserAddressResponse_1", + "fields": [ + "CreateNewUserAddress" + ], + "referencedSchema": "CMS", + "referencedTable": "CreateNewUserAddressResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserAddressService_UpdateUserAddressRequest_1", + "fields": [ + "UpdateUserAddress" + ], + "referencedSchema": "CMS", + "referencedTable": "UpdateUserAddressRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserAddressService_DeleteUserAddressRequest_1", + "fields": [ + "DeleteUserAddress" + ], + "referencedSchema": "CMS", + "referencedTable": "DeleteUserAddressRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserAddressService_GetUserAddressRequest_1", + "fields": [ + "GetUserAddress" + ], + "referencedSchema": "CMS", + "referencedTable": "GetUserAddressRequest", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserAddressService_GetUserAddressResponse_1", + "fields": [ + "GetUserAddress" + ], + "referencedSchema": "CMS", + "referencedTable": "GetUserAddressResponse", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserAddressService_GetAllUserAddressByFilterRequest_1", + "fields": [ + "GetAllUserAddressByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserAddressByFilterRequest", + "referencedFields": [ + "PaginationState" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserAddressService_GetAllUserAddressByFilterResponse_1", + "fields": [ + "GetAllUserAddressByFilter" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserAddressByFilterResponse", + "referencedFields": [ + "MetaData" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": false, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserAddressService_SetAddressAsDefaultRequest_1", + "fields": [ + "SetAddressAsDefault" + ], + "referencedSchema": "CMS", + "referencedTable": "SetAddressAsDefaultRequest", + "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": "User", + "comment": "کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "FirstName", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "نام", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "FirstName", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "LastName", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "نام خانوادگی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "LastName", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Mobile", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شماره موبایل", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Mobile", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "NationalCode", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "کد ملی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "NationalCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "AvatarPath", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "آدرس آواتار", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "AvatarPath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ParentId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه والد", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ParentId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ReferralCode", + "type": "nvarchar", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "کد ارجاع", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ReferralCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsMobileVerified ", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "موبایل فعال شده؟", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsMobileVerified ", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "MobileVerifiedAt", + "type": "datetime", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ فعال سازی موبایل", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "MobileVerifiedAt", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsRulesAccepted", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "قوانین پذیرفته شده؟", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsRulesAccepted", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RulesAcceptedAt", + "type": "datetime", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ پذیرش قوانین", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RulesAcceptedAt", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "EmailNotifications", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "اعلان ایمیل", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "EmailNotifications", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "SmsNotifications", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "اعلان پیامک", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "SmsNotifications", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PushNotifications", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "اعلان پوش", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PushNotifications", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "BirthDate", + "type": "datetime", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ تولد", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "BirthDate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_6", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_User_User_1", + "fields": [ + "ParentId" + ], + "referencedSchema": "CMS", + "referencedTable": "User", + "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": "UserWallet", + "comment": "آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Balance", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "موجودی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Balance", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1_copy_2", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserWallet_User_1", + "fields": [ + "UserId" + ], + "referencedSchema": "CMS", + "referencedTable": "User", + "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": "UserWalletChangeLog", + "comment": "آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "WalletId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کیف پول", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "WalletId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CurrentBalance", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "موجودی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CurrentBalance", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ChangeValue", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "تغییر موجودی", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ChangeValue", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsIncrease", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "افزایشی؟", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsIncrease", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RefrenceId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه ارجاع", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RefrenceId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1_copy_2_copy_1", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserWalletChangeLog_UserWallet_1", + "fields": [ + "WalletId" + ], + "referencedSchema": "CMS", + "referencedTable": "UserWallet", + "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": "UserCarts", + "comment": "آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Count", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Count", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1_copy_2_copy_1_copy_1_copy_1", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserCarts_User_1", + "fields": [ + "UserId" + ], + "referencedSchema": "CMS", + "referencedTable": "User", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserCarts_Products_1", + "fields": [ + "ProductId" + ], + "referencedSchema": "CMS", + "referencedTable": "Products", + "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": "FactorDetails", + "comment": "آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Count", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Count", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UnitPrice", + "type": "real", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UnitPrice", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UnitDiscount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UnitDiscount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "OrderId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "OrderId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UnitDiscountPrice", + "type": "real", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UnitDiscountPrice", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "IsChangePrice", + "type": "bit", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "IsChangePrice", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1_copy_2_copy_1_copy_1_copy_1_copy_1", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_FactorDetails_UserOrder_1", + "fields": [ + "OrderId" + ], + "referencedSchema": "CMS", + "referencedTable": "UserOrder", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_FactorDetails_Products_1", + "fields": [ + "ProductId" + ], + "referencedSchema": "CMS", + "referencedTable": "Products", + "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": "Products", + "comment": "توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar(max)", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Description", + "type": "nvarchar(max)", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Description", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ShortInfomation", + "type": "nvarchar(max)", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ShortInfomation", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "FullInformation", + "type": "nvarchar(max)", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "FullInformation", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Price", + "type": "float", + "size": 53, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Price", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Discount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Discount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Rate", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Rate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ImagePath", + "type": "nvarchar(max)", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ImagePath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ThumbnailPath", + "type": "nvarchar(max)", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ThumbnailPath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "SaleCount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "SaleCount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ViewCount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ViewCount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RemainingCount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RemainingCount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1_copy_1_copy_2_copy_2_copy_1", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "ProductImages", + "comment": "توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Title", + "type": "nvarchar(max)", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Title", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Description", + "type": "nvarchar(max)", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Description", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ShortInfomation", + "type": "nvarchar(max)", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ShortInfomation", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "FullInformation", + "type": "nvarchar(max)", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "FullInformation", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Price", + "type": "float", + "size": 53, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Price", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Discount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Discount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Rate", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Rate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ImagePath", + "type": "nvarchar(max)", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ImagePath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ThumbnailPath", + "type": "nvarchar(max)", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ThumbnailPath", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "SaleCount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "SaleCount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ViewCount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ViewCount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RemainingCount", + "type": "int", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RemainingCount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1_copy_1_copy_2_copy_2_copy_1_copy_1", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "ProductGallerys", + "comment": "توکن Otp", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductImageId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductImageId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "ProductId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1_copy_1_copy_2_copy_2_copy_1_copy_1_copy_1", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductGallerys_Products_1", + "fields": [ + "ProductId" + ], + "referencedSchema": "CMS", + "referencedTable": "Products", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_ProductGallerys_ProductImages_1", + "fields": [ + "ProductImageId" + ], + "referencedSchema": "CMS", + "referencedTable": "ProductImages", + "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": "PaymentStatus", + "comment": "پکیج", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Success", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Success", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Reject", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Reject", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Pending", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Pending", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1_copy_1_copy_3", + "fields": [], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "UserOrder", + "comment": "سفارش کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Price", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "قیمت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Price", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PackageId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه پکیج", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PackageId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "TransactionId", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "شناسه تراکنش", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "TransactionId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentStatus", + "type": "enum", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "وضعیت پرداخت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentStatus", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentDate", + "type": "datetime2", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ پرداخت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentDate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserAddressId", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "شناسه آدرس کاربر", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "Others", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "UserAddressId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1_copy_1_copy_1", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserOrder_Package_1", + "fields": [ + "PackageId" + ], + "referencedSchema": "CMS", + "referencedTable": "Package", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserOrder_User_1", + "fields": [ + "UserId" + ], + "referencedSchema": "CMS", + "referencedTable": "User", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserOrder_UserAddress_1", + "fields": [ + "UserAddressId" + ], + "referencedSchema": "CMS", + "referencedTable": "UserAddress", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_UserOrder_PaymentStatus_1", + "fields": [ + "PaymentStatus" + ], + "referencedSchema": "CMS", + "referencedTable": "PaymentStatus", + "referencedFields": [ + "Success" + ], + "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": "TransactionType", + "comment": "پکیج", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Buy", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Buy", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "DepositIpg", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "DepositIpg", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "DepositExternal1", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "DepositExternal1", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Withdraw", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Withdraw", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1_copy_1_copy_3_copy_1", + "fields": [], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [], + "uniques": [], + "checks": [], + "triggers": [], + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + { + "objectType": "Table_MSSQL", + "name": "Transactions", + "comment": "آدرس کاربر", + "owner": "", + "isChangeTracking": false, + "isTrackColumnsUpdated": false, + "oldName": "", + "isSystemTable": false, + "createTime": "", + "modifyTime": "", + "objectID": 0, + "numberOfRows": 0, + "identityCurrent": 0, + "dataLength": 0, + "indexLength": 0, + "fields": [ + { + "objectType": "TableField_MSSQL", + "name": "Id", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "MerchantId", + "type": "nvarchar(max)", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "MerchantId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Amount", + "type": "bigint", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Amount", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CallbackUrl", + "type": "nvarchar(max)", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CallbackUrl", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Description", + "type": "nvarchar(max)", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Description", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Mobile", + "type": "nvarchar(max)", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Mobile", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Email", + "type": "nvarchar(max)", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Email", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RequestStatusCode", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RequestStatusCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RequestStatusMessage", + "type": "nvarchar(max)", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RequestStatusMessage", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Authority", + "type": "nvarchar(max)", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Authority", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "FeeType", + "type": "nvarchar(max)", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "FeeType", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Fee", + "type": "bigint", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Fee", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Currency", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Currency", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentStatus", + "type": "enum", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentStatus", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentDate", + "type": "datetime2", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "تاریخ پرداخت", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "PaymentDate", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "VerificationStatusCode", + "type": "int", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "VerificationStatusCode", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "VerificationStatusMessage", + "type": "nvarchar(max)", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "VerificationStatusMessage", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CardHash", + "type": "nvarchar(max)", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CardHash", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "CardPan", + "type": "nvarchar(max)", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "CardPan", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "RefId", + "type": "nvarchar(max)", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "RefId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "OrderId", + "type": "nvarchar(max)", + "size": -2147483648, + "isNullable": "Yes", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "SQL_Latin1_General_CP1_CI_AS", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "OrderId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Type", + "type": "enum", + "size": -2147483648, + "isNullable": "No", + "scale": -2147483648, + "comment": "", + "computedExpression": "", + "defaultValue": "", + "defaultValueType": "None", + "schema": "sys", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Type", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_1_copy_2_copy_1_copy_1", + "fields": [ + "Id" + ], + "fillFactor": 0, + "oldName": "", + "isClustered": true, + "isPadded": false, + "noRecomputeStatistics": false, + "ignoreDuplicatedKeyValues": false, + "allowRowLocks": true, + "allowPageLocks": true, + "storage": { + "objectType": "Storage_MSSQL", + "name": "", + "oldName": "", + "storageType": "Default", + "filegroup": "", + "textImageFilegroup": "", + "filestreamFilegroup": "", + "partitionScheme": "", + "partitionColumn": "", + "filestreamPartitionScheme": "", + "dataCompressions": [] + } + }, + "foreignKeys": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_Transactions_UserOrder_1", + "fields": [ + "OrderId" + ], + "referencedSchema": "CMS", + "referencedTable": "UserOrder", + "referencedFields": [ + "Id" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_Transactions_PaymentStatus_1", + "fields": [ + "PaymentStatus" + ], + "referencedSchema": "CMS", + "referencedTable": "PaymentStatus", + "referencedFields": [ + "Success" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_Transactions_TransactionType_1", + "fields": [ + "Type" + ], + "referencedSchema": "CMS", + "referencedTable": "TransactionType", + "referencedFields": [ + "Buy" + ], + "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": [] + } + ] + } + ] + }, + "diagrams": [ + { + "name": "CMS", + "paperWidth": 3, + "paperHeight": 1, + "tableFont": "Arial Unicode MS", + "tableFontSize": 14, + "isBalckWhite": false, + "showDBSchemaName": true, + "showViewRelations": true, + "notation": "default", + "showFieldComment": true, + "showTableComment": true, + "shapes": [ + { + "type": "table", + "schemaName": "CMS", + "tableName": "User", + "x": 5890, + "y": 1330, + "width": 370, + "height": 400, + "isBold": false, + "titleColor": { + "r": 55, + "g": 131, + "b": 192, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UserAddress", + "x": 6240, + "y": 1060, + "width": 310, + "height": 220, + "isBold": false, + "titleColor": { + "r": 55, + "g": 131, + "b": 192, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "Package", + "x": 7160, + "y": 1040, + "width": 310, + "height": 170, + "isBold": false, + "titleColor": { + "r": 55, + "g": 131, + "b": 192, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UserOrder", + "x": 6670, + "y": 940, + "width": 310, + "height": 285, + "isBold": false, + "titleColor": { + "r": 55, + "g": 131, + "b": 192, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "Role", + "x": 5810, + "y": 640, + "width": 310, + "height": 130, + "isBold": false, + "titleColor": { + "r": 55, + "g": 131, + "b": 192, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UserRole", + "x": 5810, + "y": 820, + "width": 310, + "height": 130, + "isBold": false, + "titleColor": { + "r": 55, + "g": 131, + "b": 192, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UserService", + "x": 2580, + "y": 3620, + "width": 400, + "height": 190, + "isBold": false, + "titleColor": { + "r": 0, + "g": 0, + "b": 0, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewUserRequest", + "x": 2820, + "y": 2130, + "width": 400, + "height": 270, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewUserResponse", + "x": 2450, + "y": 1980, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UpdateUserRequest", + "x": 2070, + "y": 3560, + "width": 400, + "height": 300, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "DeleteUserRequest", + "x": 2580, + "y": 3860, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetUserRequest", + "x": 3720, + "y": 3740, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetUserResponse", + "x": 3720, + "y": 3330, + "width": 400, + "height": 350, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserByFilterRequest", + "x": 3660, + "y": 3150, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserByFilterFilter", + "x": 4110, + "y": 2930, + "width": 400, + "height": 350, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserByFilterResponse", + "x": 3600, + "y": 2760, + "width": 400, + "height": 118, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserByFilterResponseModel", + "x": 4050, + "y": 2530, + "width": 400, + "height": 350, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UserAddressService", + "x": 5110, + "y": 2300, + "width": 400, + "height": 200, + "isBold": false, + "titleColor": { + "r": 0, + "g": 0, + "b": 0, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewUserAddressRequest", + "x": 3330, + "y": 2160, + "width": 400, + "height": 213, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewUserAddressResponse", + "x": 3460, + "y": 2430, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UpdateUserAddressRequest", + "x": 5110, + "y": 2550, + "width": 400, + "height": 213, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "DeleteUserAddressRequest", + "x": 5620, + "y": 2340, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetUserAddressRequest", + "x": 5110, + "y": 2140, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetUserAddressResponse", + "x": 4600, + "y": 2080, + "width": 400, + "height": 213, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserAddressByFilterRequest", + "x": 4090, + "y": 1560, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserAddressByFilterFilter", + "x": 3580, + "y": 1480, + "width": 400, + "height": 213, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserAddressByFilterResponse", + "x": 4030, + "y": 1980, + "width": 400, + "height": 118, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserAddressByFilterResponseModel", + "x": 3580, + "y": 1900, + "width": 400, + "height": 213, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "PackageService", + "x": 3070, + "y": 250, + "width": 400, + "height": 175, + "isBold": false, + "titleColor": { + "r": 0, + "g": 0, + "b": 0, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewPackageRequest", + "x": 2900, + "y": 1830, + "width": 400, + "height": 175, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewPackageResponse", + "x": 3350, + "y": 1740, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UpdatePackageRequest", + "x": 3520, + "y": 250, + "width": 400, + "height": 175, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "DeletePackageRequest", + "x": 3070, + "y": 30, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetPackageRequest", + "x": 2620, + "y": 280, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetPackageResponse", + "x": 2740, + "y": 530, + "width": 400, + "height": 175, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllPackageByFilterRequest", + "x": 2810, + "y": 820, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllPackageByFilterFilter", + "x": 2810, + "y": 1010, + "width": 400, + "height": 175, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllPackageByFilterResponse", + "x": 2890, + "y": 1290, + "width": 400, + "height": 118, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllPackageByFilterResponseModel", + "x": 2890, + "y": 1460, + "width": 400, + "height": 175, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UserOrderService", + "x": 540, + "y": 2480, + "width": 400, + "height": 175, + "isBold": false, + "titleColor": { + "r": 0, + "g": 0, + "b": 0, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewUserOrderRequest", + "x": 1820, + "y": 1810, + "width": 400, + "height": 220, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewUserOrderResponse", + "x": 780, + "y": 1760, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UpdateUserOrderRequest", + "x": 410, + "y": 1480, + "width": 400, + "height": 230, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "DeleteUserOrderRequest", + "x": 30, + "y": 2510, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetUserOrderRequest", + "x": 540, + "y": 2700, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetUserOrderResponse", + "x": 1110, + "y": 2560, + "width": 400, + "height": 240, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserOrderByFilterRequest", + "x": 1110, + "y": 2370, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserOrderByFilterFilter", + "x": 1560, + "y": 2370, + "width": 400, + "height": 240, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserOrderByFilterResponse", + "x": 1050, + "y": 2190, + "width": 400, + "height": 118, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserOrderByFilterResponseModel", + "x": 1500, + "y": 2080, + "width": 400, + "height": 240, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "RoleService", + "x": 1650, + "y": 5360, + "width": 400, + "height": 175, + "isBold": false, + "titleColor": { + "r": 0, + "g": 0, + "b": 0, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewRoleRequest", + "x": 1820, + "y": 3950, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewRoleResponse", + "x": 1370, + "y": 4040, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UpdateRoleRequest", + "x": 1200, + "y": 5370, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "DeleteRoleRequest", + "x": 1650, + "y": 5580, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetRoleRequest", + "x": 2100, + "y": 5390, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetRoleResponse", + "x": 1970, + "y": 5110, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllRoleByFilterRequest", + "x": 1900, + "y": 4860, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllRoleByFilterFilter", + "x": 1900, + "y": 4670, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllRoleByFilterResponse", + "x": 1820, + "y": 4440, + "width": 400, + "height": 118, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllRoleByFilterResponseModel", + "x": 1820, + "y": 4260, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UserRoleService", + "x": 10080, + "y": 3850, + "width": 400, + "height": 175, + "isBold": false, + "titleColor": { + "r": 0, + "g": 0, + "b": 0, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewUserRoleRequest", + "x": 6000, + "y": 3950, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewUserRoleResponse", + "x": 8040, + "y": 3950, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UpdateUserRoleRequest", + "x": 10080, + "y": 4070, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "DeleteUserRoleRequest", + "x": 10590, + "y": 3880, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetUserRoleRequest", + "x": 10080, + "y": 3690, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetUserRoleResponse", + "x": 9570, + "y": 3710, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserRoleByFilterRequest", + "x": 9060, + "y": 3750, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserRoleByFilterFilter", + "x": 8610, + "y": 3750, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserRoleByFilterResponse", + "x": 8100, + "y": 2950, + "width": 400, + "height": 118, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserRoleByFilterResponseModel", + "x": 7650, + "y": 2940, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "OtpToken", + "x": 7750, + "y": 1740, + "width": 310, + "height": 230, + "isBold": false, + "titleColor": { + "r": 55, + "g": 131, + "b": 192, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "OtpTokenService", + "x": 7200, + "y": 3240, + "width": 400, + "height": 150, + "isBold": false, + "titleColor": { + "r": 0, + "g": 0, + "b": 0, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewOtpTokenRequest", + "x": 5880, + "y": 3130, + "width": 400, + "height": 110, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "CreateNewOtpTokenResponse", + "x": 6130, + "y": 3290, + "width": 400, + "height": 180, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllOtpTokenByFilterRequest", + "x": 7200, + "y": 3440, + "width": 400, + "height": 137, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllOtpTokenByFilterFilter", + "x": 7200, + "y": 3630, + "width": 400, + "height": 213, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllOtpTokenByFilterResponse", + "x": 7650, + "y": 3130, + "width": 400, + "height": 118, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllOtpTokenByFilterResponseModel", + "x": 8100, + "y": 3120, + "width": 400, + "height": 213, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "VerifyOtpTokenRequest", + "x": 7090, + "y": 2970, + "width": 400, + "height": 160, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "VerifyOtpTokenResponse", + "x": 6640, + "y": 3080, + "width": 400, + "height": 180, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetJwtTokenRequest", + "x": 3090, + "y": 3500, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetJwtTokenResponse", + "x": 2930, + "y": 3340, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "SetAddressAsDefaultRequest", + "x": 3970, + "y": 2280, + "width": 400, + "height": 106, + "isBold": false, + "titleColor": { + "r": 255, + "g": 214, + "b": 147, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UserWallet", + "x": 5470, + "y": 1420, + "width": 310, + "height": 220, + "isBold": false, + "titleColor": { + "r": 55, + "g": 131, + "b": 192, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UserWalletChangeLog", + "x": 5110, + "y": 1420, + "width": 310, + "height": 220, + "isBold": false, + "titleColor": { + "r": 55, + "g": 131, + "b": 192, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "Transactions", + "x": 6590, + "y": 330, + "width": 310, + "height": 560, + "isBold": false, + "titleColor": { + "r": 55, + "g": 131, + "b": 192, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "UserCarts", + "x": 6310, + "y": 1740, + "width": 310, + "height": 220, + "isBold": false, + "titleColor": { + "r": 55, + "g": 131, + "b": 192, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "FactorDetails", + "x": 6670, + "y": 1330, + "width": 310, + "height": 290, + "isBold": false, + "titleColor": { + "r": 55, + "g": 131, + "b": 192, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "Products", + "x": 6670, + "y": 1670, + "width": 310, + "height": 358, + "isBold": false, + "titleColor": { + "r": 55, + "g": 131, + "b": 192, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "ProductImages", + "x": 7390, + "y": 1670, + "width": 310, + "height": 358, + "isBold": false, + "titleColor": { + "r": 55, + "g": 131, + "b": 192, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "ProductGallerys", + "x": 7030, + "y": 1670, + "width": 310, + "height": 358, + "isBold": false, + "titleColor": { + "r": 55, + "g": 131, + "b": 192, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "PaymentStatus", + "x": 6950, + "y": 520, + "width": 310, + "height": 170, + "isBold": false, + "titleColor": { + "r": 190, + "g": 220, + "b": 255, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "TransactionType", + "x": 6230, + "y": 520, + "width": 310, + "height": 170, + "isBold": false, + "titleColor": { + "r": 190, + "g": 220, + "b": 255, + "a": 1 + } + } + ], + "layers": [ + { + "name": "Domain", + "x": 5060, + "y": 270, + "width": 3060, + "height": 1815, + "layerColor": { + "r": 100, + "g": 234, + "b": 136, + "a": 1 + }, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + } + } + ], + "relations": [ + { + "name": "fk_User_User_1", + "sourceTableName": "User", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 6275, + "y": 1710 + }, + { + "x": 6300, + "y": 1710 + }, + { + "x": 6300, + "y": 1770 + }, + { + "x": 6240, + "y": 1770 + }, + { + "x": 6240, + "y": 1745 + } + ], + "label": { + "x": 6265, + "y": 1672, + "width": 104, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserAddress_User_1", + "sourceTableName": "UserAddress", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 6225, + "y": 1170 + }, + { + "x": 6190, + "y": 1170 + }, + { + "x": 6190, + "y": 1315 + } + ], + "label": { + "x": 6078, + "y": 1132, + "width": 157, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserRole_Role_1", + "sourceTableName": "UserRole", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 5960, + "y": 805 + }, + { + "x": 5960, + "y": 785 + } + ], + "label": { + "x": 5968, + "y": 815, + "width": 135, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserRole_User_1", + "sourceTableName": "UserRole", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 5960, + "y": 965 + }, + { + "x": 5960, + "y": 1315 + } + ], + "label": { + "x": 5828, + "y": 915, + "width": 134, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserOrder_Package_1", + "sourceTableName": "UserOrder", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 6995, + "y": 1120 + }, + { + "x": 7145, + "y": 1120 + } + ], + "label": { + "x": 6817, + "y": 1082, + "width": 168, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserOrder_User_1", + "sourceTableName": "UserOrder", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 6655, + "y": 1010 + }, + { + "x": 6070, + "y": 1010 + }, + { + "x": 6070, + "y": 1315 + } + ], + "label": { + "x": 6523, + "y": 972, + "width": 142, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserService_CreateNewUserRequest_1", + "sourceTableName": "UserService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 2760, + "y": 3605 + }, + { + "x": 2760, + "y": 2270 + }, + { + "x": 2805, + "y": 2270 + } + ], + "label": { + "x": 2768, + "y": 3615, + "width": 278, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserService_CreateNewUserResponse_1", + "sourceTableName": "UserService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 2650, + "y": 3605 + }, + { + "x": 2650, + "y": 2101 + } + ], + "label": { + "x": 2658, + "y": 3585, + "width": 288, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserService_UpdateUserRequest_1", + "sourceTableName": "UserService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 2565, + "y": 3710 + }, + { + "x": 2485, + "y": 3710 + } + ], + "label": { + "x": 2581, + "y": 3712, + "width": 254, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserService_DeleteUserRequest_1", + "sourceTableName": "UserService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 2780, + "y": 3825 + }, + { + "x": 2780, + "y": 3845 + } + ], + "label": { + "x": 2788, + "y": 3785, + "width": 249, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserService_GetUserRequest_1", + "sourceTableName": "UserService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 2995, + "y": 3790 + }, + { + "x": 3705, + "y": 3790 + } + ], + "label": { + "x": 2991, + "y": 3762, + "width": 228, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserService_GetUserResponse_1", + "sourceTableName": "UserService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 2995, + "y": 3710 + }, + { + "x": 3660, + "y": 3710 + }, + { + "x": 3660, + "y": 3620 + }, + { + "x": 3705, + "y": 3620 + } + ], + "label": { + "x": 2991, + "y": 3712, + "width": 238, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserService_GetAllUserByFilterRequest_1", + "sourceTableName": "UserService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 2995, + "y": 3680 + }, + { + "x": 3600, + "y": 3680 + }, + { + "x": 3600, + "y": 3220 + }, + { + "x": 3645, + "y": 3220 + } + ], + "label": { + "x": 2991, + "y": 3682, + "width": 295, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserService_GetAllUserByFilterResponse_1", + "sourceTableName": "UserService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 2995, + "y": 3660 + }, + { + "x": 3540, + "y": 3660 + }, + { + "x": 3540, + "y": 2820 + }, + { + "x": 3585, + "y": 2820 + } + ], + "label": { + "x": 2991, + "y": 3662, + "width": 305, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllUserByFilterRequest_GetAllUserByFilterFilter", + "sourceTableName": "GetAllUserByFilterRequest", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 4075, + "y": 3220 + }, + { + "x": 4095, + "y": 3220 + } + ], + "label": { + "x": 4071, + "y": 3222, + "width": 357, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllUserByFilterResponse_GetAllUserByFilterResponseModel", + "sourceTableName": "GetAllUserByFilterResponse", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 4015, + "y": 2810 + }, + { + "x": 4035, + "y": 2810 + } + ], + "label": { + "x": 4011, + "y": 2812, + "width": 442, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserAddressService_CreateNewUserAddressRequest_1", + "sourceTableName": "UserAddressService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 5095, + "y": 2450 + }, + { + "x": 3920, + "y": 2450 + }, + { + "x": 3920, + "y": 2300 + }, + { + "x": 3745, + "y": 2300 + } + ], + "label": { + "x": 5111, + "y": 2452, + "width": 384, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserAddressService_CreateNewUserAddressResponse_1", + "sourceTableName": "UserAddressService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 5095, + "y": 2480 + }, + { + "x": 3875, + "y": 2480 + } + ], + "label": { + "x": 5111, + "y": 2452, + "width": 394, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserAddressService_UpdateUserAddressRequest_1", + "sourceTableName": "UserAddressService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 5310, + "y": 2515 + }, + { + "x": 5310, + "y": 2535 + } + ], + "label": { + "x": 5318, + "y": 2505, + "width": 360, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserAddressService_DeleteUserAddressRequest_1", + "sourceTableName": "UserAddressService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 5525, + "y": 2400 + }, + { + "x": 5605, + "y": 2400 + } + ], + "label": { + "x": 5521, + "y": 2372, + "width": 355, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserAddressService_GetUserAddressRequest_1", + "sourceTableName": "UserAddressService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 5310, + "y": 2285 + }, + { + "x": 5310, + "y": 2261 + } + ], + "label": { + "x": 5318, + "y": 2265, + "width": 334, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserAddressService_GetUserAddressResponse_1", + "sourceTableName": "UserAddressService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 5095, + "y": 2320 + }, + { + "x": 5060, + "y": 2320 + }, + { + "x": 5060, + "y": 2230 + }, + { + "x": 5015, + "y": 2230 + } + ], + "label": { + "x": 5111, + "y": 2322, + "width": 344, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserAddressService_GetAllUserAddressByFilterRequest_1", + "sourceTableName": "UserAddressService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 5095, + "y": 2350 + }, + { + "x": 4550, + "y": 2350 + }, + { + "x": 4550, + "y": 1630 + }, + { + "x": 4505, + "y": 1630 + } + ], + "label": { + "x": 5111, + "y": 2352, + "width": 401, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserAddressService_GetAllUserAddressByFilterResponse_1", + "sourceTableName": "UserAddressService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 5095, + "y": 2380 + }, + { + "x": 4490, + "y": 2380 + }, + { + "x": 4490, + "y": 2050 + }, + { + "x": 4445, + "y": 2050 + } + ], + "label": { + "x": 5111, + "y": 2382, + "width": 411, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllUserAddressByFilterRequest_GetAllUserAddressByFilterFilter", + "sourceTableName": "GetAllUserAddressByFilterRequest", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 4075, + "y": 1620 + }, + { + "x": 3995, + "y": 1620 + } + ], + "label": { + "x": 4091, + "y": 1622, + "width": 463, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllUserAddressByFilterResponse_GetAllUserAddressByFilterResponseModel", + "sourceTableName": "GetAllUserAddressByFilterResponse", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 4015, + "y": 2040 + }, + { + "x": 3995, + "y": 2040 + } + ], + "label": { + "x": 4031, + "y": 2042, + "width": 548, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_PackageService_CreateNewPackageRequest_1", + "sourceTableName": "PackageService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 3340, + "y": 440 + }, + { + "x": 3340, + "y": 1690 + }, + { + "x": 3230, + "y": 1690 + }, + { + "x": 3230, + "y": 1815 + } + ], + "label": { + "x": 3348, + "y": 430, + "width": 330, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_PackageService_CreateNewPackageResponse_1", + "sourceTableName": "PackageService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 3420, + "y": 440 + }, + { + "x": 3420, + "y": 1725 + } + ], + "label": { + "x": 3428, + "y": 400, + "width": 340, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_PackageService_UpdatePackageRequest_1", + "sourceTableName": "PackageService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 3485, + "y": 340 + }, + { + "x": 3505, + "y": 340 + } + ], + "label": { + "x": 3481, + "y": 342, + "width": 306, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_PackageService_DeletePackageRequest_1", + "sourceTableName": "PackageService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 3270, + "y": 235 + }, + { + "x": 3270, + "y": 151 + } + ], + "label": { + "x": 3278, + "y": 215, + "width": 301, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_PackageService_GetPackageRequest_1", + "sourceTableName": "PackageService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 3055, + "y": 340 + }, + { + "x": 3035, + "y": 340 + } + ], + "label": { + "x": 3071, + "y": 312, + "width": 280, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_PackageService_GetPackageResponse_1", + "sourceTableName": "PackageService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 3110, + "y": 440 + }, + { + "x": 3110, + "y": 480 + }, + { + "x": 3070, + "y": 480 + }, + { + "x": 3070, + "y": 515 + } + ], + "label": { + "x": 3118, + "y": 430, + "width": 290, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_PackageService_GetAllPackageByFilterRequest_1", + "sourceTableName": "PackageService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 3190, + "y": 440 + }, + { + "x": 3190, + "y": 760 + }, + { + "x": 3140, + "y": 760 + }, + { + "x": 3140, + "y": 805 + } + ], + "label": { + "x": 3198, + "y": 430, + "width": 347, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_PackageService_GetAllPackageByFilterResponse_1", + "sourceTableName": "PackageService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 3270, + "y": 440 + }, + { + "x": 3270, + "y": 1240 + }, + { + "x": 3220, + "y": 1240 + }, + { + "x": 3220, + "y": 1275 + } + ], + "label": { + "x": 3278, + "y": 430, + "width": 357, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllPackageByFilterRequest_GetAllPackageByFilterFilter", + "sourceTableName": "GetAllPackageByFilterRequest", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 3010, + "y": 972 + }, + { + "x": 3010, + "y": 995 + } + ], + "label": { + "x": 3018, + "y": 962, + "width": 409, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllPackageByFilterResponse_GetAllPackageByFilterResponseModel", + "sourceTableName": "GetAllPackageByFilterResponse", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 3090, + "y": 1423 + }, + { + "x": 3090, + "y": 1445 + } + ], + "label": { + "x": 3098, + "y": 1413, + "width": 494, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserOrderService_CreateNewUserOrderRequest_1", + "sourceTableName": "UserOrderService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 830, + "y": 2465 + }, + { + "x": 830, + "y": 1920 + }, + { + "x": 1805, + "y": 1920 + } + ], + "label": { + "x": 838, + "y": 2475, + "width": 354, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserOrderService_CreateNewUserOrderResponse_1", + "sourceTableName": "UserOrderService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 720, + "y": 2465 + }, + { + "x": 720, + "y": 1810 + }, + { + "x": 765, + "y": 1810 + } + ], + "label": { + "x": 728, + "y": 2445, + "width": 364, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserOrderService_UpdateUserOrderRequest_1", + "sourceTableName": "UserOrderService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 610, + "y": 2465 + }, + { + "x": 610, + "y": 1725 + } + ], + "label": { + "x": 618, + "y": 2475, + "width": 330, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserOrderService_DeleteUserOrderRequest_1", + "sourceTableName": "UserOrderService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 525, + "y": 2560 + }, + { + "x": 445, + "y": 2560 + } + ], + "label": { + "x": 541, + "y": 2532, + "width": 325, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserOrderService_GetUserOrderRequest_1", + "sourceTableName": "UserOrderService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 740, + "y": 2670 + }, + { + "x": 740, + "y": 2685 + } + ], + "label": { + "x": 748, + "y": 2630, + "width": 304, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserOrderService_GetUserOrderResponse_1", + "sourceTableName": "UserOrderService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 955, + "y": 2630 + }, + { + "x": 1095, + "y": 2630 + } + ], + "label": { + "x": 951, + "y": 2632, + "width": 314, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserOrderService_GetAllUserOrderByFilterRequest_1", + "sourceTableName": "UserOrderService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 955, + "y": 2530 + }, + { + "x": 1060, + "y": 2530 + }, + { + "x": 1060, + "y": 2440 + }, + { + "x": 1095, + "y": 2440 + } + ], + "label": { + "x": 951, + "y": 2532, + "width": 371, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserOrderService_GetAllUserOrderByFilterResponse_1", + "sourceTableName": "UserOrderService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 955, + "y": 2500 + }, + { + "x": 1000, + "y": 2500 + }, + { + "x": 1000, + "y": 2260 + }, + { + "x": 1035, + "y": 2260 + } + ], + "label": { + "x": 951, + "y": 2502, + "width": 381, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllUserOrderByFilterRequest_GetAllUserOrderByFilterFilter", + "sourceTableName": "GetAllUserOrderByFilterRequest", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 1525, + "y": 2440 + }, + { + "x": 1545, + "y": 2440 + } + ], + "label": { + "x": 1521, + "y": 2442, + "width": 433, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllUserOrderByFilterResponse_GetAllUserOrderByFilterResponseModel", + "sourceTableName": "GetAllUserOrderByFilterResponse", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 1465, + "y": 2250 + }, + { + "x": 1485, + "y": 2250 + } + ], + "label": { + "x": 1461, + "y": 2252, + "width": 518, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_RoleService_CreateNewRoleRequest_1", + "sourceTableName": "RoleService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 1770, + "y": 5345 + }, + { + "x": 1770, + "y": 4200 + }, + { + "x": 1880, + "y": 4200 + }, + { + "x": 1880, + "y": 4102 + } + ], + "label": { + "x": 1778, + "y": 5355, + "width": 280, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_RoleService_CreateNewRoleResponse_1", + "sourceTableName": "RoleService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 1690, + "y": 5345 + }, + { + "x": 1690, + "y": 4161 + } + ], + "label": { + "x": 1698, + "y": 5325, + "width": 290, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_RoleService_UpdateRoleRequest_1", + "sourceTableName": "RoleService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 1635, + "y": 5440 + }, + { + "x": 1615, + "y": 5440 + } + ], + "label": { + "x": 1651, + "y": 5442, + "width": 256, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_RoleService_DeleteRoleRequest_1", + "sourceTableName": "RoleService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 1850, + "y": 5550 + }, + { + "x": 1850, + "y": 5565 + } + ], + "label": { + "x": 1858, + "y": 5510, + "width": 251, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_RoleService_GetRoleRequest_1", + "sourceTableName": "RoleService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 2065, + "y": 5440 + }, + { + "x": 2085, + "y": 5440 + } + ], + "label": { + "x": 2061, + "y": 5412, + "width": 230, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_RoleService_GetRoleResponse_1", + "sourceTableName": "RoleService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 2000, + "y": 5345 + }, + { + "x": 2000, + "y": 5300 + }, + { + "x": 2050, + "y": 5300 + }, + { + "x": 2050, + "y": 5262 + } + ], + "label": { + "x": 2008, + "y": 5355, + "width": 240, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_RoleService_GetAllRoleByFilterRequest_1", + "sourceTableName": "RoleService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 1920, + "y": 5345 + }, + { + "x": 1920, + "y": 5050 + }, + { + "x": 1970, + "y": 5050 + }, + { + "x": 1970, + "y": 5012 + } + ], + "label": { + "x": 1928, + "y": 5355, + "width": 297, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_RoleService_GetAllRoleByFilterResponse_1", + "sourceTableName": "RoleService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 1840, + "y": 5345 + }, + { + "x": 1840, + "y": 4620 + }, + { + "x": 1900, + "y": 4620 + }, + { + "x": 1900, + "y": 4573 + } + ], + "label": { + "x": 1848, + "y": 5355, + "width": 307, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllRoleByFilterRequest_GetAllRoleByFilterFilter", + "sourceTableName": "GetAllRoleByFilterRequest", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 2100, + "y": 4845 + }, + { + "x": 2100, + "y": 4822 + } + ], + "label": { + "x": 2108, + "y": 4855, + "width": 359, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllRoleByFilterResponse_GetAllRoleByFilterResponseModel", + "sourceTableName": "GetAllRoleByFilterResponse", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 2020, + "y": 4425 + }, + { + "x": 2020, + "y": 4412 + } + ], + "label": { + "x": 2028, + "y": 4435, + "width": 444, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserRoleService_CreateNewUserRoleRequest_1", + "sourceTableName": "UserRoleService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 10065, + "y": 3970 + }, + { + "x": 8500, + "y": 3970 + }, + { + "x": 8500, + "y": 3890 + }, + { + "x": 6200, + "y": 3890 + }, + { + "x": 6200, + "y": 3935 + } + ], + "label": { + "x": 10081, + "y": 3972, + "width": 338, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserRoleService_CreateNewUserRoleResponse_1", + "sourceTableName": "UserRoleService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 10065, + "y": 4000 + }, + { + "x": 8455, + "y": 4000 + } + ], + "label": { + "x": 10081, + "y": 3972, + "width": 348, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserRoleService_UpdateUserRoleRequest_1", + "sourceTableName": "UserRoleService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 10280, + "y": 4040 + }, + { + "x": 10280, + "y": 4055 + } + ], + "label": { + "x": 10288, + "y": 4030, + "width": 314, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserRoleService_DeleteUserRoleRequest_1", + "sourceTableName": "UserRoleService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 10495, + "y": 3940 + }, + { + "x": 10575, + "y": 3940 + } + ], + "label": { + "x": 10491, + "y": 3912, + "width": 309, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserRoleService_GetUserRoleRequest_1", + "sourceTableName": "UserRoleService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 10280, + "y": 3835 + }, + { + "x": 10280, + "y": 3811 + } + ], + "label": { + "x": 10288, + "y": 3815, + "width": 288, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserRoleService_GetUserRoleResponse_1", + "sourceTableName": "UserRoleService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 10065, + "y": 3870 + }, + { + "x": 10030, + "y": 3870 + }, + { + "x": 10030, + "y": 3780 + }, + { + "x": 9985, + "y": 3780 + } + ], + "label": { + "x": 10081, + "y": 3872, + "width": 298, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserRoleService_GetAllUserRoleByFilterRequest_1", + "sourceTableName": "UserRoleService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 10065, + "y": 3900 + }, + { + "x": 9520, + "y": 3900 + }, + { + "x": 9520, + "y": 3820 + }, + { + "x": 9475, + "y": 3820 + } + ], + "label": { + "x": 10081, + "y": 3902, + "width": 355, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserRoleService_GetAllUserRoleByFilterResponse_1", + "sourceTableName": "UserRoleService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 10065, + "y": 3940 + }, + { + "x": 8560, + "y": 3940 + }, + { + "x": 8560, + "y": 3010 + }, + { + "x": 8515, + "y": 3010 + } + ], + "label": { + "x": 10081, + "y": 3942, + "width": 365, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllUserRoleByFilterRequest_GetAllUserRoleByFilterFilter", + "sourceTableName": "GetAllUserRoleByFilterRequest", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 9045, + "y": 3820 + }, + { + "x": 9025, + "y": 3820 + } + ], + "label": { + "x": 9061, + "y": 3822, + "width": 417, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllUserRoleByFilterResponse_GetAllUserRoleByFilterResponseModel", + "sourceTableName": "GetAllUserRoleByFilterResponse", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 8085, + "y": 3010 + }, + { + "x": 8065, + "y": 3010 + } + ], + "label": { + "x": 8101, + "y": 3012, + "width": 502, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_OtpTokenService_CreateNewOtpTokenRequest_1", + "sourceTableName": "OtpTokenService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 7185, + "y": 3320 + }, + { + "x": 6590, + "y": 3320 + }, + { + "x": 6590, + "y": 3190 + }, + { + "x": 6295, + "y": 3190 + } + ], + "label": { + "x": 7201, + "y": 3322, + "width": 352, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_OtpTokenService_GetAllOtpTokenByFilterRequest_1", + "sourceTableName": "OtpTokenService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 7400, + "y": 3405 + }, + { + "x": 7400, + "y": 3425 + } + ], + "label": { + "x": 7408, + "y": 3395, + "width": 369, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_OtpTokenService_GetAllOtpTokenByFilterResponse_1", + "sourceTableName": "OtpTokenService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 7400, + "y": 3225 + }, + { + "x": 7400, + "y": 3190 + }, + { + "x": 7635, + "y": 3190 + } + ], + "label": { + "x": 7408, + "y": 3235, + "width": 379, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllOtpTokenByFilterRequest_GetAllOtpTokenByFilterFilter", + "sourceTableName": "GetAllOtpTokenByFilterRequest", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 7400, + "y": 3592 + }, + { + "x": 7400, + "y": 3615 + } + ], + "label": { + "x": 7408, + "y": 3582, + "width": 431, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllOtpTokenByFilterResponse_GetAllOtpTokenByFilterResponseModel", + "sourceTableName": "GetAllOtpTokenByFilterResponse", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 8065, + "y": 3190 + }, + { + "x": 8085, + "y": 3190 + } + ], + "label": { + "x": 8061, + "y": 3192, + "width": 516, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_OtpTokenService_CreateNewOtpTokenResponse_1", + "sourceTableName": "OtpTokenService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 7185, + "y": 3360 + }, + { + "x": 6545, + "y": 3360 + } + ], + "label": { + "x": 7195, + "y": 3322, + "width": 362, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_OtpTokenService_VerifyOtpTokenRequest_1", + "sourceTableName": "OtpTokenService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 7290, + "y": 3225 + }, + { + "x": 7290, + "y": 3145 + } + ], + "label": { + "x": 7292, + "y": 3195, + "width": 317, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_OtpTokenService_VerifyOtpTokenResponse_1", + "sourceTableName": "OtpTokenService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 7185, + "y": 3270 + }, + { + "x": 7100, + "y": 3270 + }, + { + "x": 7100, + "y": 3190 + }, + { + "x": 7055, + "y": 3190 + } + ], + "label": { + "x": 7195, + "y": 3232, + "width": 327, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserService_GetJwtTokenRequest_1", + "sourceTableName": "UserService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 2995, + "y": 3630 + }, + { + "x": 3030, + "y": 3630 + }, + { + "x": 3030, + "y": 3550 + }, + { + "x": 3075, + "y": 3550 + } + ], + "label": { + "x": 2985, + "y": 3592, + "width": 261, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserService_GetJwtTokenResponse_1", + "sourceTableName": "UserService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 2870, + "y": 3605 + }, + { + "x": 2870, + "y": 3390 + }, + { + "x": 2915, + "y": 3390 + } + ], + "label": { + "x": 2872, + "y": 3575, + "width": 271, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserOrder_UserAddress_1", + "sourceTableName": "UserOrder", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 6655, + "y": 1150 + }, + { + "x": 6565, + "y": 1150 + } + ], + "label": { + "x": 6665, + "y": 1112, + "width": 195, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserAddressService_SetAddressAsDefaultRequest_1", + "sourceTableName": "UserAddressService", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 5095, + "y": 2410 + }, + { + "x": 4430, + "y": 2410 + }, + { + "x": 4430, + "y": 2340 + }, + { + "x": 4385, + "y": 2340 + } + ], + "label": { + "x": 5105, + "y": 2372, + "width": 369, + "height": 32, + "fontName": "Arial Unicode MS", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserWalletChangeLog_UserWallet_1", + "sourceTableName": "UserWalletChangeLog", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 5435, + "y": 1530 + }, + { + "x": 5455, + "y": 1530 + } + ], + "label": { + "x": 5425, + "y": 1490, + "width": 268, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserWallet_User_1", + "sourceTableName": "UserWallet", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 5795, + "y": 1530 + }, + { + "x": 5875, + "y": 1530 + } + ], + "label": { + "x": 5785, + "y": 1490, + "width": 150, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_FactorDetails_UserOrder_1", + "sourceTableName": "FactorDetails", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 6830, + "y": 1315 + }, + { + "x": 6830, + "y": 1240 + } + ], + "label": { + "x": 6832, + "y": 1283, + "width": 204, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_Transactions_UserOrder_1", + "sourceTableName": "Transactions", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 6740, + "y": 905 + }, + { + "x": 6740, + "y": 925 + } + ], + "label": { + "x": 6748, + "y": 863, + "width": 202, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserCarts_User_1", + "sourceTableName": "UserCarts", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 6380, + "y": 1725 + }, + { + "x": 6380, + "y": 1660 + }, + { + "x": 6275, + "y": 1660 + } + ], + "label": { + "x": 6382, + "y": 1693, + "width": 143, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserCarts_Products_1", + "sourceTableName": "UserCarts", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 6635, + "y": 1850 + }, + { + "x": 6655, + "y": 1850 + } + ], + "label": { + "x": 6631, + "y": 1852, + "width": 171, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_FactorDetails_Products_1", + "sourceTableName": "FactorDetails", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 6830, + "y": 1635 + }, + { + "x": 6830, + "y": 1655 + } + ], + "label": { + "x": 6640, + "y": 1583, + "width": 192, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_ProductGallerys_Products_1", + "sourceTableName": "ProductGallerys", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 7015, + "y": 1850 + }, + { + "x": 6995, + "y": 1850 + } + ], + "label": { + "x": 7025, + "y": 1810, + "width": 211, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_ProductGallerys_ProductImages_1", + "sourceTableName": "ProductGallerys", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 7355, + "y": 1850 + }, + { + "x": 7375, + "y": 1850 + } + ], + "label": { + "x": 7345, + "y": 1810, + "width": 254, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_UserOrder_PaymentStatus_1", + "sourceTableName": "UserOrder", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 6995, + "y": 1010 + }, + { + "x": 7100, + "y": 1010 + }, + { + "x": 7100, + "y": 705 + } + ], + "label": { + "x": 6768, + "y": 970, + "width": 217, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_Transactions_PaymentStatus_1", + "sourceTableName": "Transactions", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 6915, + "y": 610 + }, + { + "x": 6935, + "y": 610 + } + ], + "label": { + "x": 6911, + "y": 612, + "width": 231, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_Transactions_TransactionType_1", + "sourceTableName": "Transactions", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 6575, + "y": 610 + }, + { + "x": 6555, + "y": 610 + } + ], + "label": { + "x": 6591, + "y": 612, + "width": 241, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + } + ], + "viewRelations": [] + } + ] +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/CMSMicroservice.Application.csproj b/src/CMSMicroservice.Application/CMSMicroservice.Application.csproj index 793a4d9..618d4dc 100644 --- a/src/CMSMicroservice.Application/CMSMicroservice.Application.csproj +++ b/src/CMSMicroservice.Application/CMSMicroservice.Application.csproj @@ -1,17 +1,17 @@ - net7.0 + net9.0 enable - + - - - + + + diff --git a/src/CMSMicroservice.Application/Common/Exceptions/ValidationException.cs b/src/CMSMicroservice.Application/Common/Exceptions/ValidationException.cs index 77d2d7d..bb3bece 100644 --- a/src/CMSMicroservice.Application/Common/Exceptions/ValidationException.cs +++ b/src/CMSMicroservice.Application/Common/Exceptions/ValidationException.cs @@ -11,12 +11,30 @@ public class ValidationException : Exception } public ValidationException(IEnumerable failures) - : this() + : base(BuildMessage(failures, out var errors)) { - Errors = failures - .GroupBy(e => e.PropertyName, e => e.ErrorMessage) - .ToDictionary(failureGroup => failureGroup.Key, failureGroup => failureGroup.ToArray()); + Errors = errors; } public IDictionary Errors { get; } + + private static string BuildMessage(IEnumerable failures, out IDictionary errors) + { + var list = failures?.Where(f => !string.IsNullOrWhiteSpace(f.ErrorMessage)).ToList() ?? new List(); + + errors = list + .GroupBy(e => e.PropertyName, e => e.ErrorMessage) + .ToDictionary(failureGroup => failureGroup.Key, failureGroup => failureGroup.ToArray()); + + var items = list + .Select(f => string.IsNullOrWhiteSpace(f.PropertyName) + ? f.ErrorMessage + : $"{f.PropertyName}: {f.ErrorMessage}") + .Where(s => !string.IsNullOrWhiteSpace(s)) + .ToArray(); + + return items.Length > 0 + ? string.Join(" | ", items) + : "One or more validation failures have occurred."; + } } diff --git a/src/CMSMicroservice.Application/Common/Interfaces/IApplicationDbContext.cs b/src/CMSMicroservice.Application/Common/Interfaces/IApplicationDbContext.cs index 34dd9e4..d7bcc7b 100644 --- a/src/CMSMicroservice.Application/Common/Interfaces/IApplicationDbContext.cs +++ b/src/CMSMicroservice.Application/Common/Interfaces/IApplicationDbContext.cs @@ -7,7 +7,15 @@ public interface IApplicationDbContext DbSet Roles { get; } DbSet UserRoles { get; } DbSet OtpTokens { get; } - DbSet UserOrders { get; } DbSet Users { get; } + DbSet UserWallets { get; } + DbSet UserWalletChangeLogs { get; } + DbSet UserCartss { get; } + DbSet ProductGalleryss { get; } + DbSet UserOrders { get; } + DbSet FactorDetailss { get; } + DbSet Productss { get; } + DbSet ProductImagess { get; } + DbSet Transactionss { get; } Task SaveChangesAsync(CancellationToken cancellationToken = default); } \ No newline at end of file diff --git a/src/CMSMicroservice.Application/Common/Interfaces/IGenerateJwtToken.cs b/src/CMSMicroservice.Application/Common/Interfaces/IGenerateJwtToken.cs index 1b08985..2a53ce8 100644 --- a/src/CMSMicroservice.Application/Common/Interfaces/IGenerateJwtToken.cs +++ b/src/CMSMicroservice.Application/Common/Interfaces/IGenerateJwtToken.cs @@ -1,5 +1,5 @@ namespace CMSMicroservice.Application.Common.Interfaces; public interface IGenerateJwtToken { - Task GenerateJwtToken(User user); + Task GenerateJwtToken(User user,int? expiryDays=null); } diff --git a/src/CMSMicroservice.Application/Common/Interfaces/IHashService.cs b/src/CMSMicroservice.Application/Common/Interfaces/IHashService.cs new file mode 100644 index 0000000..4478554 --- /dev/null +++ b/src/CMSMicroservice.Application/Common/Interfaces/IHashService.cs @@ -0,0 +1,18 @@ +namespace CMSMicroservice.Application.Common.Interfaces; +public interface IHashService +{ + // Computes a deterministic SHA-256 hex string for the given input (legacy helper) + string ComputeSha256Hex(string input); + // Compares plain input with a stored hex hash (case-insensitive) (legacy helper) + bool VerifySha256Hex(string input, string? expectedHexHash); + + // Computes HMAC-SHA256 hex using a provided secret (for OTP and similar) + string ComputeHmacSha256Hex(string input, string secret); + // Verifies input against expected HMAC-SHA256 hex using the secret + bool VerifyHmacSha256Hex(string input, string? expectedHexHash, string secret); + + // Creates a salted password hash using PBKDF2; returns an encoded string containing algorithm params and salt + string HashPassword(string password); + // Verifies a password against the stored hash; supports both PBKDF2 format and legacy SHA-256 hex + bool VerifyPassword(string password, string? storedHash); +} diff --git a/src/CMSMicroservice.Application/Common/Mappings/FactorDetailsProfile.cs b/src/CMSMicroservice.Application/Common/Mappings/FactorDetailsProfile.cs new file mode 100644 index 0000000..969fc39 --- /dev/null +++ b/src/CMSMicroservice.Application/Common/Mappings/FactorDetailsProfile.cs @@ -0,0 +1,10 @@ +namespace CMSMicroservice.Application.Common.Mappings; + +public class FactorDetailsProfile : IRegister +{ + void IRegister.Register(TypeAdapterConfig config) + { + //config.NewConfig() + // .Map(dest => dest.FullName, src => $"{src.Firstname} {src.Lastname}"); + } +} diff --git a/src/CMSMicroservice.Application/Common/Mappings/ProductGallerysProfile.cs b/src/CMSMicroservice.Application/Common/Mappings/ProductGallerysProfile.cs new file mode 100644 index 0000000..1545474 --- /dev/null +++ b/src/CMSMicroservice.Application/Common/Mappings/ProductGallerysProfile.cs @@ -0,0 +1,10 @@ +namespace CMSMicroservice.Application.Common.Mappings; + +public class ProductGallerysProfile : IRegister +{ + void IRegister.Register(TypeAdapterConfig config) + { + //config.NewConfig() + // .Map(dest => dest.FullName, src => $"{src.Firstname} {src.Lastname}"); + } +} diff --git a/src/CMSMicroservice.Application/Common/Mappings/ProductImagesProfile.cs b/src/CMSMicroservice.Application/Common/Mappings/ProductImagesProfile.cs new file mode 100644 index 0000000..d4fcf35 --- /dev/null +++ b/src/CMSMicroservice.Application/Common/Mappings/ProductImagesProfile.cs @@ -0,0 +1,10 @@ +namespace CMSMicroservice.Application.Common.Mappings; + +public class ProductImagesProfile : IRegister +{ + void IRegister.Register(TypeAdapterConfig config) + { + //config.NewConfig() + // .Map(dest => dest.FullName, src => $"{src.Firstname} {src.Lastname}"); + } +} diff --git a/src/CMSMicroservice.Application/Common/Mappings/ProductsProfile.cs b/src/CMSMicroservice.Application/Common/Mappings/ProductsProfile.cs new file mode 100644 index 0000000..bb29fc4 --- /dev/null +++ b/src/CMSMicroservice.Application/Common/Mappings/ProductsProfile.cs @@ -0,0 +1,10 @@ +namespace CMSMicroservice.Application.Common.Mappings; + +public class ProductsProfile : IRegister +{ + void IRegister.Register(TypeAdapterConfig config) + { + //config.NewConfig() + // .Map(dest => dest.FullName, src => $"{src.Firstname} {src.Lastname}"); + } +} diff --git a/src/CMSMicroservice.Application/Common/Mappings/TransactionsProfile.cs b/src/CMSMicroservice.Application/Common/Mappings/TransactionsProfile.cs new file mode 100644 index 0000000..ac83ccc --- /dev/null +++ b/src/CMSMicroservice.Application/Common/Mappings/TransactionsProfile.cs @@ -0,0 +1,10 @@ +namespace CMSMicroservice.Application.Common.Mappings; + +public class TransactionsProfile : IRegister +{ + void IRegister.Register(TypeAdapterConfig config) + { + //config.NewConfig() + // .Map(dest => dest.FullName, src => $"{src.Firstname} {src.Lastname}"); + } +} diff --git a/src/CMSMicroservice.Application/Common/Mappings/UserCartsProfile.cs b/src/CMSMicroservice.Application/Common/Mappings/UserCartsProfile.cs new file mode 100644 index 0000000..c0ab572 --- /dev/null +++ b/src/CMSMicroservice.Application/Common/Mappings/UserCartsProfile.cs @@ -0,0 +1,10 @@ +namespace CMSMicroservice.Application.Common.Mappings; + +public class UserCartsProfile : IRegister +{ + void IRegister.Register(TypeAdapterConfig config) + { + //config.NewConfig() + // .Map(dest => dest.FullName, src => $"{src.Firstname} {src.Lastname}"); + } +} diff --git a/src/CMSMicroservice.Application/Common/Mappings/UserWalletChangeLogProfile.cs b/src/CMSMicroservice.Application/Common/Mappings/UserWalletChangeLogProfile.cs new file mode 100644 index 0000000..a5cc7df --- /dev/null +++ b/src/CMSMicroservice.Application/Common/Mappings/UserWalletChangeLogProfile.cs @@ -0,0 +1,10 @@ +namespace CMSMicroservice.Application.Common.Mappings; + +public class UserWalletChangeLogProfile : IRegister +{ + void IRegister.Register(TypeAdapterConfig config) + { + //config.NewConfig() + // .Map(dest => dest.FullName, src => $"{src.Firstname} {src.Lastname}"); + } +} diff --git a/src/CMSMicroservice.Application/Common/Mappings/UserWalletProfile.cs b/src/CMSMicroservice.Application/Common/Mappings/UserWalletProfile.cs new file mode 100644 index 0000000..fa37b2a --- /dev/null +++ b/src/CMSMicroservice.Application/Common/Mappings/UserWalletProfile.cs @@ -0,0 +1,10 @@ +namespace CMSMicroservice.Application.Common.Mappings; + +public class UserWalletProfile : IRegister +{ + void IRegister.Register(TypeAdapterConfig config) + { + //config.NewConfig() + // .Map(dest => dest.FullName, src => $"{src.Firstname} {src.Lastname}"); + } +} diff --git a/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/CreateNewFactorDetails/CreateNewFactorDetailsCommand.cs b/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/CreateNewFactorDetails/CreateNewFactorDetailsCommand.cs new file mode 100644 index 0000000..2c8a510 --- /dev/null +++ b/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/CreateNewFactorDetails/CreateNewFactorDetailsCommand.cs @@ -0,0 +1,19 @@ +namespace CMSMicroservice.Application.FactorDetailsCQ.Commands.CreateNewFactorDetails; +public record CreateNewFactorDetailsCommand : IRequest +{ + // + public long ProductId { get; init; } + // + public int Count { get; init; } + // + public long UnitPrice { get; init; } + // + public int UnitDiscount { get; init; } + // + public long OrderId { get; init; } + // + public long UnitDiscountPrice { get; init; } + // + public bool IsChangePrice { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/CreateNewFactorDetails/CreateNewFactorDetailsCommandHandler.cs b/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/CreateNewFactorDetails/CreateNewFactorDetailsCommandHandler.cs new file mode 100644 index 0000000..0e327cc --- /dev/null +++ b/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/CreateNewFactorDetails/CreateNewFactorDetailsCommandHandler.cs @@ -0,0 +1,21 @@ +using CMSMicroservice.Domain.Events; +namespace CMSMicroservice.Application.FactorDetailsCQ.Commands.CreateNewFactorDetails; +public class CreateNewFactorDetailsCommandHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public CreateNewFactorDetailsCommandHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(CreateNewFactorDetailsCommand request, + CancellationToken cancellationToken) + { + var entity = request.Adapt(); + await _context.FactorDetailss.AddAsync(entity, cancellationToken); + entity.AddDomainEvent(new CreateNewFactorDetailsEvent(entity)); + await _context.SaveChangesAsync(cancellationToken); + return entity.Adapt(); + } +} diff --git a/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/CreateNewFactorDetails/CreateNewFactorDetailsCommandValidator.cs b/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/CreateNewFactorDetails/CreateNewFactorDetailsCommandValidator.cs new file mode 100644 index 0000000..de323a3 --- /dev/null +++ b/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/CreateNewFactorDetails/CreateNewFactorDetailsCommandValidator.cs @@ -0,0 +1,28 @@ +namespace CMSMicroservice.Application.FactorDetailsCQ.Commands.CreateNewFactorDetails; +public class CreateNewFactorDetailsCommandValidator : AbstractValidator +{ + public CreateNewFactorDetailsCommandValidator() + { + RuleFor(model => model.ProductId) + .NotNull(); + RuleFor(model => model.Count) + .NotNull(); + RuleFor(model => model.UnitPrice) + .NotNull(); + RuleFor(model => model.UnitDiscount) + .NotNull(); + RuleFor(model => model.OrderId) + .NotNull(); + RuleFor(model => model.UnitDiscountPrice) + .NotNull(); + RuleFor(model => model.IsChangePrice) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((CreateNewFactorDetailsCommand)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/CreateNewFactorDetails/CreateNewFactorDetailsResponseDto.cs b/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/CreateNewFactorDetails/CreateNewFactorDetailsResponseDto.cs new file mode 100644 index 0000000..870f5bd --- /dev/null +++ b/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/CreateNewFactorDetails/CreateNewFactorDetailsResponseDto.cs @@ -0,0 +1,7 @@ +namespace CMSMicroservice.Application.FactorDetailsCQ.Commands.CreateNewFactorDetails; +public class CreateNewFactorDetailsResponseDto +{ + // + public long Id { get; set; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/DeleteFactorDetails/DeleteFactorDetailsCommand.cs b/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/DeleteFactorDetails/DeleteFactorDetailsCommand.cs new file mode 100644 index 0000000..f85dba6 --- /dev/null +++ b/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/DeleteFactorDetails/DeleteFactorDetailsCommand.cs @@ -0,0 +1,7 @@ +namespace CMSMicroservice.Application.FactorDetailsCQ.Commands.DeleteFactorDetails; +public record DeleteFactorDetailsCommand : IRequest +{ + // + public long Id { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/DeleteFactorDetails/DeleteFactorDetailsCommandHandler.cs b/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/DeleteFactorDetails/DeleteFactorDetailsCommandHandler.cs new file mode 100644 index 0000000..a64f1fc --- /dev/null +++ b/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/DeleteFactorDetails/DeleteFactorDetailsCommandHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +namespace CMSMicroservice.Application.FactorDetailsCQ.Commands.DeleteFactorDetails; +public class DeleteFactorDetailsCommandHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public DeleteFactorDetailsCommandHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(DeleteFactorDetailsCommand request, CancellationToken cancellationToken) + { + var entity = await _context.FactorDetailss + .FirstOrDefaultAsync(x => x.Id == request.Id, cancellationToken) ?? throw new NotFoundException(nameof(FactorDetails), request.Id); + entity.IsDeleted = true; + _context.FactorDetailss.Update(entity); + entity.AddDomainEvent(new DeleteFactorDetailsEvent(entity)); + await _context.SaveChangesAsync(cancellationToken); + return Unit.Value; + } +} diff --git a/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/DeleteFactorDetails/DeleteFactorDetailsCommandValidator.cs b/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/DeleteFactorDetails/DeleteFactorDetailsCommandValidator.cs new file mode 100644 index 0000000..a13065c --- /dev/null +++ b/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/DeleteFactorDetails/DeleteFactorDetailsCommandValidator.cs @@ -0,0 +1,16 @@ +namespace CMSMicroservice.Application.FactorDetailsCQ.Commands.DeleteFactorDetails; +public class DeleteFactorDetailsCommandValidator : AbstractValidator +{ + public DeleteFactorDetailsCommandValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((DeleteFactorDetailsCommand)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/UpdateFactorDetails/UpdateFactorDetailsCommand.cs b/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/UpdateFactorDetails/UpdateFactorDetailsCommand.cs new file mode 100644 index 0000000..b24fb16 --- /dev/null +++ b/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/UpdateFactorDetails/UpdateFactorDetailsCommand.cs @@ -0,0 +1,21 @@ +namespace CMSMicroservice.Application.FactorDetailsCQ.Commands.UpdateFactorDetails; +public record UpdateFactorDetailsCommand : IRequest +{ + // + public long Id { get; init; } + // + public long ProductId { get; init; } + // + public int Count { get; init; } + // + public long UnitPrice { get; init; } + // + public int UnitDiscount { get; init; } + // + public long OrderId { get; init; } + // + public long UnitDiscountPrice { get; init; } + // + public bool IsChangePrice { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/UpdateFactorDetails/UpdateFactorDetailsCommandHandler.cs b/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/UpdateFactorDetails/UpdateFactorDetailsCommandHandler.cs new file mode 100644 index 0000000..5976b23 --- /dev/null +++ b/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/UpdateFactorDetails/UpdateFactorDetailsCommandHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +namespace CMSMicroservice.Application.FactorDetailsCQ.Commands.UpdateFactorDetails; +public class UpdateFactorDetailsCommandHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public UpdateFactorDetailsCommandHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(UpdateFactorDetailsCommand request, CancellationToken cancellationToken) + { + var entity = await _context.FactorDetailss + .FirstOrDefaultAsync(x => x.Id == request.Id, cancellationToken) ?? throw new NotFoundException(nameof(FactorDetails), request.Id); + request.Adapt(entity); + _context.FactorDetailss.Update(entity); + entity.AddDomainEvent(new UpdateFactorDetailsEvent(entity)); + await _context.SaveChangesAsync(cancellationToken); + return Unit.Value; + } +} diff --git a/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/UpdateFactorDetails/UpdateFactorDetailsCommandValidator.cs b/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/UpdateFactorDetails/UpdateFactorDetailsCommandValidator.cs new file mode 100644 index 0000000..54beaf4 --- /dev/null +++ b/src/CMSMicroservice.Application/FactorDetailsCQ/Commands/UpdateFactorDetails/UpdateFactorDetailsCommandValidator.cs @@ -0,0 +1,30 @@ +namespace CMSMicroservice.Application.FactorDetailsCQ.Commands.UpdateFactorDetails; +public class UpdateFactorDetailsCommandValidator : AbstractValidator +{ + public UpdateFactorDetailsCommandValidator() + { + RuleFor(model => model.Id) + .NotNull(); + RuleFor(model => model.ProductId) + .NotNull(); + RuleFor(model => model.Count) + .NotNull(); + RuleFor(model => model.UnitPrice) + .NotNull(); + RuleFor(model => model.UnitDiscount) + .NotNull(); + RuleFor(model => model.OrderId) + .NotNull(); + RuleFor(model => model.UnitDiscountPrice) + .NotNull(); + RuleFor(model => model.IsChangePrice) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((UpdateFactorDetailsCommand)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/FactorDetailsCQ/EventHandlers/CreateNewFactorDetailsEventHandlers/CreateNewFactorDetailsEventHandler.cs b/src/CMSMicroservice.Application/FactorDetailsCQ/EventHandlers/CreateNewFactorDetailsEventHandlers/CreateNewFactorDetailsEventHandler.cs new file mode 100644 index 0000000..c0d2fee --- /dev/null +++ b/src/CMSMicroservice.Application/FactorDetailsCQ/EventHandlers/CreateNewFactorDetailsEventHandlers/CreateNewFactorDetailsEventHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +using Microsoft.Extensions.Logging; + +namespace CMSMicroservice.Application.FactorDetailsCQ.EventHandlers; + +public class CreateNewFactorDetailsEventHandler : INotificationHandler +{ + private readonly ILogger< + CreateNewFactorDetailsEventHandler> _logger; + + public CreateNewFactorDetailsEventHandler(ILogger logger) + { + _logger = logger; + } + + public Task Handle(CreateNewFactorDetailsEvent notification, CancellationToken cancellationToken) + { + _logger.LogInformation("Domain Event: {DomainEvent}", notification.GetType().Name); + + return Task.CompletedTask; + } +} diff --git a/src/CMSMicroservice.Application/FactorDetailsCQ/EventHandlers/DeleteFactorDetailsEventHandlers/DeleteFactorDetailsEventHandler.cs b/src/CMSMicroservice.Application/FactorDetailsCQ/EventHandlers/DeleteFactorDetailsEventHandlers/DeleteFactorDetailsEventHandler.cs new file mode 100644 index 0000000..2a6d77c --- /dev/null +++ b/src/CMSMicroservice.Application/FactorDetailsCQ/EventHandlers/DeleteFactorDetailsEventHandlers/DeleteFactorDetailsEventHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +using Microsoft.Extensions.Logging; + +namespace CMSMicroservice.Application.FactorDetailsCQ.EventHandlers; + +public class DeleteFactorDetailsEventHandler : INotificationHandler +{ + private readonly ILogger< + DeleteFactorDetailsEventHandler> _logger; + + public DeleteFactorDetailsEventHandler(ILogger logger) + { + _logger = logger; + } + + public Task Handle(DeleteFactorDetailsEvent notification, CancellationToken cancellationToken) + { + _logger.LogInformation("Domain Event: {DomainEvent}", notification.GetType().Name); + + return Task.CompletedTask; + } +} diff --git a/src/CMSMicroservice.Application/FactorDetailsCQ/EventHandlers/UpdateFactorDetailsEventHandlers/UpdateFactorDetailsEventHandler.cs b/src/CMSMicroservice.Application/FactorDetailsCQ/EventHandlers/UpdateFactorDetailsEventHandlers/UpdateFactorDetailsEventHandler.cs new file mode 100644 index 0000000..fca05b8 --- /dev/null +++ b/src/CMSMicroservice.Application/FactorDetailsCQ/EventHandlers/UpdateFactorDetailsEventHandlers/UpdateFactorDetailsEventHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +using Microsoft.Extensions.Logging; + +namespace CMSMicroservice.Application.FactorDetailsCQ.EventHandlers; + +public class UpdateFactorDetailsEventHandler : INotificationHandler +{ + private readonly ILogger< + UpdateFactorDetailsEventHandler> _logger; + + public UpdateFactorDetailsEventHandler(ILogger logger) + { + _logger = logger; + } + + public Task Handle(UpdateFactorDetailsEvent notification, CancellationToken cancellationToken) + { + _logger.LogInformation("Domain Event: {DomainEvent}", notification.GetType().Name); + + return Task.CompletedTask; + } +} diff --git a/src/CMSMicroservice.Application/FactorDetailsCQ/Queries/GetAllFactorDetailsByFilter/GetAllFactorDetailsByFilterQuery.cs b/src/CMSMicroservice.Application/FactorDetailsCQ/Queries/GetAllFactorDetailsByFilter/GetAllFactorDetailsByFilterQuery.cs new file mode 100644 index 0000000..b2a64c6 --- /dev/null +++ b/src/CMSMicroservice.Application/FactorDetailsCQ/Queries/GetAllFactorDetailsByFilter/GetAllFactorDetailsByFilterQuery.cs @@ -0,0 +1,29 @@ +namespace CMSMicroservice.Application.FactorDetailsCQ.Queries.GetAllFactorDetailsByFilter; +public record GetAllFactorDetailsByFilterQuery : IRequest +{ + //موقعیت صفحه بندی + public PaginationState? PaginationState { get; init; } + //مرتب سازی بر اساس + public string? SortBy { get; init; } + //فیلتر + public GetAllFactorDetailsByFilterFilter? Filter { get; init; } + +}public class GetAllFactorDetailsByFilterFilter +{ + // + public long? Id { get; set; } + // + public long? ProductId { get; set; } + // + public int? Count { get; set; } + // + public long? UnitPrice { get; set; } + // + public int? UnitDiscount { get; set; } + // + public long? OrderId { get; set; } + // + public long? UnitDiscountPrice { get; set; } + // + public bool? IsChangePrice { get; set; } +} diff --git a/src/CMSMicroservice.Application/FactorDetailsCQ/Queries/GetAllFactorDetailsByFilter/GetAllFactorDetailsByFilterQueryHandler.cs b/src/CMSMicroservice.Application/FactorDetailsCQ/Queries/GetAllFactorDetailsByFilter/GetAllFactorDetailsByFilterQueryHandler.cs new file mode 100644 index 0000000..4e7e716 --- /dev/null +++ b/src/CMSMicroservice.Application/FactorDetailsCQ/Queries/GetAllFactorDetailsByFilter/GetAllFactorDetailsByFilterQueryHandler.cs @@ -0,0 +1,37 @@ +namespace CMSMicroservice.Application.FactorDetailsCQ.Queries.GetAllFactorDetailsByFilter; +public class GetAllFactorDetailsByFilterQueryHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public GetAllFactorDetailsByFilterQueryHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(GetAllFactorDetailsByFilterQuery request, CancellationToken cancellationToken) + { + var query = _context.FactorDetailss + .ApplyOrder(sortBy: request.SortBy) + .AsNoTracking() + .AsQueryable(); + if (request.Filter is not null) + { + query = query + .Where(x => request.Filter.Id == null || x.Id == request.Filter.Id) + .Where(x => request.Filter.ProductId == null || x.ProductId == request.Filter.ProductId) + .Where(x => request.Filter.Count == null || x.Count == request.Filter.Count) + .Where(x => request.Filter.UnitPrice == null || x.UnitPrice == request.Filter.UnitPrice) + .Where(x => request.Filter.UnitDiscount == null || x.UnitDiscount == request.Filter.UnitDiscount) + .Where(x => request.Filter.OrderId == null || x.OrderId == request.Filter.OrderId) + .Where(x => request.Filter.UnitDiscountPrice == null || x.UnitDiscountPrice == request.Filter.UnitDiscountPrice) + .Where(x => request.Filter.IsChangePrice == null || x.IsChangePrice == request.Filter.IsChangePrice) +; + } + return new GetAllFactorDetailsByFilterResponseDto + { + MetaData = await query.GetMetaData(request.PaginationState, cancellationToken), + Models = await query.PaginatedListAsync(paginationState: request.PaginationState) + .ProjectToType().ToListAsync(cancellationToken) + }; + } +} diff --git a/src/CMSMicroservice.Application/FactorDetailsCQ/Queries/GetAllFactorDetailsByFilter/GetAllFactorDetailsByFilterQueryValidator.cs b/src/CMSMicroservice.Application/FactorDetailsCQ/Queries/GetAllFactorDetailsByFilter/GetAllFactorDetailsByFilterQueryValidator.cs new file mode 100644 index 0000000..0a7cbce --- /dev/null +++ b/src/CMSMicroservice.Application/FactorDetailsCQ/Queries/GetAllFactorDetailsByFilter/GetAllFactorDetailsByFilterQueryValidator.cs @@ -0,0 +1,14 @@ +namespace CMSMicroservice.Application.FactorDetailsCQ.Queries.GetAllFactorDetailsByFilter; +public class GetAllFactorDetailsByFilterQueryValidator : AbstractValidator +{ + public GetAllFactorDetailsByFilterQueryValidator() + { + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetAllFactorDetailsByFilterQuery)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/FactorDetailsCQ/Queries/GetAllFactorDetailsByFilter/GetAllFactorDetailsByFilterResponseDto.cs b/src/CMSMicroservice.Application/FactorDetailsCQ/Queries/GetAllFactorDetailsByFilter/GetAllFactorDetailsByFilterResponseDto.cs new file mode 100644 index 0000000..4251491 --- /dev/null +++ b/src/CMSMicroservice.Application/FactorDetailsCQ/Queries/GetAllFactorDetailsByFilter/GetAllFactorDetailsByFilterResponseDto.cs @@ -0,0 +1,27 @@ +namespace CMSMicroservice.Application.FactorDetailsCQ.Queries.GetAllFactorDetailsByFilter; +public class GetAllFactorDetailsByFilterResponseDto +{ + //متادیتا + public MetaData MetaData { get; set; } + //مدل خروجی + public List? Models { get; set; } + +}public class GetAllFactorDetailsByFilterResponseModel +{ + // + public long Id { get; set; } + // + public long ProductId { get; set; } + // + public int Count { get; set; } + // + public long UnitPrice { get; set; } + // + public int UnitDiscount { get; set; } + // + public long OrderId { get; set; } + // + public long UnitDiscountPrice { get; set; } + // + public bool IsChangePrice { get; set; } +} diff --git a/src/CMSMicroservice.Application/FactorDetailsCQ/Queries/GetFactorDetails/GetFactorDetailsQuery.cs b/src/CMSMicroservice.Application/FactorDetailsCQ/Queries/GetFactorDetails/GetFactorDetailsQuery.cs new file mode 100644 index 0000000..1307d77 --- /dev/null +++ b/src/CMSMicroservice.Application/FactorDetailsCQ/Queries/GetFactorDetails/GetFactorDetailsQuery.cs @@ -0,0 +1,7 @@ +namespace CMSMicroservice.Application.FactorDetailsCQ.Queries.GetFactorDetails; +public record GetFactorDetailsQuery : IRequest +{ + // + public long Id { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/FactorDetailsCQ/Queries/GetFactorDetails/GetFactorDetailsQueryHandler.cs b/src/CMSMicroservice.Application/FactorDetailsCQ/Queries/GetFactorDetails/GetFactorDetailsQueryHandler.cs new file mode 100644 index 0000000..ce7f6f2 --- /dev/null +++ b/src/CMSMicroservice.Application/FactorDetailsCQ/Queries/GetFactorDetails/GetFactorDetailsQueryHandler.cs @@ -0,0 +1,22 @@ +namespace CMSMicroservice.Application.FactorDetailsCQ.Queries.GetFactorDetails; +public class GetFactorDetailsQueryHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public GetFactorDetailsQueryHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(GetFactorDetailsQuery request, + CancellationToken cancellationToken) + { + var response = await _context.FactorDetailss + .AsNoTracking() + .Where(x => x.Id == request.Id) + .ProjectToType() + .FirstOrDefaultAsync(cancellationToken); + + return response ?? throw new NotFoundException(nameof(FactorDetails), request.Id); + } +} diff --git a/src/CMSMicroservice.Application/FactorDetailsCQ/Queries/GetFactorDetails/GetFactorDetailsQueryValidator.cs b/src/CMSMicroservice.Application/FactorDetailsCQ/Queries/GetFactorDetails/GetFactorDetailsQueryValidator.cs new file mode 100644 index 0000000..cb30deb --- /dev/null +++ b/src/CMSMicroservice.Application/FactorDetailsCQ/Queries/GetFactorDetails/GetFactorDetailsQueryValidator.cs @@ -0,0 +1,16 @@ +namespace CMSMicroservice.Application.FactorDetailsCQ.Queries.GetFactorDetails; +public class GetFactorDetailsQueryValidator : AbstractValidator +{ + public GetFactorDetailsQueryValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetFactorDetailsQuery)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/FactorDetailsCQ/Queries/GetFactorDetails/GetFactorDetailsResponseDto.cs b/src/CMSMicroservice.Application/FactorDetailsCQ/Queries/GetFactorDetails/GetFactorDetailsResponseDto.cs new file mode 100644 index 0000000..15275d6 --- /dev/null +++ b/src/CMSMicroservice.Application/FactorDetailsCQ/Queries/GetFactorDetails/GetFactorDetailsResponseDto.cs @@ -0,0 +1,21 @@ +namespace CMSMicroservice.Application.FactorDetailsCQ.Queries.GetFactorDetails; +public class GetFactorDetailsResponseDto +{ + // + public long Id { get; set; } + // + public long ProductId { get; set; } + // + public int Count { get; set; } + // + public long UnitPrice { get; set; } + // + public int UnitDiscount { get; set; } + // + public long OrderId { get; set; } + // + public long UnitDiscountPrice { get; set; } + // + public bool IsChangePrice { get; set; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/OtpTokenCQ/Commands/CreateNewOtpToken/CreateNewOtpTokenCommandHandler.cs b/src/CMSMicroservice.Application/OtpTokenCQ/Commands/CreateNewOtpToken/CreateNewOtpTokenCommandHandler.cs index c7b3501..50526e0 100644 --- a/src/CMSMicroservice.Application/OtpTokenCQ/Commands/CreateNewOtpToken/CreateNewOtpTokenCommandHandler.cs +++ b/src/CMSMicroservice.Application/OtpTokenCQ/Commands/CreateNewOtpToken/CreateNewOtpTokenCommandHandler.cs @@ -7,11 +7,13 @@ public class CreateNewOtpTokenCommandHandler : IRequestHandler { private readonly IApplicationDbContext _context; private readonly IConfiguration _cfg; + private readonly IHashService _hashService; - public VerifyOtpTokenCommandHandler(IApplicationDbContext context, IConfiguration cfg) + public VerifyOtpTokenCommandHandler(IApplicationDbContext context, IConfiguration cfg, IHashService hashService) { _context = context; _cfg = cfg; + _hashService = hashService; } const int MaxAttempts = 5; // محدودیت تلاش @@ -21,7 +21,6 @@ public class VerifyOtpTokenCommandHandler : IRequestHandler o.Mobile == mobile && o.Purpose == purpose && !o.IsUsed && o.ExpiresAt > now) .OrderByDescending(o => o.Created) @@ -33,7 +32,8 @@ public class VerifyOtpTokenCommandHandler : IRequestHandler Hash(code).Equals(hexHash, StringComparison.OrdinalIgnoreCase); - } diff --git a/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/CreateNewProductGallerys/CreateNewProductGallerysCommand.cs b/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/CreateNewProductGallerys/CreateNewProductGallerysCommand.cs new file mode 100644 index 0000000..3435e3e --- /dev/null +++ b/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/CreateNewProductGallerys/CreateNewProductGallerysCommand.cs @@ -0,0 +1,9 @@ +namespace CMSMicroservice.Application.ProductGallerysCQ.Commands.CreateNewProductGallerys; +public record CreateNewProductGallerysCommand : IRequest +{ + // + public long ProductImageId { get; init; } + // + public long ProductId { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/CreateNewProductGallerys/CreateNewProductGallerysCommandHandler.cs b/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/CreateNewProductGallerys/CreateNewProductGallerysCommandHandler.cs new file mode 100644 index 0000000..2eac816 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/CreateNewProductGallerys/CreateNewProductGallerysCommandHandler.cs @@ -0,0 +1,21 @@ +using CMSMicroservice.Domain.Events; +namespace CMSMicroservice.Application.ProductGallerysCQ.Commands.CreateNewProductGallerys; +public class CreateNewProductGallerysCommandHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public CreateNewProductGallerysCommandHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(CreateNewProductGallerysCommand request, + CancellationToken cancellationToken) + { + var entity = request.Adapt(); + await _context.ProductGalleryss.AddAsync(entity, cancellationToken); + entity.AddDomainEvent(new CreateNewProductGallerysEvent(entity)); + await _context.SaveChangesAsync(cancellationToken); + return entity.Adapt(); + } +} diff --git a/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/CreateNewProductGallerys/CreateNewProductGallerysCommandValidator.cs b/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/CreateNewProductGallerys/CreateNewProductGallerysCommandValidator.cs new file mode 100644 index 0000000..270c200 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/CreateNewProductGallerys/CreateNewProductGallerysCommandValidator.cs @@ -0,0 +1,18 @@ +namespace CMSMicroservice.Application.ProductGallerysCQ.Commands.CreateNewProductGallerys; +public class CreateNewProductGallerysCommandValidator : AbstractValidator +{ + public CreateNewProductGallerysCommandValidator() + { + RuleFor(model => model.ProductImageId) + .NotNull(); + RuleFor(model => model.ProductId) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((CreateNewProductGallerysCommand)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/CreateNewProductGallerys/CreateNewProductGallerysResponseDto.cs b/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/CreateNewProductGallerys/CreateNewProductGallerysResponseDto.cs new file mode 100644 index 0000000..f4b67ab --- /dev/null +++ b/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/CreateNewProductGallerys/CreateNewProductGallerysResponseDto.cs @@ -0,0 +1,7 @@ +namespace CMSMicroservice.Application.ProductGallerysCQ.Commands.CreateNewProductGallerys; +public class CreateNewProductGallerysResponseDto +{ + // + public long Id { get; set; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/DeleteProductGallerys/DeleteProductGallerysCommand.cs b/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/DeleteProductGallerys/DeleteProductGallerysCommand.cs new file mode 100644 index 0000000..9b3c7d7 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/DeleteProductGallerys/DeleteProductGallerysCommand.cs @@ -0,0 +1,7 @@ +namespace CMSMicroservice.Application.ProductGallerysCQ.Commands.DeleteProductGallerys; +public record DeleteProductGallerysCommand : IRequest +{ + // + public long Id { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/DeleteProductGallerys/DeleteProductGallerysCommandHandler.cs b/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/DeleteProductGallerys/DeleteProductGallerysCommandHandler.cs new file mode 100644 index 0000000..266fe93 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/DeleteProductGallerys/DeleteProductGallerysCommandHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +namespace CMSMicroservice.Application.ProductGallerysCQ.Commands.DeleteProductGallerys; +public class DeleteProductGallerysCommandHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public DeleteProductGallerysCommandHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(DeleteProductGallerysCommand request, CancellationToken cancellationToken) + { + var entity = await _context.ProductGalleryss + .FirstOrDefaultAsync(x => x.Id == request.Id, cancellationToken) ?? throw new NotFoundException(nameof(ProductGallerys), request.Id); + entity.IsDeleted = true; + _context.ProductGalleryss.Update(entity); + entity.AddDomainEvent(new DeleteProductGallerysEvent(entity)); + await _context.SaveChangesAsync(cancellationToken); + return Unit.Value; + } +} diff --git a/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/DeleteProductGallerys/DeleteProductGallerysCommandValidator.cs b/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/DeleteProductGallerys/DeleteProductGallerysCommandValidator.cs new file mode 100644 index 0000000..678a1b5 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/DeleteProductGallerys/DeleteProductGallerysCommandValidator.cs @@ -0,0 +1,16 @@ +namespace CMSMicroservice.Application.ProductGallerysCQ.Commands.DeleteProductGallerys; +public class DeleteProductGallerysCommandValidator : AbstractValidator +{ + public DeleteProductGallerysCommandValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((DeleteProductGallerysCommand)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/UpdateProductGallerys/UpdateProductGallerysCommand.cs b/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/UpdateProductGallerys/UpdateProductGallerysCommand.cs new file mode 100644 index 0000000..1c2519d --- /dev/null +++ b/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/UpdateProductGallerys/UpdateProductGallerysCommand.cs @@ -0,0 +1,11 @@ +namespace CMSMicroservice.Application.ProductGallerysCQ.Commands.UpdateProductGallerys; +public record UpdateProductGallerysCommand : IRequest +{ + // + public long Id { get; init; } + // + public long ProductImageId { get; init; } + // + public long ProductId { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/UpdateProductGallerys/UpdateProductGallerysCommandHandler.cs b/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/UpdateProductGallerys/UpdateProductGallerysCommandHandler.cs new file mode 100644 index 0000000..dba3b60 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/UpdateProductGallerys/UpdateProductGallerysCommandHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +namespace CMSMicroservice.Application.ProductGallerysCQ.Commands.UpdateProductGallerys; +public class UpdateProductGallerysCommandHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public UpdateProductGallerysCommandHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(UpdateProductGallerysCommand request, CancellationToken cancellationToken) + { + var entity = await _context.ProductGalleryss + .FirstOrDefaultAsync(x => x.Id == request.Id, cancellationToken) ?? throw new NotFoundException(nameof(ProductGallerys), request.Id); + request.Adapt(entity); + _context.ProductGalleryss.Update(entity); + entity.AddDomainEvent(new UpdateProductGallerysEvent(entity)); + await _context.SaveChangesAsync(cancellationToken); + return Unit.Value; + } +} diff --git a/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/UpdateProductGallerys/UpdateProductGallerysCommandValidator.cs b/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/UpdateProductGallerys/UpdateProductGallerysCommandValidator.cs new file mode 100644 index 0000000..a66c7ed --- /dev/null +++ b/src/CMSMicroservice.Application/ProductGallerysCQ/Commands/UpdateProductGallerys/UpdateProductGallerysCommandValidator.cs @@ -0,0 +1,20 @@ +namespace CMSMicroservice.Application.ProductGallerysCQ.Commands.UpdateProductGallerys; +public class UpdateProductGallerysCommandValidator : AbstractValidator +{ + public UpdateProductGallerysCommandValidator() + { + RuleFor(model => model.Id) + .NotNull(); + RuleFor(model => model.ProductImageId) + .NotNull(); + RuleFor(model => model.ProductId) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((UpdateProductGallerysCommand)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/ProductGallerysCQ/EventHandlers/CreateNewProductGallerysEventHandlers/CreateNewProductGallerysEventHandler.cs b/src/CMSMicroservice.Application/ProductGallerysCQ/EventHandlers/CreateNewProductGallerysEventHandlers/CreateNewProductGallerysEventHandler.cs new file mode 100644 index 0000000..ad83500 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductGallerysCQ/EventHandlers/CreateNewProductGallerysEventHandlers/CreateNewProductGallerysEventHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +using Microsoft.Extensions.Logging; + +namespace CMSMicroservice.Application.ProductGallerysCQ.EventHandlers; + +public class CreateNewProductGallerysEventHandler : INotificationHandler +{ + private readonly ILogger< + CreateNewProductGallerysEventHandler> _logger; + + public CreateNewProductGallerysEventHandler(ILogger logger) + { + _logger = logger; + } + + public Task Handle(CreateNewProductGallerysEvent notification, CancellationToken cancellationToken) + { + _logger.LogInformation("Domain Event: {DomainEvent}", notification.GetType().Name); + + return Task.CompletedTask; + } +} diff --git a/src/CMSMicroservice.Application/ProductGallerysCQ/EventHandlers/DeleteProductGallerysEventHandlers/DeleteProductGallerysEventHandler.cs b/src/CMSMicroservice.Application/ProductGallerysCQ/EventHandlers/DeleteProductGallerysEventHandlers/DeleteProductGallerysEventHandler.cs new file mode 100644 index 0000000..bbdd777 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductGallerysCQ/EventHandlers/DeleteProductGallerysEventHandlers/DeleteProductGallerysEventHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +using Microsoft.Extensions.Logging; + +namespace CMSMicroservice.Application.ProductGallerysCQ.EventHandlers; + +public class DeleteProductGallerysEventHandler : INotificationHandler +{ + private readonly ILogger< + DeleteProductGallerysEventHandler> _logger; + + public DeleteProductGallerysEventHandler(ILogger logger) + { + _logger = logger; + } + + public Task Handle(DeleteProductGallerysEvent notification, CancellationToken cancellationToken) + { + _logger.LogInformation("Domain Event: {DomainEvent}", notification.GetType().Name); + + return Task.CompletedTask; + } +} diff --git a/src/CMSMicroservice.Application/ProductGallerysCQ/EventHandlers/UpdateProductGallerysEventHandlers/UpdateProductGallerysEventHandler.cs b/src/CMSMicroservice.Application/ProductGallerysCQ/EventHandlers/UpdateProductGallerysEventHandlers/UpdateProductGallerysEventHandler.cs new file mode 100644 index 0000000..d04c98f --- /dev/null +++ b/src/CMSMicroservice.Application/ProductGallerysCQ/EventHandlers/UpdateProductGallerysEventHandlers/UpdateProductGallerysEventHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +using Microsoft.Extensions.Logging; + +namespace CMSMicroservice.Application.ProductGallerysCQ.EventHandlers; + +public class UpdateProductGallerysEventHandler : INotificationHandler +{ + private readonly ILogger< + UpdateProductGallerysEventHandler> _logger; + + public UpdateProductGallerysEventHandler(ILogger logger) + { + _logger = logger; + } + + public Task Handle(UpdateProductGallerysEvent notification, CancellationToken cancellationToken) + { + _logger.LogInformation("Domain Event: {DomainEvent}", notification.GetType().Name); + + return Task.CompletedTask; + } +} diff --git a/src/CMSMicroservice.Application/ProductGallerysCQ/Queries/GetAllProductGallerysByFilter/GetAllProductGallerysByFilterQuery.cs b/src/CMSMicroservice.Application/ProductGallerysCQ/Queries/GetAllProductGallerysByFilter/GetAllProductGallerysByFilterQuery.cs new file mode 100644 index 0000000..34f3890 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductGallerysCQ/Queries/GetAllProductGallerysByFilter/GetAllProductGallerysByFilterQuery.cs @@ -0,0 +1,19 @@ +namespace CMSMicroservice.Application.ProductGallerysCQ.Queries.GetAllProductGallerysByFilter; +public record GetAllProductGallerysByFilterQuery : IRequest +{ + //موقعیت صفحه بندی + public PaginationState? PaginationState { get; init; } + //مرتب سازی بر اساس + public string? SortBy { get; init; } + //فیلتر + public GetAllProductGallerysByFilterFilter? Filter { get; init; } + +}public class GetAllProductGallerysByFilterFilter +{ + // + public long? Id { get; set; } + // + public long? ProductImageId { get; set; } + // + public long? ProductId { get; set; } +} diff --git a/src/CMSMicroservice.Application/ProductGallerysCQ/Queries/GetAllProductGallerysByFilter/GetAllProductGallerysByFilterQueryHandler.cs b/src/CMSMicroservice.Application/ProductGallerysCQ/Queries/GetAllProductGallerysByFilter/GetAllProductGallerysByFilterQueryHandler.cs new file mode 100644 index 0000000..261059b --- /dev/null +++ b/src/CMSMicroservice.Application/ProductGallerysCQ/Queries/GetAllProductGallerysByFilter/GetAllProductGallerysByFilterQueryHandler.cs @@ -0,0 +1,32 @@ +namespace CMSMicroservice.Application.ProductGallerysCQ.Queries.GetAllProductGallerysByFilter; +public class GetAllProductGallerysByFilterQueryHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public GetAllProductGallerysByFilterQueryHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(GetAllProductGallerysByFilterQuery request, CancellationToken cancellationToken) + { + var query = _context.ProductGalleryss + .ApplyOrder(sortBy: request.SortBy) + .AsNoTracking() + .AsQueryable(); + if (request.Filter is not null) + { + query = query + .Where(x => request.Filter.Id == null || x.Id == request.Filter.Id) + .Where(x => request.Filter.ProductImageId == null || x.ProductImageId == request.Filter.ProductImageId) + .Where(x => request.Filter.ProductId == null || x.ProductId == request.Filter.ProductId) +; + } + return new GetAllProductGallerysByFilterResponseDto + { + MetaData = await query.GetMetaData(request.PaginationState, cancellationToken), + Models = await query.PaginatedListAsync(paginationState: request.PaginationState) + .ProjectToType().ToListAsync(cancellationToken) + }; + } +} diff --git a/src/CMSMicroservice.Application/ProductGallerysCQ/Queries/GetAllProductGallerysByFilter/GetAllProductGallerysByFilterQueryValidator.cs b/src/CMSMicroservice.Application/ProductGallerysCQ/Queries/GetAllProductGallerysByFilter/GetAllProductGallerysByFilterQueryValidator.cs new file mode 100644 index 0000000..13985f8 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductGallerysCQ/Queries/GetAllProductGallerysByFilter/GetAllProductGallerysByFilterQueryValidator.cs @@ -0,0 +1,14 @@ +namespace CMSMicroservice.Application.ProductGallerysCQ.Queries.GetAllProductGallerysByFilter; +public class GetAllProductGallerysByFilterQueryValidator : AbstractValidator +{ + public GetAllProductGallerysByFilterQueryValidator() + { + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetAllProductGallerysByFilterQuery)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/ProductGallerysCQ/Queries/GetAllProductGallerysByFilter/GetAllProductGallerysByFilterResponseDto.cs b/src/CMSMicroservice.Application/ProductGallerysCQ/Queries/GetAllProductGallerysByFilter/GetAllProductGallerysByFilterResponseDto.cs new file mode 100644 index 0000000..4fe4797 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductGallerysCQ/Queries/GetAllProductGallerysByFilter/GetAllProductGallerysByFilterResponseDto.cs @@ -0,0 +1,17 @@ +namespace CMSMicroservice.Application.ProductGallerysCQ.Queries.GetAllProductGallerysByFilter; +public class GetAllProductGallerysByFilterResponseDto +{ + //متادیتا + public MetaData MetaData { get; set; } + //مدل خروجی + public List? Models { get; set; } + +}public class GetAllProductGallerysByFilterResponseModel +{ + // + public long Id { get; set; } + // + public long ProductImageId { get; set; } + // + public long ProductId { get; set; } +} diff --git a/src/CMSMicroservice.Application/ProductGallerysCQ/Queries/GetProductGallerys/GetProductGallerysQuery.cs b/src/CMSMicroservice.Application/ProductGallerysCQ/Queries/GetProductGallerys/GetProductGallerysQuery.cs new file mode 100644 index 0000000..dd0feb2 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductGallerysCQ/Queries/GetProductGallerys/GetProductGallerysQuery.cs @@ -0,0 +1,7 @@ +namespace CMSMicroservice.Application.ProductGallerysCQ.Queries.GetProductGallerys; +public record GetProductGallerysQuery : IRequest +{ + // + public long Id { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/ProductGallerysCQ/Queries/GetProductGallerys/GetProductGallerysQueryHandler.cs b/src/CMSMicroservice.Application/ProductGallerysCQ/Queries/GetProductGallerys/GetProductGallerysQueryHandler.cs new file mode 100644 index 0000000..e2f13dc --- /dev/null +++ b/src/CMSMicroservice.Application/ProductGallerysCQ/Queries/GetProductGallerys/GetProductGallerysQueryHandler.cs @@ -0,0 +1,22 @@ +namespace CMSMicroservice.Application.ProductGallerysCQ.Queries.GetProductGallerys; +public class GetProductGallerysQueryHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public GetProductGallerysQueryHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(GetProductGallerysQuery request, + CancellationToken cancellationToken) + { + var response = await _context.ProductGalleryss + .AsNoTracking() + .Where(x => x.Id == request.Id) + .ProjectToType() + .FirstOrDefaultAsync(cancellationToken); + + return response ?? throw new NotFoundException(nameof(ProductGallerys), request.Id); + } +} diff --git a/src/CMSMicroservice.Application/ProductGallerysCQ/Queries/GetProductGallerys/GetProductGallerysQueryValidator.cs b/src/CMSMicroservice.Application/ProductGallerysCQ/Queries/GetProductGallerys/GetProductGallerysQueryValidator.cs new file mode 100644 index 0000000..d79dca4 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductGallerysCQ/Queries/GetProductGallerys/GetProductGallerysQueryValidator.cs @@ -0,0 +1,16 @@ +namespace CMSMicroservice.Application.ProductGallerysCQ.Queries.GetProductGallerys; +public class GetProductGallerysQueryValidator : AbstractValidator +{ + public GetProductGallerysQueryValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetProductGallerysQuery)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/ProductGallerysCQ/Queries/GetProductGallerys/GetProductGallerysResponseDto.cs b/src/CMSMicroservice.Application/ProductGallerysCQ/Queries/GetProductGallerys/GetProductGallerysResponseDto.cs new file mode 100644 index 0000000..85580dc --- /dev/null +++ b/src/CMSMicroservice.Application/ProductGallerysCQ/Queries/GetProductGallerys/GetProductGallerysResponseDto.cs @@ -0,0 +1,11 @@ +namespace CMSMicroservice.Application.ProductGallerysCQ.Queries.GetProductGallerys; +public class GetProductGallerysResponseDto +{ + // + public long Id { get; set; } + // + public long ProductImageId { get; set; } + // + public long ProductId { get; set; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/ProductImagesCQ/Commands/CreateNewProductImages/CreateNewProductImagesCommand.cs b/src/CMSMicroservice.Application/ProductImagesCQ/Commands/CreateNewProductImages/CreateNewProductImagesCommand.cs new file mode 100644 index 0000000..7e952ce --- /dev/null +++ b/src/CMSMicroservice.Application/ProductImagesCQ/Commands/CreateNewProductImages/CreateNewProductImagesCommand.cs @@ -0,0 +1,11 @@ +namespace CMSMicroservice.Application.ProductImagesCQ.Commands.CreateNewProductImages; +public record CreateNewProductImagesCommand : IRequest +{ + // + public string Title { get; init; } + // + public string ImagePath { get; init; } + // + public string ImageThumbnailPath { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/ProductImagesCQ/Commands/CreateNewProductImages/CreateNewProductImagesCommandHandler.cs b/src/CMSMicroservice.Application/ProductImagesCQ/Commands/CreateNewProductImages/CreateNewProductImagesCommandHandler.cs new file mode 100644 index 0000000..74f4e75 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductImagesCQ/Commands/CreateNewProductImages/CreateNewProductImagesCommandHandler.cs @@ -0,0 +1,21 @@ +using CMSMicroservice.Domain.Events; +namespace CMSMicroservice.Application.ProductImagesCQ.Commands.CreateNewProductImages; +public class CreateNewProductImagesCommandHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public CreateNewProductImagesCommandHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(CreateNewProductImagesCommand request, + CancellationToken cancellationToken) + { + var entity = request.Adapt(); + await _context.ProductImagess.AddAsync(entity, cancellationToken); + entity.AddDomainEvent(new CreateNewProductImagesEvent(entity)); + await _context.SaveChangesAsync(cancellationToken); + return entity.Adapt(); + } +} diff --git a/src/CMSMicroservice.Application/ProductImagesCQ/Commands/CreateNewProductImages/CreateNewProductImagesCommandValidator.cs b/src/CMSMicroservice.Application/ProductImagesCQ/Commands/CreateNewProductImages/CreateNewProductImagesCommandValidator.cs new file mode 100644 index 0000000..f5c64b0 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductImagesCQ/Commands/CreateNewProductImages/CreateNewProductImagesCommandValidator.cs @@ -0,0 +1,20 @@ +namespace CMSMicroservice.Application.ProductImagesCQ.Commands.CreateNewProductImages; +public class CreateNewProductImagesCommandValidator : AbstractValidator +{ + public CreateNewProductImagesCommandValidator() + { + RuleFor(model => model.Title) + .NotEmpty(); + RuleFor(model => model.ImagePath) + .NotEmpty(); + RuleFor(model => model.ImageThumbnailPath) + .NotEmpty(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((CreateNewProductImagesCommand)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/ProductImagesCQ/Commands/CreateNewProductImages/CreateNewProductImagesResponseDto.cs b/src/CMSMicroservice.Application/ProductImagesCQ/Commands/CreateNewProductImages/CreateNewProductImagesResponseDto.cs new file mode 100644 index 0000000..9642742 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductImagesCQ/Commands/CreateNewProductImages/CreateNewProductImagesResponseDto.cs @@ -0,0 +1,7 @@ +namespace CMSMicroservice.Application.ProductImagesCQ.Commands.CreateNewProductImages; +public class CreateNewProductImagesResponseDto +{ + // + public long Id { get; set; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/ProductImagesCQ/Commands/DeleteProductImages/DeleteProductImagesCommand.cs b/src/CMSMicroservice.Application/ProductImagesCQ/Commands/DeleteProductImages/DeleteProductImagesCommand.cs new file mode 100644 index 0000000..3ff46f5 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductImagesCQ/Commands/DeleteProductImages/DeleteProductImagesCommand.cs @@ -0,0 +1,7 @@ +namespace CMSMicroservice.Application.ProductImagesCQ.Commands.DeleteProductImages; +public record DeleteProductImagesCommand : IRequest +{ + // + public long Id { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/ProductImagesCQ/Commands/DeleteProductImages/DeleteProductImagesCommandHandler.cs b/src/CMSMicroservice.Application/ProductImagesCQ/Commands/DeleteProductImages/DeleteProductImagesCommandHandler.cs new file mode 100644 index 0000000..15996ac --- /dev/null +++ b/src/CMSMicroservice.Application/ProductImagesCQ/Commands/DeleteProductImages/DeleteProductImagesCommandHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +namespace CMSMicroservice.Application.ProductImagesCQ.Commands.DeleteProductImages; +public class DeleteProductImagesCommandHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public DeleteProductImagesCommandHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(DeleteProductImagesCommand request, CancellationToken cancellationToken) + { + var entity = await _context.ProductImagess + .FirstOrDefaultAsync(x => x.Id == request.Id, cancellationToken) ?? throw new NotFoundException(nameof(ProductImages), request.Id); + entity.IsDeleted = true; + _context.ProductImagess.Update(entity); + entity.AddDomainEvent(new DeleteProductImagesEvent(entity)); + await _context.SaveChangesAsync(cancellationToken); + return Unit.Value; + } +} diff --git a/src/CMSMicroservice.Application/ProductImagesCQ/Commands/DeleteProductImages/DeleteProductImagesCommandValidator.cs b/src/CMSMicroservice.Application/ProductImagesCQ/Commands/DeleteProductImages/DeleteProductImagesCommandValidator.cs new file mode 100644 index 0000000..f719874 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductImagesCQ/Commands/DeleteProductImages/DeleteProductImagesCommandValidator.cs @@ -0,0 +1,16 @@ +namespace CMSMicroservice.Application.ProductImagesCQ.Commands.DeleteProductImages; +public class DeleteProductImagesCommandValidator : AbstractValidator +{ + public DeleteProductImagesCommandValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((DeleteProductImagesCommand)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/ProductImagesCQ/Commands/UpdateProductImages/UpdateProductImagesCommand.cs b/src/CMSMicroservice.Application/ProductImagesCQ/Commands/UpdateProductImages/UpdateProductImagesCommand.cs new file mode 100644 index 0000000..d03f6f0 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductImagesCQ/Commands/UpdateProductImages/UpdateProductImagesCommand.cs @@ -0,0 +1,13 @@ +namespace CMSMicroservice.Application.ProductImagesCQ.Commands.UpdateProductImages; +public record UpdateProductImagesCommand : IRequest +{ + // + public long Id { get; init; } + // + public string Title { get; init; } + // + public string ImagePath { get; init; } + // + public string ImageThumbnailPath { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/ProductImagesCQ/Commands/UpdateProductImages/UpdateProductImagesCommandHandler.cs b/src/CMSMicroservice.Application/ProductImagesCQ/Commands/UpdateProductImages/UpdateProductImagesCommandHandler.cs new file mode 100644 index 0000000..9b4f5dd --- /dev/null +++ b/src/CMSMicroservice.Application/ProductImagesCQ/Commands/UpdateProductImages/UpdateProductImagesCommandHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +namespace CMSMicroservice.Application.ProductImagesCQ.Commands.UpdateProductImages; +public class UpdateProductImagesCommandHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public UpdateProductImagesCommandHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(UpdateProductImagesCommand request, CancellationToken cancellationToken) + { + var entity = await _context.ProductImagess + .FirstOrDefaultAsync(x => x.Id == request.Id, cancellationToken) ?? throw new NotFoundException(nameof(ProductImages), request.Id); + request.Adapt(entity); + _context.ProductImagess.Update(entity); + entity.AddDomainEvent(new UpdateProductImagesEvent(entity)); + await _context.SaveChangesAsync(cancellationToken); + return Unit.Value; + } +} diff --git a/src/CMSMicroservice.Application/ProductImagesCQ/Commands/UpdateProductImages/UpdateProductImagesCommandValidator.cs b/src/CMSMicroservice.Application/ProductImagesCQ/Commands/UpdateProductImages/UpdateProductImagesCommandValidator.cs new file mode 100644 index 0000000..62ede52 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductImagesCQ/Commands/UpdateProductImages/UpdateProductImagesCommandValidator.cs @@ -0,0 +1,22 @@ +namespace CMSMicroservice.Application.ProductImagesCQ.Commands.UpdateProductImages; +public class UpdateProductImagesCommandValidator : AbstractValidator +{ + public UpdateProductImagesCommandValidator() + { + RuleFor(model => model.Id) + .NotNull(); + RuleFor(model => model.Title) + .NotEmpty(); + RuleFor(model => model.ImagePath) + .NotEmpty(); + RuleFor(model => model.ImageThumbnailPath) + .NotEmpty(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((UpdateProductImagesCommand)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/ProductImagesCQ/EventHandlers/CreateNewProductImagesEventHandlers/CreateNewProductImagesEventHandler.cs b/src/CMSMicroservice.Application/ProductImagesCQ/EventHandlers/CreateNewProductImagesEventHandlers/CreateNewProductImagesEventHandler.cs new file mode 100644 index 0000000..9e7bb22 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductImagesCQ/EventHandlers/CreateNewProductImagesEventHandlers/CreateNewProductImagesEventHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +using Microsoft.Extensions.Logging; + +namespace CMSMicroservice.Application.ProductImagesCQ.EventHandlers; + +public class CreateNewProductImagesEventHandler : INotificationHandler +{ + private readonly ILogger< + CreateNewProductImagesEventHandler> _logger; + + public CreateNewProductImagesEventHandler(ILogger logger) + { + _logger = logger; + } + + public Task Handle(CreateNewProductImagesEvent notification, CancellationToken cancellationToken) + { + _logger.LogInformation("Domain Event: {DomainEvent}", notification.GetType().Name); + + return Task.CompletedTask; + } +} diff --git a/src/CMSMicroservice.Application/ProductImagesCQ/EventHandlers/DeleteProductImagesEventHandlers/DeleteProductImagesEventHandler.cs b/src/CMSMicroservice.Application/ProductImagesCQ/EventHandlers/DeleteProductImagesEventHandlers/DeleteProductImagesEventHandler.cs new file mode 100644 index 0000000..b690378 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductImagesCQ/EventHandlers/DeleteProductImagesEventHandlers/DeleteProductImagesEventHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +using Microsoft.Extensions.Logging; + +namespace CMSMicroservice.Application.ProductImagesCQ.EventHandlers; + +public class DeleteProductImagesEventHandler : INotificationHandler +{ + private readonly ILogger< + DeleteProductImagesEventHandler> _logger; + + public DeleteProductImagesEventHandler(ILogger logger) + { + _logger = logger; + } + + public Task Handle(DeleteProductImagesEvent notification, CancellationToken cancellationToken) + { + _logger.LogInformation("Domain Event: {DomainEvent}", notification.GetType().Name); + + return Task.CompletedTask; + } +} diff --git a/src/CMSMicroservice.Application/ProductImagesCQ/EventHandlers/UpdateProductImagesEventHandlers/UpdateProductImagesEventHandler.cs b/src/CMSMicroservice.Application/ProductImagesCQ/EventHandlers/UpdateProductImagesEventHandlers/UpdateProductImagesEventHandler.cs new file mode 100644 index 0000000..fac73dc --- /dev/null +++ b/src/CMSMicroservice.Application/ProductImagesCQ/EventHandlers/UpdateProductImagesEventHandlers/UpdateProductImagesEventHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +using Microsoft.Extensions.Logging; + +namespace CMSMicroservice.Application.ProductImagesCQ.EventHandlers; + +public class UpdateProductImagesEventHandler : INotificationHandler +{ + private readonly ILogger< + UpdateProductImagesEventHandler> _logger; + + public UpdateProductImagesEventHandler(ILogger logger) + { + _logger = logger; + } + + public Task Handle(UpdateProductImagesEvent notification, CancellationToken cancellationToken) + { + _logger.LogInformation("Domain Event: {DomainEvent}", notification.GetType().Name); + + return Task.CompletedTask; + } +} diff --git a/src/CMSMicroservice.Application/ProductImagesCQ/Queries/GetAllProductImagesByFilter/GetAllProductImagesByFilterQuery.cs b/src/CMSMicroservice.Application/ProductImagesCQ/Queries/GetAllProductImagesByFilter/GetAllProductImagesByFilterQuery.cs new file mode 100644 index 0000000..f8df1e3 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductImagesCQ/Queries/GetAllProductImagesByFilter/GetAllProductImagesByFilterQuery.cs @@ -0,0 +1,21 @@ +namespace CMSMicroservice.Application.ProductImagesCQ.Queries.GetAllProductImagesByFilter; +public record GetAllProductImagesByFilterQuery : IRequest +{ + //موقعیت صفحه بندی + public PaginationState? PaginationState { get; init; } + //مرتب سازی بر اساس + public string? SortBy { get; init; } + //فیلتر + public GetAllProductImagesByFilterFilter? Filter { get; init; } + +}public class GetAllProductImagesByFilterFilter +{ + // + public long? Id { get; set; } + // + public string? Title { get; set; } + // + public string? ImagePath { get; set; } + // + public string? ImageThumbnailPath { get; set; } +} diff --git a/src/CMSMicroservice.Application/ProductImagesCQ/Queries/GetAllProductImagesByFilter/GetAllProductImagesByFilterQueryHandler.cs b/src/CMSMicroservice.Application/ProductImagesCQ/Queries/GetAllProductImagesByFilter/GetAllProductImagesByFilterQueryHandler.cs new file mode 100644 index 0000000..9e76ce0 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductImagesCQ/Queries/GetAllProductImagesByFilter/GetAllProductImagesByFilterQueryHandler.cs @@ -0,0 +1,33 @@ +namespace CMSMicroservice.Application.ProductImagesCQ.Queries.GetAllProductImagesByFilter; +public class GetAllProductImagesByFilterQueryHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public GetAllProductImagesByFilterQueryHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(GetAllProductImagesByFilterQuery request, CancellationToken cancellationToken) + { + var query = _context.ProductImagess + .ApplyOrder(sortBy: request.SortBy) + .AsNoTracking() + .AsQueryable(); + if (request.Filter is not null) + { + query = query + .Where(x => request.Filter.Id == null || x.Id == request.Filter.Id) + .Where(x => request.Filter.Title == null || x.Title.Contains(request.Filter.Title)) + .Where(x => request.Filter.ImagePath == null || x.ImagePath.Contains(request.Filter.ImagePath)) + .Where(x => request.Filter.ImageThumbnailPath == null || x.ImageThumbnailPath.Contains(request.Filter.ImageThumbnailPath)) +; + } + return new GetAllProductImagesByFilterResponseDto + { + MetaData = await query.GetMetaData(request.PaginationState, cancellationToken), + Models = await query.PaginatedListAsync(paginationState: request.PaginationState) + .ProjectToType().ToListAsync(cancellationToken) + }; + } +} diff --git a/src/CMSMicroservice.Application/ProductImagesCQ/Queries/GetAllProductImagesByFilter/GetAllProductImagesByFilterQueryValidator.cs b/src/CMSMicroservice.Application/ProductImagesCQ/Queries/GetAllProductImagesByFilter/GetAllProductImagesByFilterQueryValidator.cs new file mode 100644 index 0000000..886e763 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductImagesCQ/Queries/GetAllProductImagesByFilter/GetAllProductImagesByFilterQueryValidator.cs @@ -0,0 +1,14 @@ +namespace CMSMicroservice.Application.ProductImagesCQ.Queries.GetAllProductImagesByFilter; +public class GetAllProductImagesByFilterQueryValidator : AbstractValidator +{ + public GetAllProductImagesByFilterQueryValidator() + { + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetAllProductImagesByFilterQuery)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/ProductImagesCQ/Queries/GetAllProductImagesByFilter/GetAllProductImagesByFilterResponseDto.cs b/src/CMSMicroservice.Application/ProductImagesCQ/Queries/GetAllProductImagesByFilter/GetAllProductImagesByFilterResponseDto.cs new file mode 100644 index 0000000..02c074c --- /dev/null +++ b/src/CMSMicroservice.Application/ProductImagesCQ/Queries/GetAllProductImagesByFilter/GetAllProductImagesByFilterResponseDto.cs @@ -0,0 +1,19 @@ +namespace CMSMicroservice.Application.ProductImagesCQ.Queries.GetAllProductImagesByFilter; +public class GetAllProductImagesByFilterResponseDto +{ + //متادیتا + public MetaData MetaData { get; set; } + //مدل خروجی + public List? Models { get; set; } + +}public class GetAllProductImagesByFilterResponseModel +{ + // + public long Id { get; set; } + // + public string Title { get; set; } + // + public string ImagePath { get; set; } + // + public string ImageThumbnailPath { get; set; } +} diff --git a/src/CMSMicroservice.Application/ProductImagesCQ/Queries/GetProductImages/GetProductImagesQuery.cs b/src/CMSMicroservice.Application/ProductImagesCQ/Queries/GetProductImages/GetProductImagesQuery.cs new file mode 100644 index 0000000..c3a3d64 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductImagesCQ/Queries/GetProductImages/GetProductImagesQuery.cs @@ -0,0 +1,7 @@ +namespace CMSMicroservice.Application.ProductImagesCQ.Queries.GetProductImages; +public record GetProductImagesQuery : IRequest +{ + // + public long Id { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/ProductImagesCQ/Queries/GetProductImages/GetProductImagesQueryHandler.cs b/src/CMSMicroservice.Application/ProductImagesCQ/Queries/GetProductImages/GetProductImagesQueryHandler.cs new file mode 100644 index 0000000..4090393 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductImagesCQ/Queries/GetProductImages/GetProductImagesQueryHandler.cs @@ -0,0 +1,22 @@ +namespace CMSMicroservice.Application.ProductImagesCQ.Queries.GetProductImages; +public class GetProductImagesQueryHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public GetProductImagesQueryHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(GetProductImagesQuery request, + CancellationToken cancellationToken) + { + var response = await _context.ProductImagess + .AsNoTracking() + .Where(x => x.Id == request.Id) + .ProjectToType() + .FirstOrDefaultAsync(cancellationToken); + + return response ?? throw new NotFoundException(nameof(ProductImages), request.Id); + } +} diff --git a/src/CMSMicroservice.Application/ProductImagesCQ/Queries/GetProductImages/GetProductImagesQueryValidator.cs b/src/CMSMicroservice.Application/ProductImagesCQ/Queries/GetProductImages/GetProductImagesQueryValidator.cs new file mode 100644 index 0000000..02d17e0 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductImagesCQ/Queries/GetProductImages/GetProductImagesQueryValidator.cs @@ -0,0 +1,16 @@ +namespace CMSMicroservice.Application.ProductImagesCQ.Queries.GetProductImages; +public class GetProductImagesQueryValidator : AbstractValidator +{ + public GetProductImagesQueryValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetProductImagesQuery)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/ProductImagesCQ/Queries/GetProductImages/GetProductImagesResponseDto.cs b/src/CMSMicroservice.Application/ProductImagesCQ/Queries/GetProductImages/GetProductImagesResponseDto.cs new file mode 100644 index 0000000..5b828d7 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductImagesCQ/Queries/GetProductImages/GetProductImagesResponseDto.cs @@ -0,0 +1,13 @@ +namespace CMSMicroservice.Application.ProductImagesCQ.Queries.GetProductImages; +public class GetProductImagesResponseDto +{ + // + public long Id { get; set; } + // + public string Title { get; set; } + // + public string ImagePath { get; set; } + // + public string ImageThumbnailPath { get; set; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/ProductsCQ/Commands/CreateNewProducts/CreateNewProductsCommand.cs b/src/CMSMicroservice.Application/ProductsCQ/Commands/CreateNewProducts/CreateNewProductsCommand.cs new file mode 100644 index 0000000..89639e4 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductsCQ/Commands/CreateNewProducts/CreateNewProductsCommand.cs @@ -0,0 +1,29 @@ +namespace CMSMicroservice.Application.ProductsCQ.Commands.CreateNewProducts; +public record CreateNewProductsCommand : IRequest +{ + // + public string Title { get; init; } + // + public string Description { get; init; } + // + public string ShortInfomation { get; init; } + // + public string FullInformation { get; init; } + // + public long Price { get; init; } + // + public int Discount { get; init; } + // + public int Rate { get; init; } + // + public string ImagePath { get; init; } + // + public string ThumbnailPath { get; init; } + // + public int SaleCount { get; init; } + // + public int ViewCount { get; init; } + // + public int RemainingCount { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/ProductsCQ/Commands/CreateNewProducts/CreateNewProductsCommandHandler.cs b/src/CMSMicroservice.Application/ProductsCQ/Commands/CreateNewProducts/CreateNewProductsCommandHandler.cs new file mode 100644 index 0000000..704279f --- /dev/null +++ b/src/CMSMicroservice.Application/ProductsCQ/Commands/CreateNewProducts/CreateNewProductsCommandHandler.cs @@ -0,0 +1,21 @@ +using CMSMicroservice.Domain.Events; +namespace CMSMicroservice.Application.ProductsCQ.Commands.CreateNewProducts; +public class CreateNewProductsCommandHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public CreateNewProductsCommandHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(CreateNewProductsCommand request, + CancellationToken cancellationToken) + { + var entity = request.Adapt(); + await _context.Productss.AddAsync(entity, cancellationToken); + entity.AddDomainEvent(new CreateNewProductsEvent(entity)); + await _context.SaveChangesAsync(cancellationToken); + return entity.Adapt(); + } +} diff --git a/src/CMSMicroservice.Application/ProductsCQ/Commands/CreateNewProducts/CreateNewProductsCommandValidator.cs b/src/CMSMicroservice.Application/ProductsCQ/Commands/CreateNewProducts/CreateNewProductsCommandValidator.cs new file mode 100644 index 0000000..d4b6957 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductsCQ/Commands/CreateNewProducts/CreateNewProductsCommandValidator.cs @@ -0,0 +1,38 @@ +namespace CMSMicroservice.Application.ProductsCQ.Commands.CreateNewProducts; +public class CreateNewProductsCommandValidator : AbstractValidator +{ + public CreateNewProductsCommandValidator() + { + RuleFor(model => model.Title) + .NotEmpty(); + RuleFor(model => model.Description) + .NotEmpty(); + RuleFor(model => model.ShortInfomation) + .NotEmpty(); + RuleFor(model => model.FullInformation) + .NotEmpty(); + RuleFor(model => model.Price) + .NotNull(); + RuleFor(model => model.Discount) + .NotNull(); + RuleFor(model => model.Rate) + .NotNull(); + RuleFor(model => model.ImagePath) + .NotEmpty(); + RuleFor(model => model.ThumbnailPath) + .NotEmpty(); + RuleFor(model => model.SaleCount) + .NotNull(); + RuleFor(model => model.ViewCount) + .NotNull(); + RuleFor(model => model.RemainingCount) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((CreateNewProductsCommand)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/ProductsCQ/Commands/CreateNewProducts/CreateNewProductsResponseDto.cs b/src/CMSMicroservice.Application/ProductsCQ/Commands/CreateNewProducts/CreateNewProductsResponseDto.cs new file mode 100644 index 0000000..bfaa965 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductsCQ/Commands/CreateNewProducts/CreateNewProductsResponseDto.cs @@ -0,0 +1,7 @@ +namespace CMSMicroservice.Application.ProductsCQ.Commands.CreateNewProducts; +public class CreateNewProductsResponseDto +{ + // + public long Id { get; set; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/ProductsCQ/Commands/DeleteProducts/DeleteProductsCommand.cs b/src/CMSMicroservice.Application/ProductsCQ/Commands/DeleteProducts/DeleteProductsCommand.cs new file mode 100644 index 0000000..1435676 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductsCQ/Commands/DeleteProducts/DeleteProductsCommand.cs @@ -0,0 +1,7 @@ +namespace CMSMicroservice.Application.ProductsCQ.Commands.DeleteProducts; +public record DeleteProductsCommand : IRequest +{ + // + public long Id { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/ProductsCQ/Commands/DeleteProducts/DeleteProductsCommandHandler.cs b/src/CMSMicroservice.Application/ProductsCQ/Commands/DeleteProducts/DeleteProductsCommandHandler.cs new file mode 100644 index 0000000..ff4c8b6 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductsCQ/Commands/DeleteProducts/DeleteProductsCommandHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +namespace CMSMicroservice.Application.ProductsCQ.Commands.DeleteProducts; +public class DeleteProductsCommandHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public DeleteProductsCommandHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(DeleteProductsCommand request, CancellationToken cancellationToken) + { + var entity = await _context.Productss + .FirstOrDefaultAsync(x => x.Id == request.Id, cancellationToken) ?? throw new NotFoundException(nameof(Products), request.Id); + entity.IsDeleted = true; + _context.Productss.Update(entity); + entity.AddDomainEvent(new DeleteProductsEvent(entity)); + await _context.SaveChangesAsync(cancellationToken); + return Unit.Value; + } +} diff --git a/src/CMSMicroservice.Application/ProductsCQ/Commands/DeleteProducts/DeleteProductsCommandValidator.cs b/src/CMSMicroservice.Application/ProductsCQ/Commands/DeleteProducts/DeleteProductsCommandValidator.cs new file mode 100644 index 0000000..0d171f4 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductsCQ/Commands/DeleteProducts/DeleteProductsCommandValidator.cs @@ -0,0 +1,16 @@ +namespace CMSMicroservice.Application.ProductsCQ.Commands.DeleteProducts; +public class DeleteProductsCommandValidator : AbstractValidator +{ + public DeleteProductsCommandValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((DeleteProductsCommand)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/ProductsCQ/Commands/UpdateProducts/UpdateProductsCommand.cs b/src/CMSMicroservice.Application/ProductsCQ/Commands/UpdateProducts/UpdateProductsCommand.cs new file mode 100644 index 0000000..49daa17 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductsCQ/Commands/UpdateProducts/UpdateProductsCommand.cs @@ -0,0 +1,31 @@ +namespace CMSMicroservice.Application.ProductsCQ.Commands.UpdateProducts; +public record UpdateProductsCommand : IRequest +{ + // + public long Id { get; init; } + // + public string Title { get; init; } + // + public string Description { get; init; } + // + public string ShortInfomation { get; init; } + // + public string FullInformation { get; init; } + // + public long Price { get; init; } + // + public int Discount { get; init; } + // + public int Rate { get; init; } + // + public string ImagePath { get; init; } + // + public string ThumbnailPath { get; init; } + // + public int SaleCount { get; init; } + // + public int ViewCount { get; init; } + // + public int RemainingCount { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/ProductsCQ/Commands/UpdateProducts/UpdateProductsCommandHandler.cs b/src/CMSMicroservice.Application/ProductsCQ/Commands/UpdateProducts/UpdateProductsCommandHandler.cs new file mode 100644 index 0000000..aa19799 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductsCQ/Commands/UpdateProducts/UpdateProductsCommandHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +namespace CMSMicroservice.Application.ProductsCQ.Commands.UpdateProducts; +public class UpdateProductsCommandHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public UpdateProductsCommandHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(UpdateProductsCommand request, CancellationToken cancellationToken) + { + var entity = await _context.Productss + .FirstOrDefaultAsync(x => x.Id == request.Id, cancellationToken) ?? throw new NotFoundException(nameof(Products), request.Id); + request.Adapt(entity); + _context.Productss.Update(entity); + entity.AddDomainEvent(new UpdateProductsEvent(entity)); + await _context.SaveChangesAsync(cancellationToken); + return Unit.Value; + } +} diff --git a/src/CMSMicroservice.Application/ProductsCQ/Commands/UpdateProducts/UpdateProductsCommandValidator.cs b/src/CMSMicroservice.Application/ProductsCQ/Commands/UpdateProducts/UpdateProductsCommandValidator.cs new file mode 100644 index 0000000..ef07175 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductsCQ/Commands/UpdateProducts/UpdateProductsCommandValidator.cs @@ -0,0 +1,40 @@ +namespace CMSMicroservice.Application.ProductsCQ.Commands.UpdateProducts; +public class UpdateProductsCommandValidator : AbstractValidator +{ + public UpdateProductsCommandValidator() + { + RuleFor(model => model.Id) + .NotNull(); + RuleFor(model => model.Title) + .NotEmpty(); + RuleFor(model => model.Description) + .NotEmpty(); + RuleFor(model => model.ShortInfomation) + .NotEmpty(); + RuleFor(model => model.FullInformation) + .NotEmpty(); + RuleFor(model => model.Price) + .NotNull(); + RuleFor(model => model.Discount) + .NotNull(); + RuleFor(model => model.Rate) + .NotNull(); + RuleFor(model => model.ImagePath) + .NotEmpty(); + RuleFor(model => model.ThumbnailPath) + .NotEmpty(); + RuleFor(model => model.SaleCount) + .NotNull(); + RuleFor(model => model.ViewCount) + .NotNull(); + RuleFor(model => model.RemainingCount) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((UpdateProductsCommand)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/ProductsCQ/EventHandlers/CreateNewProductsEventHandlers/CreateNewProductsEventHandler.cs b/src/CMSMicroservice.Application/ProductsCQ/EventHandlers/CreateNewProductsEventHandlers/CreateNewProductsEventHandler.cs new file mode 100644 index 0000000..b9c5a3b --- /dev/null +++ b/src/CMSMicroservice.Application/ProductsCQ/EventHandlers/CreateNewProductsEventHandlers/CreateNewProductsEventHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +using Microsoft.Extensions.Logging; + +namespace CMSMicroservice.Application.ProductsCQ.EventHandlers; + +public class CreateNewProductsEventHandler : INotificationHandler +{ + private readonly ILogger< + CreateNewProductsEventHandler> _logger; + + public CreateNewProductsEventHandler(ILogger logger) + { + _logger = logger; + } + + public Task Handle(CreateNewProductsEvent notification, CancellationToken cancellationToken) + { + _logger.LogInformation("Domain Event: {DomainEvent}", notification.GetType().Name); + + return Task.CompletedTask; + } +} diff --git a/src/CMSMicroservice.Application/ProductsCQ/EventHandlers/DeleteProductsEventHandlers/DeleteProductsEventHandler.cs b/src/CMSMicroservice.Application/ProductsCQ/EventHandlers/DeleteProductsEventHandlers/DeleteProductsEventHandler.cs new file mode 100644 index 0000000..1ded1d3 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductsCQ/EventHandlers/DeleteProductsEventHandlers/DeleteProductsEventHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +using Microsoft.Extensions.Logging; + +namespace CMSMicroservice.Application.ProductsCQ.EventHandlers; + +public class DeleteProductsEventHandler : INotificationHandler +{ + private readonly ILogger< + DeleteProductsEventHandler> _logger; + + public DeleteProductsEventHandler(ILogger logger) + { + _logger = logger; + } + + public Task Handle(DeleteProductsEvent notification, CancellationToken cancellationToken) + { + _logger.LogInformation("Domain Event: {DomainEvent}", notification.GetType().Name); + + return Task.CompletedTask; + } +} diff --git a/src/CMSMicroservice.Application/ProductsCQ/EventHandlers/UpdateProductsEventHandlers/UpdateProductsEventHandler.cs b/src/CMSMicroservice.Application/ProductsCQ/EventHandlers/UpdateProductsEventHandlers/UpdateProductsEventHandler.cs new file mode 100644 index 0000000..0158a6d --- /dev/null +++ b/src/CMSMicroservice.Application/ProductsCQ/EventHandlers/UpdateProductsEventHandlers/UpdateProductsEventHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +using Microsoft.Extensions.Logging; + +namespace CMSMicroservice.Application.ProductsCQ.EventHandlers; + +public class UpdateProductsEventHandler : INotificationHandler +{ + private readonly ILogger< + UpdateProductsEventHandler> _logger; + + public UpdateProductsEventHandler(ILogger logger) + { + _logger = logger; + } + + public Task Handle(UpdateProductsEvent notification, CancellationToken cancellationToken) + { + _logger.LogInformation("Domain Event: {DomainEvent}", notification.GetType().Name); + + return Task.CompletedTask; + } +} diff --git a/src/CMSMicroservice.Application/ProductsCQ/Queries/GetAllProductsByFilter/GetAllProductsByFilterQuery.cs b/src/CMSMicroservice.Application/ProductsCQ/Queries/GetAllProductsByFilter/GetAllProductsByFilterQuery.cs new file mode 100644 index 0000000..4831705 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductsCQ/Queries/GetAllProductsByFilter/GetAllProductsByFilterQuery.cs @@ -0,0 +1,39 @@ +namespace CMSMicroservice.Application.ProductsCQ.Queries.GetAllProductsByFilter; +public record GetAllProductsByFilterQuery : IRequest +{ + //موقعیت صفحه بندی + public PaginationState? PaginationState { get; init; } + //مرتب سازی بر اساس + public string? SortBy { get; init; } + //فیلتر + public GetAllProductsByFilterFilter? Filter { get; init; } + +}public class GetAllProductsByFilterFilter +{ + // + public long? Id { get; set; } + // + public string? Title { get; set; } + // + public string? Description { get; set; } + // + public string? ShortInfomation { get; set; } + // + public string? FullInformation { get; set; } + // + public long? Price { get; set; } + // + public int? Discount { get; set; } + // + public int? Rate { get; set; } + // + public string? ImagePath { get; set; } + // + public string? ThumbnailPath { get; set; } + // + public int? SaleCount { get; set; } + // + public int? ViewCount { get; set; } + // + public int? RemainingCount { get; set; } +} diff --git a/src/CMSMicroservice.Application/ProductsCQ/Queries/GetAllProductsByFilter/GetAllProductsByFilterQueryHandler.cs b/src/CMSMicroservice.Application/ProductsCQ/Queries/GetAllProductsByFilter/GetAllProductsByFilterQueryHandler.cs new file mode 100644 index 0000000..90854c5 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductsCQ/Queries/GetAllProductsByFilter/GetAllProductsByFilterQueryHandler.cs @@ -0,0 +1,42 @@ +namespace CMSMicroservice.Application.ProductsCQ.Queries.GetAllProductsByFilter; +public class GetAllProductsByFilterQueryHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public GetAllProductsByFilterQueryHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(GetAllProductsByFilterQuery request, CancellationToken cancellationToken) + { + var query = _context.Productss + .ApplyOrder(sortBy: request.SortBy) + .AsNoTracking() + .AsQueryable(); + if (request.Filter is not null) + { + query = query + .Where(x => request.Filter.Id == null || x.Id == request.Filter.Id) + .Where(x => request.Filter.Title == null || x.Title.Contains(request.Filter.Title)) + .Where(x => request.Filter.Description == null || x.Description.Contains(request.Filter.Description)) + .Where(x => request.Filter.ShortInfomation == null || x.ShortInfomation.Contains(request.Filter.ShortInfomation)) + .Where(x => request.Filter.FullInformation == null || x.FullInformation.Contains(request.Filter.FullInformation)) + .Where(x => request.Filter.Price == null || x.Price == request.Filter.Price) + .Where(x => request.Filter.Discount == null || x.Discount == request.Filter.Discount) + .Where(x => request.Filter.Rate == null || x.Rate == request.Filter.Rate) + .Where(x => request.Filter.ImagePath == null || x.ImagePath.Contains(request.Filter.ImagePath)) + .Where(x => request.Filter.ThumbnailPath == null || x.ThumbnailPath.Contains(request.Filter.ThumbnailPath)) + .Where(x => request.Filter.SaleCount == null || x.SaleCount == request.Filter.SaleCount) + .Where(x => request.Filter.ViewCount == null || x.ViewCount == request.Filter.ViewCount) + .Where(x => request.Filter.RemainingCount == null || x.RemainingCount == request.Filter.RemainingCount) +; + } + return new GetAllProductsByFilterResponseDto + { + MetaData = await query.GetMetaData(request.PaginationState, cancellationToken), + Models = await query.PaginatedListAsync(paginationState: request.PaginationState) + .ProjectToType().ToListAsync(cancellationToken) + }; + } +} diff --git a/src/CMSMicroservice.Application/ProductsCQ/Queries/GetAllProductsByFilter/GetAllProductsByFilterQueryValidator.cs b/src/CMSMicroservice.Application/ProductsCQ/Queries/GetAllProductsByFilter/GetAllProductsByFilterQueryValidator.cs new file mode 100644 index 0000000..613f24e --- /dev/null +++ b/src/CMSMicroservice.Application/ProductsCQ/Queries/GetAllProductsByFilter/GetAllProductsByFilterQueryValidator.cs @@ -0,0 +1,14 @@ +namespace CMSMicroservice.Application.ProductsCQ.Queries.GetAllProductsByFilter; +public class GetAllProductsByFilterQueryValidator : AbstractValidator +{ + public GetAllProductsByFilterQueryValidator() + { + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetAllProductsByFilterQuery)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/ProductsCQ/Queries/GetAllProductsByFilter/GetAllProductsByFilterResponseDto.cs b/src/CMSMicroservice.Application/ProductsCQ/Queries/GetAllProductsByFilter/GetAllProductsByFilterResponseDto.cs new file mode 100644 index 0000000..6525d21 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductsCQ/Queries/GetAllProductsByFilter/GetAllProductsByFilterResponseDto.cs @@ -0,0 +1,37 @@ +namespace CMSMicroservice.Application.ProductsCQ.Queries.GetAllProductsByFilter; +public class GetAllProductsByFilterResponseDto +{ + //متادیتا + public MetaData MetaData { get; set; } + //مدل خروجی + public List? Models { get; set; } + +}public class GetAllProductsByFilterResponseModel +{ + // + public long Id { get; set; } + // + public string Title { get; set; } + // + public string Description { get; set; } + // + public string ShortInfomation { get; set; } + // + public string FullInformation { get; set; } + // + public long Price { get; set; } + // + public int Discount { get; set; } + // + public int Rate { get; set; } + // + public string ImagePath { get; set; } + // + public string ThumbnailPath { get; set; } + // + public int SaleCount { get; set; } + // + public int ViewCount { get; set; } + // + public int RemainingCount { get; set; } +} diff --git a/src/CMSMicroservice.Application/ProductsCQ/Queries/GetProducts/GetProductsQuery.cs b/src/CMSMicroservice.Application/ProductsCQ/Queries/GetProducts/GetProductsQuery.cs new file mode 100644 index 0000000..76c3d45 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductsCQ/Queries/GetProducts/GetProductsQuery.cs @@ -0,0 +1,7 @@ +namespace CMSMicroservice.Application.ProductsCQ.Queries.GetProducts; +public record GetProductsQuery : IRequest +{ + // + public long Id { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/ProductsCQ/Queries/GetProducts/GetProductsQueryHandler.cs b/src/CMSMicroservice.Application/ProductsCQ/Queries/GetProducts/GetProductsQueryHandler.cs new file mode 100644 index 0000000..c1738cc --- /dev/null +++ b/src/CMSMicroservice.Application/ProductsCQ/Queries/GetProducts/GetProductsQueryHandler.cs @@ -0,0 +1,22 @@ +namespace CMSMicroservice.Application.ProductsCQ.Queries.GetProducts; +public class GetProductsQueryHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public GetProductsQueryHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(GetProductsQuery request, + CancellationToken cancellationToken) + { + var response = await _context.Productss + .AsNoTracking() + .Where(x => x.Id == request.Id) + .ProjectToType() + .FirstOrDefaultAsync(cancellationToken); + + return response ?? throw new NotFoundException(nameof(Products), request.Id); + } +} diff --git a/src/CMSMicroservice.Application/ProductsCQ/Queries/GetProducts/GetProductsQueryValidator.cs b/src/CMSMicroservice.Application/ProductsCQ/Queries/GetProducts/GetProductsQueryValidator.cs new file mode 100644 index 0000000..e577eb0 --- /dev/null +++ b/src/CMSMicroservice.Application/ProductsCQ/Queries/GetProducts/GetProductsQueryValidator.cs @@ -0,0 +1,16 @@ +namespace CMSMicroservice.Application.ProductsCQ.Queries.GetProducts; +public class GetProductsQueryValidator : AbstractValidator +{ + public GetProductsQueryValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetProductsQuery)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/ProductsCQ/Queries/GetProducts/GetProductsResponseDto.cs b/src/CMSMicroservice.Application/ProductsCQ/Queries/GetProducts/GetProductsResponseDto.cs new file mode 100644 index 0000000..ccd0ada --- /dev/null +++ b/src/CMSMicroservice.Application/ProductsCQ/Queries/GetProducts/GetProductsResponseDto.cs @@ -0,0 +1,31 @@ +namespace CMSMicroservice.Application.ProductsCQ.Queries.GetProducts; +public class GetProductsResponseDto +{ + // + public long Id { get; set; } + // + public string Title { get; set; } + // + public string Description { get; set; } + // + public string ShortInfomation { get; set; } + // + public string FullInformation { get; set; } + // + public long Price { get; set; } + // + public int Discount { get; set; } + // + public int Rate { get; set; } + // + public string ImagePath { get; set; } + // + public string ThumbnailPath { get; set; } + // + public int SaleCount { get; set; } + // + public int ViewCount { get; set; } + // + public int RemainingCount { get; set; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/TransactionsCQ/Commands/CreateNewTransactions/CreateNewTransactionsCommand.cs b/src/CMSMicroservice.Application/TransactionsCQ/Commands/CreateNewTransactions/CreateNewTransactionsCommand.cs new file mode 100644 index 0000000..da14141 --- /dev/null +++ b/src/CMSMicroservice.Application/TransactionsCQ/Commands/CreateNewTransactions/CreateNewTransactionsCommand.cs @@ -0,0 +1,49 @@ +using CMSMicroservice.Domain.Enums; + +namespace CMSMicroservice.Application.TransactionsCQ.Commands.CreateNewTransactions; +public record CreateNewTransactionsCommand : IRequest +{ + // + public string MerchantId { get; init; } + // + public long Amount { get; init; } + // + public string CallbackUrl { get; init; } + // + public string Description { get; init; } + // + public string? Mobile { get; init; } + // + public string? Email { get; init; } + // + public int? RequestStatusCode { get; init; } + // + public string? RequestStatusMessage { get; init; } + // + public string? Authority { get; init; } + // + public string? FeeType { get; init; } + // + public long? Fee { get; init; } + // + public int? Currency { get; init; } + // + public PaymentStatus PaymentStatus { get; init; } + //تاریخ پرداخت + public DateTime? PaymentDate { get; init; } + // + public int? VerificationStatusCode { get; init; } + // + public string? VerificationStatusMessage { get; init; } + // + public string? CardHash { get; init; } + // + public string? CardPan { get; init; } + // + public string? RefId { get; init; } + // + public string? OrderId { get; init; } + // + public TransactionType Type { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/TransactionsCQ/Commands/CreateNewTransactions/CreateNewTransactionsCommandHandler.cs b/src/CMSMicroservice.Application/TransactionsCQ/Commands/CreateNewTransactions/CreateNewTransactionsCommandHandler.cs new file mode 100644 index 0000000..802e222 --- /dev/null +++ b/src/CMSMicroservice.Application/TransactionsCQ/Commands/CreateNewTransactions/CreateNewTransactionsCommandHandler.cs @@ -0,0 +1,21 @@ +using CMSMicroservice.Domain.Events; +namespace CMSMicroservice.Application.TransactionsCQ.Commands.CreateNewTransactions; +public class CreateNewTransactionsCommandHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public CreateNewTransactionsCommandHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(CreateNewTransactionsCommand request, + CancellationToken cancellationToken) + { + var entity = request.Adapt(); + await _context.Transactionss.AddAsync(entity, cancellationToken); + entity.AddDomainEvent(new CreateNewTransactionsEvent(entity)); + await _context.SaveChangesAsync(cancellationToken); + return entity.Adapt(); + } +} diff --git a/src/CMSMicroservice.Application/TransactionsCQ/Commands/CreateNewTransactions/CreateNewTransactionsCommandValidator.cs b/src/CMSMicroservice.Application/TransactionsCQ/Commands/CreateNewTransactions/CreateNewTransactionsCommandValidator.cs new file mode 100644 index 0000000..8391ad0 --- /dev/null +++ b/src/CMSMicroservice.Application/TransactionsCQ/Commands/CreateNewTransactions/CreateNewTransactionsCommandValidator.cs @@ -0,0 +1,28 @@ +namespace CMSMicroservice.Application.TransactionsCQ.Commands.CreateNewTransactions; +public class CreateNewTransactionsCommandValidator : AbstractValidator +{ + public CreateNewTransactionsCommandValidator() + { + RuleFor(model => model.MerchantId) + .NotEmpty(); + RuleFor(model => model.Amount) + .NotNull(); + RuleFor(model => model.CallbackUrl) + .NotEmpty(); + RuleFor(model => model.Description) + .NotEmpty(); + RuleFor(model => model.PaymentStatus) + .IsInEnum() + .NotNull(); + RuleFor(model => model.Type) + .IsInEnum() + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((CreateNewTransactionsCommand)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/TransactionsCQ/Commands/CreateNewTransactions/CreateNewTransactionsResponseDto.cs b/src/CMSMicroservice.Application/TransactionsCQ/Commands/CreateNewTransactions/CreateNewTransactionsResponseDto.cs new file mode 100644 index 0000000..8bb0a75 --- /dev/null +++ b/src/CMSMicroservice.Application/TransactionsCQ/Commands/CreateNewTransactions/CreateNewTransactionsResponseDto.cs @@ -0,0 +1,7 @@ +namespace CMSMicroservice.Application.TransactionsCQ.Commands.CreateNewTransactions; +public class CreateNewTransactionsResponseDto +{ + // + public long Id { get; set; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/TransactionsCQ/Commands/DeleteTransactions/DeleteTransactionsCommand.cs b/src/CMSMicroservice.Application/TransactionsCQ/Commands/DeleteTransactions/DeleteTransactionsCommand.cs new file mode 100644 index 0000000..7140bf9 --- /dev/null +++ b/src/CMSMicroservice.Application/TransactionsCQ/Commands/DeleteTransactions/DeleteTransactionsCommand.cs @@ -0,0 +1,7 @@ +namespace CMSMicroservice.Application.TransactionsCQ.Commands.DeleteTransactions; +public record DeleteTransactionsCommand : IRequest +{ + // + public long Id { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/TransactionsCQ/Commands/DeleteTransactions/DeleteTransactionsCommandHandler.cs b/src/CMSMicroservice.Application/TransactionsCQ/Commands/DeleteTransactions/DeleteTransactionsCommandHandler.cs new file mode 100644 index 0000000..080fab5 --- /dev/null +++ b/src/CMSMicroservice.Application/TransactionsCQ/Commands/DeleteTransactions/DeleteTransactionsCommandHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +namespace CMSMicroservice.Application.TransactionsCQ.Commands.DeleteTransactions; +public class DeleteTransactionsCommandHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public DeleteTransactionsCommandHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(DeleteTransactionsCommand request, CancellationToken cancellationToken) + { + var entity = await _context.Transactionss + .FirstOrDefaultAsync(x => x.Id == request.Id, cancellationToken) ?? throw new NotFoundException(nameof(Transactions), request.Id); + entity.IsDeleted = true; + _context.Transactionss.Update(entity); + entity.AddDomainEvent(new DeleteTransactionsEvent(entity)); + await _context.SaveChangesAsync(cancellationToken); + return Unit.Value; + } +} diff --git a/src/CMSMicroservice.Application/TransactionsCQ/Commands/DeleteTransactions/DeleteTransactionsCommandValidator.cs b/src/CMSMicroservice.Application/TransactionsCQ/Commands/DeleteTransactions/DeleteTransactionsCommandValidator.cs new file mode 100644 index 0000000..e4262e6 --- /dev/null +++ b/src/CMSMicroservice.Application/TransactionsCQ/Commands/DeleteTransactions/DeleteTransactionsCommandValidator.cs @@ -0,0 +1,16 @@ +namespace CMSMicroservice.Application.TransactionsCQ.Commands.DeleteTransactions; +public class DeleteTransactionsCommandValidator : AbstractValidator +{ + public DeleteTransactionsCommandValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((DeleteTransactionsCommand)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/TransactionsCQ/Commands/UpdateTransactions/UpdateTransactionsCommand.cs b/src/CMSMicroservice.Application/TransactionsCQ/Commands/UpdateTransactions/UpdateTransactionsCommand.cs new file mode 100644 index 0000000..e326947 --- /dev/null +++ b/src/CMSMicroservice.Application/TransactionsCQ/Commands/UpdateTransactions/UpdateTransactionsCommand.cs @@ -0,0 +1,51 @@ +using CMSMicroservice.Domain.Enums; + +namespace CMSMicroservice.Application.TransactionsCQ.Commands.UpdateTransactions; +public record UpdateTransactionsCommand : IRequest +{ + // + public long Id { get; init; } + // + public string MerchantId { get; init; } + // + public long Amount { get; init; } + // + public string CallbackUrl { get; init; } + // + public string Description { get; init; } + // + public string? Mobile { get; init; } + // + public string? Email { get; init; } + // + public int? RequestStatusCode { get; init; } + // + public string? RequestStatusMessage { get; init; } + // + public string? Authority { get; init; } + // + public string? FeeType { get; init; } + // + public long? Fee { get; init; } + // + public int? Currency { get; init; } + // + public PaymentStatus PaymentStatus { get; init; } + //تاریخ پرداخت + public DateTime? PaymentDate { get; init; } + // + public int? VerificationStatusCode { get; init; } + // + public string? VerificationStatusMessage { get; init; } + // + public string? CardHash { get; init; } + // + public string? CardPan { get; init; } + // + public string? RefId { get; init; } + // + public string? OrderId { get; init; } + // + public TransactionType Type { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/TransactionsCQ/Commands/UpdateTransactions/UpdateTransactionsCommandHandler.cs b/src/CMSMicroservice.Application/TransactionsCQ/Commands/UpdateTransactions/UpdateTransactionsCommandHandler.cs new file mode 100644 index 0000000..afcf155 --- /dev/null +++ b/src/CMSMicroservice.Application/TransactionsCQ/Commands/UpdateTransactions/UpdateTransactionsCommandHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +namespace CMSMicroservice.Application.TransactionsCQ.Commands.UpdateTransactions; +public class UpdateTransactionsCommandHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public UpdateTransactionsCommandHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(UpdateTransactionsCommand request, CancellationToken cancellationToken) + { + var entity = await _context.Transactionss + .FirstOrDefaultAsync(x => x.Id == request.Id, cancellationToken) ?? throw new NotFoundException(nameof(Transactions), request.Id); + request.Adapt(entity); + _context.Transactionss.Update(entity); + entity.AddDomainEvent(new UpdateTransactionsEvent(entity)); + await _context.SaveChangesAsync(cancellationToken); + return Unit.Value; + } +} diff --git a/src/CMSMicroservice.Application/TransactionsCQ/Commands/UpdateTransactions/UpdateTransactionsCommandValidator.cs b/src/CMSMicroservice.Application/TransactionsCQ/Commands/UpdateTransactions/UpdateTransactionsCommandValidator.cs new file mode 100644 index 0000000..05326ee --- /dev/null +++ b/src/CMSMicroservice.Application/TransactionsCQ/Commands/UpdateTransactions/UpdateTransactionsCommandValidator.cs @@ -0,0 +1,30 @@ +namespace CMSMicroservice.Application.TransactionsCQ.Commands.UpdateTransactions; +public class UpdateTransactionsCommandValidator : AbstractValidator +{ + public UpdateTransactionsCommandValidator() + { + RuleFor(model => model.Id) + .NotNull(); + RuleFor(model => model.MerchantId) + .NotEmpty(); + RuleFor(model => model.Amount) + .NotNull(); + RuleFor(model => model.CallbackUrl) + .NotEmpty(); + RuleFor(model => model.Description) + .NotEmpty(); + RuleFor(model => model.PaymentStatus) + .IsInEnum() + .NotNull(); + RuleFor(model => model.Type) + .IsInEnum() + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((UpdateTransactionsCommand)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/TransactionsCQ/EventHandlers/CreateNewTransactionsEventHandlers/CreateNewTransactionsEventHandler.cs b/src/CMSMicroservice.Application/TransactionsCQ/EventHandlers/CreateNewTransactionsEventHandlers/CreateNewTransactionsEventHandler.cs new file mode 100644 index 0000000..7dd94b2 --- /dev/null +++ b/src/CMSMicroservice.Application/TransactionsCQ/EventHandlers/CreateNewTransactionsEventHandlers/CreateNewTransactionsEventHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +using Microsoft.Extensions.Logging; + +namespace CMSMicroservice.Application.TransactionsCQ.EventHandlers; + +public class CreateNewTransactionsEventHandler : INotificationHandler +{ + private readonly ILogger< + CreateNewTransactionsEventHandler> _logger; + + public CreateNewTransactionsEventHandler(ILogger logger) + { + _logger = logger; + } + + public Task Handle(CreateNewTransactionsEvent notification, CancellationToken cancellationToken) + { + _logger.LogInformation("Domain Event: {DomainEvent}", notification.GetType().Name); + + return Task.CompletedTask; + } +} diff --git a/src/CMSMicroservice.Application/TransactionsCQ/EventHandlers/DeleteTransactionsEventHandlers/DeleteTransactionsEventHandler.cs b/src/CMSMicroservice.Application/TransactionsCQ/EventHandlers/DeleteTransactionsEventHandlers/DeleteTransactionsEventHandler.cs new file mode 100644 index 0000000..e927f87 --- /dev/null +++ b/src/CMSMicroservice.Application/TransactionsCQ/EventHandlers/DeleteTransactionsEventHandlers/DeleteTransactionsEventHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +using Microsoft.Extensions.Logging; + +namespace CMSMicroservice.Application.TransactionsCQ.EventHandlers; + +public class DeleteTransactionsEventHandler : INotificationHandler +{ + private readonly ILogger< + DeleteTransactionsEventHandler> _logger; + + public DeleteTransactionsEventHandler(ILogger logger) + { + _logger = logger; + } + + public Task Handle(DeleteTransactionsEvent notification, CancellationToken cancellationToken) + { + _logger.LogInformation("Domain Event: {DomainEvent}", notification.GetType().Name); + + return Task.CompletedTask; + } +} diff --git a/src/CMSMicroservice.Application/TransactionsCQ/EventHandlers/UpdateTransactionsEventHandlers/UpdateTransactionsEventHandler.cs b/src/CMSMicroservice.Application/TransactionsCQ/EventHandlers/UpdateTransactionsEventHandlers/UpdateTransactionsEventHandler.cs new file mode 100644 index 0000000..140b541 --- /dev/null +++ b/src/CMSMicroservice.Application/TransactionsCQ/EventHandlers/UpdateTransactionsEventHandlers/UpdateTransactionsEventHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +using Microsoft.Extensions.Logging; + +namespace CMSMicroservice.Application.TransactionsCQ.EventHandlers; + +public class UpdateTransactionsEventHandler : INotificationHandler +{ + private readonly ILogger< + UpdateTransactionsEventHandler> _logger; + + public UpdateTransactionsEventHandler(ILogger logger) + { + _logger = logger; + } + + public Task Handle(UpdateTransactionsEvent notification, CancellationToken cancellationToken) + { + _logger.LogInformation("Domain Event: {DomainEvent}", notification.GetType().Name); + + return Task.CompletedTask; + } +} diff --git a/src/CMSMicroservice.Application/TransactionsCQ/Queries/GetAllTransactionsByFilter/GetAllTransactionsByFilterQuery.cs b/src/CMSMicroservice.Application/TransactionsCQ/Queries/GetAllTransactionsByFilter/GetAllTransactionsByFilterQuery.cs new file mode 100644 index 0000000..57bbe0b --- /dev/null +++ b/src/CMSMicroservice.Application/TransactionsCQ/Queries/GetAllTransactionsByFilter/GetAllTransactionsByFilterQuery.cs @@ -0,0 +1,59 @@ +using CMSMicroservice.Domain.Enums; + +namespace CMSMicroservice.Application.TransactionsCQ.Queries.GetAllTransactionsByFilter; +public record GetAllTransactionsByFilterQuery : IRequest +{ + //موقعیت صفحه بندی + public PaginationState? PaginationState { get; init; } + //مرتب سازی بر اساس + public string? SortBy { get; init; } + //فیلتر + public GetAllTransactionsByFilterFilter? Filter { get; init; } + +}public class GetAllTransactionsByFilterFilter +{ + // + public long? Id { get; set; } + // + public string? MerchantId { get; set; } + // + public long? Amount { get; set; } + // + public string? CallbackUrl { get; set; } + // + public string? Description { get; set; } + // + public string? Mobile { get; set; } + // + public string? Email { get; set; } + // + public int? RequestStatusCode { get; set; } + // + public string? RequestStatusMessage { get; set; } + // + public string? Authority { get; set; } + // + public string? FeeType { get; set; } + // + public long? Fee { get; set; } + // + public int? Currency { get; set; } + // + public PaymentStatus? PaymentStatus { get; set; } + //تاریخ پرداخت + public DateTime? PaymentDate { get; set; } + // + public int? VerificationStatusCode { get; set; } + // + public string? VerificationStatusMessage { get; set; } + // + public string? CardHash { get; set; } + // + public string? CardPan { get; set; } + // + public string? RefId { get; set; } + // + public long? OrderId { get; set; } + // + public TransactionType? Type { get; set; } +} diff --git a/src/CMSMicroservice.Application/TransactionsCQ/Queries/GetAllTransactionsByFilter/GetAllTransactionsByFilterQueryHandler.cs b/src/CMSMicroservice.Application/TransactionsCQ/Queries/GetAllTransactionsByFilter/GetAllTransactionsByFilterQueryHandler.cs new file mode 100644 index 0000000..d8abcc9 --- /dev/null +++ b/src/CMSMicroservice.Application/TransactionsCQ/Queries/GetAllTransactionsByFilter/GetAllTransactionsByFilterQueryHandler.cs @@ -0,0 +1,51 @@ +namespace CMSMicroservice.Application.TransactionsCQ.Queries.GetAllTransactionsByFilter; +public class GetAllTransactionsByFilterQueryHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public GetAllTransactionsByFilterQueryHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(GetAllTransactionsByFilterQuery request, CancellationToken cancellationToken) + { + var query = _context.Transactionss + .ApplyOrder(sortBy: request.SortBy) + .AsNoTracking() + .AsQueryable(); + if (request.Filter is not null) + { + query = query + .Where(x => request.Filter.Id == null || x.Id == request.Filter.Id) + .Where(x => request.Filter.MerchantId == null || x.MerchantId.Contains(request.Filter.MerchantId)) + .Where(x => request.Filter.Amount == null || x.Amount == request.Filter.Amount) + .Where(x => request.Filter.CallbackUrl == null || x.CallbackUrl.Contains(request.Filter.CallbackUrl)) + .Where(x => request.Filter.Description == null || x.Description.Contains(request.Filter.Description)) + .Where(x => request.Filter.Mobile == null || x.Mobile.Contains(request.Filter.Mobile)) + .Where(x => request.Filter.Email == null || x.Email.Contains(request.Filter.Email)) + .Where(x => request.Filter.RequestStatusCode == null || x.RequestStatusCode == request.Filter.RequestStatusCode) + .Where(x => request.Filter.RequestStatusMessage == null || x.RequestStatusMessage.Contains(request.Filter.RequestStatusMessage)) + .Where(x => request.Filter.Authority == null || x.Authority.Contains(request.Filter.Authority)) + .Where(x => request.Filter.FeeType == null || x.FeeType.Contains(request.Filter.FeeType)) + .Where(x => request.Filter.Fee == null || x.Fee == request.Filter.Fee) + .Where(x => request.Filter.Currency == null || x.Currency == request.Filter.Currency) + .Where(x => request.Filter.PaymentStatus == null || x.PaymentStatus == request.Filter.PaymentStatus) + .Where(x => request.Filter.PaymentDate == null || x.PaymentDate == request.Filter.PaymentDate) + .Where(x => request.Filter.VerificationStatusCode == null || x.VerificationStatusCode == request.Filter.VerificationStatusCode) + .Where(x => request.Filter.VerificationStatusMessage == null || x.VerificationStatusMessage.Contains(request.Filter.VerificationStatusMessage)) + .Where(x => request.Filter.CardHash == null || x.CardHash.Contains(request.Filter.CardHash)) + .Where(x => request.Filter.CardPan == null || x.CardPan.Contains(request.Filter.CardPan)) + .Where(x => request.Filter.RefId == null || x.RefId.Contains(request.Filter.RefId)) + .Where(x => request.Filter.OrderId == null || x.OrderId==request.Filter.OrderId) + .Where(x => request.Filter.Type == null || x.Type == request.Filter.Type) +; + } + return new GetAllTransactionsByFilterResponseDto + { + MetaData = await query.GetMetaData(request.PaginationState, cancellationToken), + Models = await query.PaginatedListAsync(paginationState: request.PaginationState) + .ProjectToType().ToListAsync(cancellationToken) + }; + } +} diff --git a/src/CMSMicroservice.Application/TransactionsCQ/Queries/GetAllTransactionsByFilter/GetAllTransactionsByFilterQueryValidator.cs b/src/CMSMicroservice.Application/TransactionsCQ/Queries/GetAllTransactionsByFilter/GetAllTransactionsByFilterQueryValidator.cs new file mode 100644 index 0000000..4edb06f --- /dev/null +++ b/src/CMSMicroservice.Application/TransactionsCQ/Queries/GetAllTransactionsByFilter/GetAllTransactionsByFilterQueryValidator.cs @@ -0,0 +1,14 @@ +namespace CMSMicroservice.Application.TransactionsCQ.Queries.GetAllTransactionsByFilter; +public class GetAllTransactionsByFilterQueryValidator : AbstractValidator +{ + public GetAllTransactionsByFilterQueryValidator() + { + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetAllTransactionsByFilterQuery)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/TransactionsCQ/Queries/GetAllTransactionsByFilter/GetAllTransactionsByFilterResponseDto.cs b/src/CMSMicroservice.Application/TransactionsCQ/Queries/GetAllTransactionsByFilter/GetAllTransactionsByFilterResponseDto.cs new file mode 100644 index 0000000..f9ce576 --- /dev/null +++ b/src/CMSMicroservice.Application/TransactionsCQ/Queries/GetAllTransactionsByFilter/GetAllTransactionsByFilterResponseDto.cs @@ -0,0 +1,57 @@ +using CMSMicroservice.Domain.Enums; + +namespace CMSMicroservice.Application.TransactionsCQ.Queries.GetAllTransactionsByFilter; +public class GetAllTransactionsByFilterResponseDto +{ + //متادیتا + public MetaData MetaData { get; set; } + //مدل خروجی + public List? Models { get; set; } + +}public class GetAllTransactionsByFilterResponseModel +{ + // + public long Id { get; set; } + // + public string MerchantId { get; set; } + // + public long Amount { get; set; } + // + public string CallbackUrl { get; set; } + // + public string Description { get; set; } + // + public string? Mobile { get; set; } + // + public string? Email { get; set; } + // + public int? RequestStatusCode { get; set; } + // + public string? RequestStatusMessage { get; set; } + // + public string? Authority { get; set; } + // + public string? FeeType { get; set; } + // + public long? Fee { get; set; } + // + public int? Currency { get; set; } + // + public PaymentStatus PaymentStatus { get; set; } + //تاریخ پرداخت + public DateTime? PaymentDate { get; set; } + // + public int? VerificationStatusCode { get; set; } + // + public string? VerificationStatusMessage { get; set; } + // + public string? CardHash { get; set; } + // + public string? CardPan { get; set; } + // + public string? RefId { get; set; } + // + public string? OrderId { get; set; } + // + public TransactionType Type { get; set; } +} diff --git a/src/CMSMicroservice.Application/TransactionsCQ/Queries/GetTransactions/GetTransactionsQuery.cs b/src/CMSMicroservice.Application/TransactionsCQ/Queries/GetTransactions/GetTransactionsQuery.cs new file mode 100644 index 0000000..7b6e5aa --- /dev/null +++ b/src/CMSMicroservice.Application/TransactionsCQ/Queries/GetTransactions/GetTransactionsQuery.cs @@ -0,0 +1,7 @@ +namespace CMSMicroservice.Application.TransactionsCQ.Queries.GetTransactions; +public record GetTransactionsQuery : IRequest +{ + // + public long Id { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/TransactionsCQ/Queries/GetTransactions/GetTransactionsQueryHandler.cs b/src/CMSMicroservice.Application/TransactionsCQ/Queries/GetTransactions/GetTransactionsQueryHandler.cs new file mode 100644 index 0000000..94feba5 --- /dev/null +++ b/src/CMSMicroservice.Application/TransactionsCQ/Queries/GetTransactions/GetTransactionsQueryHandler.cs @@ -0,0 +1,22 @@ +namespace CMSMicroservice.Application.TransactionsCQ.Queries.GetTransactions; +public class GetTransactionsQueryHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public GetTransactionsQueryHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(GetTransactionsQuery request, + CancellationToken cancellationToken) + { + var response = await _context.Transactionss + .AsNoTracking() + .Where(x => x.Id == request.Id) + .ProjectToType() + .FirstOrDefaultAsync(cancellationToken); + + return response ?? throw new NotFoundException(nameof(Transactions), request.Id); + } +} diff --git a/src/CMSMicroservice.Application/TransactionsCQ/Queries/GetTransactions/GetTransactionsQueryValidator.cs b/src/CMSMicroservice.Application/TransactionsCQ/Queries/GetTransactions/GetTransactionsQueryValidator.cs new file mode 100644 index 0000000..fe1a472 --- /dev/null +++ b/src/CMSMicroservice.Application/TransactionsCQ/Queries/GetTransactions/GetTransactionsQueryValidator.cs @@ -0,0 +1,16 @@ +namespace CMSMicroservice.Application.TransactionsCQ.Queries.GetTransactions; +public class GetTransactionsQueryValidator : AbstractValidator +{ + public GetTransactionsQueryValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetTransactionsQuery)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/TransactionsCQ/Queries/GetTransactions/GetTransactionsResponseDto.cs b/src/CMSMicroservice.Application/TransactionsCQ/Queries/GetTransactions/GetTransactionsResponseDto.cs new file mode 100644 index 0000000..ddcff8e --- /dev/null +++ b/src/CMSMicroservice.Application/TransactionsCQ/Queries/GetTransactions/GetTransactionsResponseDto.cs @@ -0,0 +1,51 @@ +using CMSMicroservice.Domain.Enums; + +namespace CMSMicroservice.Application.TransactionsCQ.Queries.GetTransactions; +public class GetTransactionsResponseDto +{ + // + public long Id { get; set; } + // + public string MerchantId { get; set; } + // + public long Amount { get; set; } + // + public string CallbackUrl { get; set; } + // + public string Description { get; set; } + // + public string? Mobile { get; set; } + // + public string? Email { get; set; } + // + public int? RequestStatusCode { get; set; } + // + public string? RequestStatusMessage { get; set; } + // + public string? Authority { get; set; } + // + public string? FeeType { get; set; } + // + public long? Fee { get; set; } + // + public int? Currency { get; set; } + // + public PaymentStatus PaymentStatus { get; set; } + //تاریخ پرداخت + public DateTime? PaymentDate { get; set; } + // + public int? VerificationStatusCode { get; set; } + // + public string? VerificationStatusMessage { get; set; } + // + public string? CardHash { get; set; } + // + public string? CardPan { get; set; } + // + public string? RefId { get; set; } + // + public string? OrderId { get; set; } + // + public TransactionType Type { get; set; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/UserCQ/Commands/SetPasswordForUser/SetPasswordForUserCommand.cs b/src/CMSMicroservice.Application/UserCQ/Commands/SetPasswordForUser/SetPasswordForUserCommand.cs new file mode 100644 index 0000000..0c07b42 --- /dev/null +++ b/src/CMSMicroservice.Application/UserCQ/Commands/SetPasswordForUser/SetPasswordForUserCommand.cs @@ -0,0 +1,13 @@ +namespace CMSMicroservice.Application.UserCQ.Commands.SetPasswordForUser; +public record SetPasswordForUserCommand : IRequest +{ + //شناسه کاربر + public long UserId { get; init; } + //کلمه عبور فعلی + public string? CurrentPassword { get; init; } + //کلمه عبور + public string NewPassword { get; init; } + //تایید کلمه عبور + public string ConfirmPassword { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/UserCQ/Commands/SetPasswordForUser/SetPasswordForUserCommandHandler.cs b/src/CMSMicroservice.Application/UserCQ/Commands/SetPasswordForUser/SetPasswordForUserCommandHandler.cs new file mode 100644 index 0000000..60cfa1a --- /dev/null +++ b/src/CMSMicroservice.Application/UserCQ/Commands/SetPasswordForUser/SetPasswordForUserCommandHandler.cs @@ -0,0 +1,52 @@ +using CMSMicroservice.Domain.Events; +namespace CMSMicroservice.Application.UserCQ.Commands.SetPasswordForUser; +public class SetPasswordForUserCommandHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + private readonly IHashService _hashService; + + public SetPasswordForUserCommandHandler(IApplicationDbContext context, IHashService hashService) + { + _context = context; + _hashService = hashService; + } + + public async Task Handle(SetPasswordForUserCommand request, CancellationToken cancellationToken) + { + // basic validations + if (!string.Equals(request.NewPassword, request.ConfirmPassword, StringComparison.Ordinal)) + { + throw new CMSMicroservice.Application.Common.Exceptions.ValidationException(new[] + { + new FluentValidation.Results.ValidationFailure(nameof(request.ConfirmPassword), "کلمه عبور و تایید آن یکسان نیستند.") + }); + } + + var user = await _context.Users.FirstOrDefaultAsync(u => u.Id == request.UserId, cancellationToken) + ?? throw new NotFoundException(nameof(User), request.UserId); + + var hasExistingPassword = !string.IsNullOrWhiteSpace(user.HashPassword); + if (hasExistingPassword) + { + if (string.IsNullOrWhiteSpace(request.CurrentPassword)) + { + throw new CMSMicroservice.Application.Common.Exceptions.ValidationException(new[] + { + new FluentValidation.Results.ValidationFailure(nameof(request.CurrentPassword), "کلمه عبور فعلی الزامی است.") + }); + } + if (!_hashService.VerifyPassword(request.CurrentPassword, user.HashPassword)) + { + throw new UnauthorizedAccessException("کلمه عبور فعلی نادرست است."); + } + } + + // set new password (PBKDF2) + user.HashPassword = _hashService.HashPassword(request.NewPassword); + _context.Users.Update(user); + user.AddDomainEvent(new CMSMicroservice.Domain.Events.SetPasswordForUserEvent(user)); + await _context.SaveChangesAsync(cancellationToken); + + return Unit.Value; + } +} diff --git a/src/CMSMicroservice.Application/UserCQ/Commands/SetPasswordForUser/SetPasswordForUserCommandValidator.cs b/src/CMSMicroservice.Application/UserCQ/Commands/SetPasswordForUser/SetPasswordForUserCommandValidator.cs new file mode 100644 index 0000000..4847cec --- /dev/null +++ b/src/CMSMicroservice.Application/UserCQ/Commands/SetPasswordForUser/SetPasswordForUserCommandValidator.cs @@ -0,0 +1,20 @@ +namespace CMSMicroservice.Application.UserCQ.Commands.SetPasswordForUser; +public class SetPasswordForUserCommandValidator : AbstractValidator +{ + public SetPasswordForUserCommandValidator() + { + RuleFor(model => model.UserId) + .NotNull(); + RuleFor(model => model.NewPassword) + .NotEmpty(); + RuleFor(model => model.ConfirmPassword) + .NotEmpty(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((SetPasswordForUserCommand)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/UserCQ/EventHandlers/SetPasswordForUserEventHandlers/SetPasswordForUserEventHandler.cs b/src/CMSMicroservice.Application/UserCQ/EventHandlers/SetPasswordForUserEventHandlers/SetPasswordForUserEventHandler.cs new file mode 100644 index 0000000..d52e925 --- /dev/null +++ b/src/CMSMicroservice.Application/UserCQ/EventHandlers/SetPasswordForUserEventHandlers/SetPasswordForUserEventHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +using Microsoft.Extensions.Logging; + +namespace CMSMicroservice.Application.UserCQ.EventHandlers.SetPasswordForUserEventHandlers; + +public class SetPasswordForUserEventHandler : INotificationHandler +{ + private readonly ILogger< + SetPasswordForUserEventHandler> _logger; + + public SetPasswordForUserEventHandler(ILogger logger) + { + _logger = logger; + } + + public Task Handle(SetPasswordForUserEvent notification, CancellationToken cancellationToken) + { + _logger.LogInformation("Domain Event: {DomainEvent}", notification.GetType().Name); + + return Task.CompletedTask; + } +} diff --git a/src/CMSMicroservice.Application/UserCQ/Queries/AdminGetJwtToken/AdminGetJwtTokenQuery.cs b/src/CMSMicroservice.Application/UserCQ/Queries/AdminGetJwtToken/AdminGetJwtTokenQuery.cs new file mode 100644 index 0000000..26f2042 --- /dev/null +++ b/src/CMSMicroservice.Application/UserCQ/Queries/AdminGetJwtToken/AdminGetJwtTokenQuery.cs @@ -0,0 +1,9 @@ +namespace CMSMicroservice.Application.UserCQ.Queries.AdminGetJwtToken; +public record AdminGetJwtTokenQuery : IRequest +{ + //نام کاربری + public string Username { get; init; } + //کلمه عبور + public string Password { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/UserCQ/Queries/AdminGetJwtToken/AdminGetJwtTokenQueryHandler.cs b/src/CMSMicroservice.Application/UserCQ/Queries/AdminGetJwtToken/AdminGetJwtTokenQueryHandler.cs new file mode 100644 index 0000000..f2866e3 --- /dev/null +++ b/src/CMSMicroservice.Application/UserCQ/Queries/AdminGetJwtToken/AdminGetJwtTokenQueryHandler.cs @@ -0,0 +1,39 @@ +namespace CMSMicroservice.Application.UserCQ.Queries.AdminGetJwtToken; + +public class AdminGetJwtTokenQueryHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + private readonly IGenerateJwtToken _generateJwt; + private readonly IHashService _hashService; + + public AdminGetJwtTokenQueryHandler(IApplicationDbContext context, IGenerateJwtToken generateJwt, + IHashService hashService) + { + _context = context; + _generateJwt = generateJwt; + _hashService = hashService; + } + + public async Task Handle(AdminGetJwtTokenQuery request, + CancellationToken cancellationToken) + { + var user = await _context.Users + .Include(u => u.UserRoles) + .ThenInclude(ur => ur.Role) + .FirstOrDefaultAsync(f => f.Mobile == request.Username, cancellationToken); + if (user == null) + throw new Exception("Invalid username or password."); + + if (user.UserRoles.All(a => a.RoleId != 2)) + throw new Exception("You do not have permission to do that."); + + // verify password (supports PBKDF2 or legacy SHA-256) + if (!_hashService.VerifyPassword(request.Password, user.HashPassword)) + throw new Exception("Invalid username or password."); + + return new AdminGetJwtTokenResponseDto() + { + Token = await _generateJwt.GenerateJwtToken(user,15), + }; + } +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/UserCQ/Queries/AdminGetJwtToken/AdminGetJwtTokenQueryValidator.cs b/src/CMSMicroservice.Application/UserCQ/Queries/AdminGetJwtToken/AdminGetJwtTokenQueryValidator.cs new file mode 100644 index 0000000..f4cac21 --- /dev/null +++ b/src/CMSMicroservice.Application/UserCQ/Queries/AdminGetJwtToken/AdminGetJwtTokenQueryValidator.cs @@ -0,0 +1,18 @@ +namespace CMSMicroservice.Application.UserCQ.Queries.AdminGetJwtToken; +public class AdminGetJwtTokenQueryValidator : AbstractValidator +{ + public AdminGetJwtTokenQueryValidator() + { + RuleFor(model => model.Username) + .NotEmpty(); + RuleFor(model => model.Password) + .NotEmpty(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((AdminGetJwtTokenQuery)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/UserCQ/Queries/AdminGetJwtToken/AdminGetJwtTokenResponseDto.cs b/src/CMSMicroservice.Application/UserCQ/Queries/AdminGetJwtToken/AdminGetJwtTokenResponseDto.cs new file mode 100644 index 0000000..c06c0d0 --- /dev/null +++ b/src/CMSMicroservice.Application/UserCQ/Queries/AdminGetJwtToken/AdminGetJwtTokenResponseDto.cs @@ -0,0 +1,7 @@ +namespace CMSMicroservice.Application.UserCQ.Queries.AdminGetJwtToken; +public class AdminGetJwtTokenResponseDto +{ + //توکن + public string Token { get; set; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/UserCartsCQ/Commands/CreateNewUserCarts/CreateNewUserCartsCommand.cs b/src/CMSMicroservice.Application/UserCartsCQ/Commands/CreateNewUserCarts/CreateNewUserCartsCommand.cs new file mode 100644 index 0000000..0b4f500 --- /dev/null +++ b/src/CMSMicroservice.Application/UserCartsCQ/Commands/CreateNewUserCarts/CreateNewUserCartsCommand.cs @@ -0,0 +1,11 @@ +namespace CMSMicroservice.Application.UserCartsCQ.Commands.CreateNewUserCarts; +public record CreateNewUserCartsCommand : IRequest +{ + // + public long ProductId { get; init; } + // + public long UserId { get; init; } + // + public int Count { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/UserCartsCQ/Commands/CreateNewUserCarts/CreateNewUserCartsCommandHandler.cs b/src/CMSMicroservice.Application/UserCartsCQ/Commands/CreateNewUserCarts/CreateNewUserCartsCommandHandler.cs new file mode 100644 index 0000000..0cb9f48 --- /dev/null +++ b/src/CMSMicroservice.Application/UserCartsCQ/Commands/CreateNewUserCarts/CreateNewUserCartsCommandHandler.cs @@ -0,0 +1,21 @@ +using CMSMicroservice.Domain.Events; +namespace CMSMicroservice.Application.UserCartsCQ.Commands.CreateNewUserCarts; +public class CreateNewUserCartsCommandHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public CreateNewUserCartsCommandHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(CreateNewUserCartsCommand request, + CancellationToken cancellationToken) + { + var entity = request.Adapt(); + await _context.UserCartss.AddAsync(entity, cancellationToken); + entity.AddDomainEvent(new CreateNewUserCartsEvent(entity)); + await _context.SaveChangesAsync(cancellationToken); + return entity.Adapt(); + } +} diff --git a/src/CMSMicroservice.Application/UserCartsCQ/Commands/CreateNewUserCarts/CreateNewUserCartsCommandValidator.cs b/src/CMSMicroservice.Application/UserCartsCQ/Commands/CreateNewUserCarts/CreateNewUserCartsCommandValidator.cs new file mode 100644 index 0000000..389bb35 --- /dev/null +++ b/src/CMSMicroservice.Application/UserCartsCQ/Commands/CreateNewUserCarts/CreateNewUserCartsCommandValidator.cs @@ -0,0 +1,20 @@ +namespace CMSMicroservice.Application.UserCartsCQ.Commands.CreateNewUserCarts; +public class CreateNewUserCartsCommandValidator : AbstractValidator +{ + public CreateNewUserCartsCommandValidator() + { + RuleFor(model => model.ProductId) + .NotNull(); + RuleFor(model => model.UserId) + .NotNull(); + RuleFor(model => model.Count) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((CreateNewUserCartsCommand)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/UserCartsCQ/Commands/CreateNewUserCarts/CreateNewUserCartsResponseDto.cs b/src/CMSMicroservice.Application/UserCartsCQ/Commands/CreateNewUserCarts/CreateNewUserCartsResponseDto.cs new file mode 100644 index 0000000..a0c8e22 --- /dev/null +++ b/src/CMSMicroservice.Application/UserCartsCQ/Commands/CreateNewUserCarts/CreateNewUserCartsResponseDto.cs @@ -0,0 +1,7 @@ +namespace CMSMicroservice.Application.UserCartsCQ.Commands.CreateNewUserCarts; +public class CreateNewUserCartsResponseDto +{ + // + public long Id { get; set; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/UserCartsCQ/Commands/DeleteUserCarts/DeleteUserCartsCommand.cs b/src/CMSMicroservice.Application/UserCartsCQ/Commands/DeleteUserCarts/DeleteUserCartsCommand.cs new file mode 100644 index 0000000..b8009cf --- /dev/null +++ b/src/CMSMicroservice.Application/UserCartsCQ/Commands/DeleteUserCarts/DeleteUserCartsCommand.cs @@ -0,0 +1,7 @@ +namespace CMSMicroservice.Application.UserCartsCQ.Commands.DeleteUserCarts; +public record DeleteUserCartsCommand : IRequest +{ + // + public long Id { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/UserCartsCQ/Commands/DeleteUserCarts/DeleteUserCartsCommandHandler.cs b/src/CMSMicroservice.Application/UserCartsCQ/Commands/DeleteUserCarts/DeleteUserCartsCommandHandler.cs new file mode 100644 index 0000000..c04c848 --- /dev/null +++ b/src/CMSMicroservice.Application/UserCartsCQ/Commands/DeleteUserCarts/DeleteUserCartsCommandHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +namespace CMSMicroservice.Application.UserCartsCQ.Commands.DeleteUserCarts; +public class DeleteUserCartsCommandHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public DeleteUserCartsCommandHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(DeleteUserCartsCommand request, CancellationToken cancellationToken) + { + var entity = await _context.UserCartss + .FirstOrDefaultAsync(x => x.Id == request.Id, cancellationToken) ?? throw new NotFoundException(nameof(UserCarts), request.Id); + entity.IsDeleted = true; + _context.UserCartss.Update(entity); + entity.AddDomainEvent(new DeleteUserCartsEvent(entity)); + await _context.SaveChangesAsync(cancellationToken); + return Unit.Value; + } +} diff --git a/src/CMSMicroservice.Application/UserCartsCQ/Commands/DeleteUserCarts/DeleteUserCartsCommandValidator.cs b/src/CMSMicroservice.Application/UserCartsCQ/Commands/DeleteUserCarts/DeleteUserCartsCommandValidator.cs new file mode 100644 index 0000000..b59a80e --- /dev/null +++ b/src/CMSMicroservice.Application/UserCartsCQ/Commands/DeleteUserCarts/DeleteUserCartsCommandValidator.cs @@ -0,0 +1,16 @@ +namespace CMSMicroservice.Application.UserCartsCQ.Commands.DeleteUserCarts; +public class DeleteUserCartsCommandValidator : AbstractValidator +{ + public DeleteUserCartsCommandValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((DeleteUserCartsCommand)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/UserCartsCQ/Commands/UpdateUserCarts/UpdateUserCartsCommand.cs b/src/CMSMicroservice.Application/UserCartsCQ/Commands/UpdateUserCarts/UpdateUserCartsCommand.cs new file mode 100644 index 0000000..f10cec3 --- /dev/null +++ b/src/CMSMicroservice.Application/UserCartsCQ/Commands/UpdateUserCarts/UpdateUserCartsCommand.cs @@ -0,0 +1,13 @@ +namespace CMSMicroservice.Application.UserCartsCQ.Commands.UpdateUserCarts; +public record UpdateUserCartsCommand : IRequest +{ + // + public long Id { get; init; } + // + public long ProductId { get; init; } + // + public long UserId { get; init; } + // + public int Count { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/UserCartsCQ/Commands/UpdateUserCarts/UpdateUserCartsCommandHandler.cs b/src/CMSMicroservice.Application/UserCartsCQ/Commands/UpdateUserCarts/UpdateUserCartsCommandHandler.cs new file mode 100644 index 0000000..46b38b3 --- /dev/null +++ b/src/CMSMicroservice.Application/UserCartsCQ/Commands/UpdateUserCarts/UpdateUserCartsCommandHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +namespace CMSMicroservice.Application.UserCartsCQ.Commands.UpdateUserCarts; +public class UpdateUserCartsCommandHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public UpdateUserCartsCommandHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(UpdateUserCartsCommand request, CancellationToken cancellationToken) + { + var entity = await _context.UserCartss + .FirstOrDefaultAsync(x => x.Id == request.Id, cancellationToken) ?? throw new NotFoundException(nameof(UserCarts), request.Id); + request.Adapt(entity); + _context.UserCartss.Update(entity); + entity.AddDomainEvent(new UpdateUserCartsEvent(entity)); + await _context.SaveChangesAsync(cancellationToken); + return Unit.Value; + } +} diff --git a/src/CMSMicroservice.Application/UserCartsCQ/Commands/UpdateUserCarts/UpdateUserCartsCommandValidator.cs b/src/CMSMicroservice.Application/UserCartsCQ/Commands/UpdateUserCarts/UpdateUserCartsCommandValidator.cs new file mode 100644 index 0000000..8e2c8b4 --- /dev/null +++ b/src/CMSMicroservice.Application/UserCartsCQ/Commands/UpdateUserCarts/UpdateUserCartsCommandValidator.cs @@ -0,0 +1,22 @@ +namespace CMSMicroservice.Application.UserCartsCQ.Commands.UpdateUserCarts; +public class UpdateUserCartsCommandValidator : AbstractValidator +{ + public UpdateUserCartsCommandValidator() + { + RuleFor(model => model.Id) + .NotNull(); + RuleFor(model => model.ProductId) + .NotNull(); + RuleFor(model => model.UserId) + .NotNull(); + RuleFor(model => model.Count) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((UpdateUserCartsCommand)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/UserCartsCQ/EventHandlers/CreateNewUserCartsEventHandlers/CreateNewUserCartsEventHandler.cs b/src/CMSMicroservice.Application/UserCartsCQ/EventHandlers/CreateNewUserCartsEventHandlers/CreateNewUserCartsEventHandler.cs new file mode 100644 index 0000000..6812e9e --- /dev/null +++ b/src/CMSMicroservice.Application/UserCartsCQ/EventHandlers/CreateNewUserCartsEventHandlers/CreateNewUserCartsEventHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +using Microsoft.Extensions.Logging; + +namespace CMSMicroservice.Application.UserCartsCQ.EventHandlers; + +public class CreateNewUserCartsEventHandler : INotificationHandler +{ + private readonly ILogger< + CreateNewUserCartsEventHandler> _logger; + + public CreateNewUserCartsEventHandler(ILogger logger) + { + _logger = logger; + } + + public Task Handle(CreateNewUserCartsEvent notification, CancellationToken cancellationToken) + { + _logger.LogInformation("Domain Event: {DomainEvent}", notification.GetType().Name); + + return Task.CompletedTask; + } +} diff --git a/src/CMSMicroservice.Application/UserCartsCQ/EventHandlers/DeleteUserCartsEventHandlers/DeleteUserCartsEventHandler.cs b/src/CMSMicroservice.Application/UserCartsCQ/EventHandlers/DeleteUserCartsEventHandlers/DeleteUserCartsEventHandler.cs new file mode 100644 index 0000000..813ca8e --- /dev/null +++ b/src/CMSMicroservice.Application/UserCartsCQ/EventHandlers/DeleteUserCartsEventHandlers/DeleteUserCartsEventHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +using Microsoft.Extensions.Logging; + +namespace CMSMicroservice.Application.UserCartsCQ.EventHandlers; + +public class DeleteUserCartsEventHandler : INotificationHandler +{ + private readonly ILogger< + DeleteUserCartsEventHandler> _logger; + + public DeleteUserCartsEventHandler(ILogger logger) + { + _logger = logger; + } + + public Task Handle(DeleteUserCartsEvent notification, CancellationToken cancellationToken) + { + _logger.LogInformation("Domain Event: {DomainEvent}", notification.GetType().Name); + + return Task.CompletedTask; + } +} diff --git a/src/CMSMicroservice.Application/UserCartsCQ/EventHandlers/UpdateUserCartsEventHandlers/UpdateUserCartsEventHandler.cs b/src/CMSMicroservice.Application/UserCartsCQ/EventHandlers/UpdateUserCartsEventHandlers/UpdateUserCartsEventHandler.cs new file mode 100644 index 0000000..2b1855d --- /dev/null +++ b/src/CMSMicroservice.Application/UserCartsCQ/EventHandlers/UpdateUserCartsEventHandlers/UpdateUserCartsEventHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +using Microsoft.Extensions.Logging; + +namespace CMSMicroservice.Application.UserCartsCQ.EventHandlers; + +public class UpdateUserCartsEventHandler : INotificationHandler +{ + private readonly ILogger< + UpdateUserCartsEventHandler> _logger; + + public UpdateUserCartsEventHandler(ILogger logger) + { + _logger = logger; + } + + public Task Handle(UpdateUserCartsEvent notification, CancellationToken cancellationToken) + { + _logger.LogInformation("Domain Event: {DomainEvent}", notification.GetType().Name); + + return Task.CompletedTask; + } +} diff --git a/src/CMSMicroservice.Application/UserCartsCQ/Queries/GetAllUserCartsByFilter/GetAllUserCartsByFilterQuery.cs b/src/CMSMicroservice.Application/UserCartsCQ/Queries/GetAllUserCartsByFilter/GetAllUserCartsByFilterQuery.cs new file mode 100644 index 0000000..ef5a37f --- /dev/null +++ b/src/CMSMicroservice.Application/UserCartsCQ/Queries/GetAllUserCartsByFilter/GetAllUserCartsByFilterQuery.cs @@ -0,0 +1,21 @@ +namespace CMSMicroservice.Application.UserCartsCQ.Queries.GetAllUserCartsByFilter; +public record GetAllUserCartsByFilterQuery : IRequest +{ + //موقعیت صفحه بندی + public PaginationState? PaginationState { get; init; } + //مرتب سازی بر اساس + public string? SortBy { get; init; } + //فیلتر + public GetAllUserCartsByFilterFilter? Filter { get; init; } + +}public class GetAllUserCartsByFilterFilter +{ + // + public long? Id { get; set; } + // + public long? ProductId { get; set; } + // + public long? UserId { get; set; } + // + public int? Count { get; set; } +} diff --git a/src/CMSMicroservice.Application/UserCartsCQ/Queries/GetAllUserCartsByFilter/GetAllUserCartsByFilterQueryHandler.cs b/src/CMSMicroservice.Application/UserCartsCQ/Queries/GetAllUserCartsByFilter/GetAllUserCartsByFilterQueryHandler.cs new file mode 100644 index 0000000..159834c --- /dev/null +++ b/src/CMSMicroservice.Application/UserCartsCQ/Queries/GetAllUserCartsByFilter/GetAllUserCartsByFilterQueryHandler.cs @@ -0,0 +1,33 @@ +namespace CMSMicroservice.Application.UserCartsCQ.Queries.GetAllUserCartsByFilter; +public class GetAllUserCartsByFilterQueryHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public GetAllUserCartsByFilterQueryHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(GetAllUserCartsByFilterQuery request, CancellationToken cancellationToken) + { + var query = _context.UserCartss + .ApplyOrder(sortBy: request.SortBy) + .AsNoTracking() + .AsQueryable(); + if (request.Filter is not null) + { + query = query + .Where(x => request.Filter.Id == null || x.Id == request.Filter.Id) + .Where(x => request.Filter.ProductId == null || x.ProductId == request.Filter.ProductId) + .Where(x => request.Filter.UserId == null || x.UserId == request.Filter.UserId) + .Where(x => request.Filter.Count == null || x.Count == request.Filter.Count) +; + } + return new GetAllUserCartsByFilterResponseDto + { + MetaData = await query.GetMetaData(request.PaginationState, cancellationToken), + Models = await query.PaginatedListAsync(paginationState: request.PaginationState) + .ProjectToType().ToListAsync(cancellationToken) + }; + } +} diff --git a/src/CMSMicroservice.Application/UserCartsCQ/Queries/GetAllUserCartsByFilter/GetAllUserCartsByFilterQueryValidator.cs b/src/CMSMicroservice.Application/UserCartsCQ/Queries/GetAllUserCartsByFilter/GetAllUserCartsByFilterQueryValidator.cs new file mode 100644 index 0000000..075a051 --- /dev/null +++ b/src/CMSMicroservice.Application/UserCartsCQ/Queries/GetAllUserCartsByFilter/GetAllUserCartsByFilterQueryValidator.cs @@ -0,0 +1,14 @@ +namespace CMSMicroservice.Application.UserCartsCQ.Queries.GetAllUserCartsByFilter; +public class GetAllUserCartsByFilterQueryValidator : AbstractValidator +{ + public GetAllUserCartsByFilterQueryValidator() + { + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetAllUserCartsByFilterQuery)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/UserCartsCQ/Queries/GetAllUserCartsByFilter/GetAllUserCartsByFilterResponseDto.cs b/src/CMSMicroservice.Application/UserCartsCQ/Queries/GetAllUserCartsByFilter/GetAllUserCartsByFilterResponseDto.cs new file mode 100644 index 0000000..d53fc02 --- /dev/null +++ b/src/CMSMicroservice.Application/UserCartsCQ/Queries/GetAllUserCartsByFilter/GetAllUserCartsByFilterResponseDto.cs @@ -0,0 +1,19 @@ +namespace CMSMicroservice.Application.UserCartsCQ.Queries.GetAllUserCartsByFilter; +public class GetAllUserCartsByFilterResponseDto +{ + //متادیتا + public MetaData MetaData { get; set; } + //مدل خروجی + public List? Models { get; set; } + +}public class GetAllUserCartsByFilterResponseModel +{ + // + public long Id { get; set; } + // + public long ProductId { get; set; } + // + public long UserId { get; set; } + // + public int Count { get; set; } +} diff --git a/src/CMSMicroservice.Application/UserCartsCQ/Queries/GetUserCarts/GetUserCartsQuery.cs b/src/CMSMicroservice.Application/UserCartsCQ/Queries/GetUserCarts/GetUserCartsQuery.cs new file mode 100644 index 0000000..9257618 --- /dev/null +++ b/src/CMSMicroservice.Application/UserCartsCQ/Queries/GetUserCarts/GetUserCartsQuery.cs @@ -0,0 +1,7 @@ +namespace CMSMicroservice.Application.UserCartsCQ.Queries.GetUserCarts; +public record GetUserCartsQuery : IRequest +{ + // + public long Id { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/UserCartsCQ/Queries/GetUserCarts/GetUserCartsQueryHandler.cs b/src/CMSMicroservice.Application/UserCartsCQ/Queries/GetUserCarts/GetUserCartsQueryHandler.cs new file mode 100644 index 0000000..5d43c5b --- /dev/null +++ b/src/CMSMicroservice.Application/UserCartsCQ/Queries/GetUserCarts/GetUserCartsQueryHandler.cs @@ -0,0 +1,22 @@ +namespace CMSMicroservice.Application.UserCartsCQ.Queries.GetUserCarts; +public class GetUserCartsQueryHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public GetUserCartsQueryHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(GetUserCartsQuery request, + CancellationToken cancellationToken) + { + var response = await _context.UserCartss + .AsNoTracking() + .Where(x => x.Id == request.Id) + .ProjectToType() + .FirstOrDefaultAsync(cancellationToken); + + return response ?? throw new NotFoundException(nameof(UserCarts), request.Id); + } +} diff --git a/src/CMSMicroservice.Application/UserCartsCQ/Queries/GetUserCarts/GetUserCartsQueryValidator.cs b/src/CMSMicroservice.Application/UserCartsCQ/Queries/GetUserCarts/GetUserCartsQueryValidator.cs new file mode 100644 index 0000000..5a8677e --- /dev/null +++ b/src/CMSMicroservice.Application/UserCartsCQ/Queries/GetUserCarts/GetUserCartsQueryValidator.cs @@ -0,0 +1,16 @@ +namespace CMSMicroservice.Application.UserCartsCQ.Queries.GetUserCarts; +public class GetUserCartsQueryValidator : AbstractValidator +{ + public GetUserCartsQueryValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetUserCartsQuery)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/UserCartsCQ/Queries/GetUserCarts/GetUserCartsResponseDto.cs b/src/CMSMicroservice.Application/UserCartsCQ/Queries/GetUserCarts/GetUserCartsResponseDto.cs new file mode 100644 index 0000000..109829b --- /dev/null +++ b/src/CMSMicroservice.Application/UserCartsCQ/Queries/GetUserCarts/GetUserCartsResponseDto.cs @@ -0,0 +1,13 @@ +namespace CMSMicroservice.Application.UserCartsCQ.Queries.GetUserCarts; +public class GetUserCartsResponseDto +{ + // + public long Id { get; set; } + // + public long ProductId { get; set; } + // + public long UserId { get; set; } + // + public int Count { get; set; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/UserOrderCQ/Queries/GetAllUserOrderByFilter/GetAllUserOrderByFilterQuery.cs b/src/CMSMicroservice.Application/UserOrderCQ/Queries/GetAllUserOrderByFilter/GetAllUserOrderByFilterQuery.cs index 8fdee62..2ffbccd 100644 --- a/src/CMSMicroservice.Application/UserOrderCQ/Queries/GetAllUserOrderByFilter/GetAllUserOrderByFilterQuery.cs +++ b/src/CMSMicroservice.Application/UserOrderCQ/Queries/GetAllUserOrderByFilter/GetAllUserOrderByFilterQuery.cs @@ -10,20 +10,20 @@ public record GetAllUserOrderByFilterQuery : IRequest request.Filter.Price == null || x.Price == request.Filter.Price) .Where(x => request.Filter.PackageId == null || x.PackageId == request.Filter.PackageId) .Where(x => request.Filter.TransactionId == null || x.TransactionId == request.Filter.TransactionId) - .Where(x => request.Filter.PaymentStatus == null || x.PaymentStatus == request.Filter.PaymentStatus) + .Where(x => request.Filter.PaymentStatus == null || x.PaymentStatus.GetHashCode() == request.Filter.PaymentStatus) .Where(x => request.Filter.PaymentDate == null || x.PaymentDate == request.Filter.PaymentDate) .Where(x => request.Filter.UserId == null || x.UserId == request.Filter.UserId) .Where(x => request.Filter.UserAddressId == null || x.UserAddressId == request.Filter.UserAddressId) diff --git a/src/CMSMicroservice.Application/UserOrderCQ/Queries/GetAllUserOrderByFilter/GetAllUserOrderByFilterResponseDto.cs b/src/CMSMicroservice.Application/UserOrderCQ/Queries/GetAllUserOrderByFilter/GetAllUserOrderByFilterResponseDto.cs index 0d68dff..18b7353 100644 --- a/src/CMSMicroservice.Application/UserOrderCQ/Queries/GetAllUserOrderByFilter/GetAllUserOrderByFilterResponseDto.cs +++ b/src/CMSMicroservice.Application/UserOrderCQ/Queries/GetAllUserOrderByFilter/GetAllUserOrderByFilterResponseDto.cs @@ -8,20 +8,20 @@ public class GetAllUserOrderByFilterResponseDto }public class GetAllUserOrderByFilterResponseModel { - //شناسه + //شناسه public long Id { get; set; } - //قیمت + //قیمت public long Price { get; set; } - //شناسه پکیج + //شناسه پکیج public long PackageId { get; set; } - //شناسه تراکنش + //شناسه تراکنش public long? TransactionId { get; set; } - //وضعیت پرداخت - public bool PaymentStatus { get; set; } - //تاریخ پرداخت + //وضعیت پرداخت + public int PaymentStatus { get; set; } + //تاریخ پرداخت public DateTime? PaymentDate { get; set; } - //شناسه کاربر + //شناسه کاربر public long UserId { get; set; } - //شناسه آدرس کاربر + //شناسه آدرس کاربر public long UserAddressId { get; set; } } diff --git a/src/CMSMicroservice.Application/UserWalletCQ/Commands/CreateNewUserWallet/CreateNewUserWalletCommand.cs b/src/CMSMicroservice.Application/UserWalletCQ/Commands/CreateNewUserWallet/CreateNewUserWalletCommand.cs new file mode 100644 index 0000000..f826eab --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletCQ/Commands/CreateNewUserWallet/CreateNewUserWalletCommand.cs @@ -0,0 +1,9 @@ +namespace CMSMicroservice.Application.UserWalletCQ.Commands.CreateNewUserWallet; +public record CreateNewUserWalletCommand : IRequest +{ + //شناسه کاربر + public long UserId { get; init; } + //موجودی + public long Balance { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/UserWalletCQ/Commands/CreateNewUserWallet/CreateNewUserWalletCommandHandler.cs b/src/CMSMicroservice.Application/UserWalletCQ/Commands/CreateNewUserWallet/CreateNewUserWalletCommandHandler.cs new file mode 100644 index 0000000..66d631b --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletCQ/Commands/CreateNewUserWallet/CreateNewUserWalletCommandHandler.cs @@ -0,0 +1,21 @@ +using CMSMicroservice.Domain.Events; +namespace CMSMicroservice.Application.UserWalletCQ.Commands.CreateNewUserWallet; +public class CreateNewUserWalletCommandHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public CreateNewUserWalletCommandHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(CreateNewUserWalletCommand request, + CancellationToken cancellationToken) + { + var entity = request.Adapt(); + await _context.UserWallets.AddAsync(entity, cancellationToken); + entity.AddDomainEvent(new CreateNewUserWalletEvent(entity)); + await _context.SaveChangesAsync(cancellationToken); + return entity.Adapt(); + } +} diff --git a/src/CMSMicroservice.Application/UserWalletCQ/Commands/CreateNewUserWallet/CreateNewUserWalletCommandValidator.cs b/src/CMSMicroservice.Application/UserWalletCQ/Commands/CreateNewUserWallet/CreateNewUserWalletCommandValidator.cs new file mode 100644 index 0000000..bd81c5f --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletCQ/Commands/CreateNewUserWallet/CreateNewUserWalletCommandValidator.cs @@ -0,0 +1,18 @@ +namespace CMSMicroservice.Application.UserWalletCQ.Commands.CreateNewUserWallet; +public class CreateNewUserWalletCommandValidator : AbstractValidator +{ + public CreateNewUserWalletCommandValidator() + { + RuleFor(model => model.UserId) + .NotNull(); + RuleFor(model => model.Balance) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((CreateNewUserWalletCommand)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/UserWalletCQ/Commands/CreateNewUserWallet/CreateNewUserWalletResponseDto.cs b/src/CMSMicroservice.Application/UserWalletCQ/Commands/CreateNewUserWallet/CreateNewUserWalletResponseDto.cs new file mode 100644 index 0000000..e95001f --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletCQ/Commands/CreateNewUserWallet/CreateNewUserWalletResponseDto.cs @@ -0,0 +1,7 @@ +namespace CMSMicroservice.Application.UserWalletCQ.Commands.CreateNewUserWallet; +public class CreateNewUserWalletResponseDto +{ + //شناسه + public long Id { get; set; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/UserWalletCQ/Commands/DeleteUserWallet/DeleteUserWalletCommand.cs b/src/CMSMicroservice.Application/UserWalletCQ/Commands/DeleteUserWallet/DeleteUserWalletCommand.cs new file mode 100644 index 0000000..fd1155b --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletCQ/Commands/DeleteUserWallet/DeleteUserWalletCommand.cs @@ -0,0 +1,7 @@ +namespace CMSMicroservice.Application.UserWalletCQ.Commands.DeleteUserWallet; +public record DeleteUserWalletCommand : IRequest +{ + //شناسه + public long Id { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/UserWalletCQ/Commands/DeleteUserWallet/DeleteUserWalletCommandHandler.cs b/src/CMSMicroservice.Application/UserWalletCQ/Commands/DeleteUserWallet/DeleteUserWalletCommandHandler.cs new file mode 100644 index 0000000..3b8c04a --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletCQ/Commands/DeleteUserWallet/DeleteUserWalletCommandHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +namespace CMSMicroservice.Application.UserWalletCQ.Commands.DeleteUserWallet; +public class DeleteUserWalletCommandHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public DeleteUserWalletCommandHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(DeleteUserWalletCommand request, CancellationToken cancellationToken) + { + var entity = await _context.UserWallets + .FirstOrDefaultAsync(x => x.Id == request.Id, cancellationToken) ?? throw new NotFoundException(nameof(UserWallet), request.Id); + entity.IsDeleted = true; + _context.UserWallets.Update(entity); + entity.AddDomainEvent(new DeleteUserWalletEvent(entity)); + await _context.SaveChangesAsync(cancellationToken); + return Unit.Value; + } +} diff --git a/src/CMSMicroservice.Application/UserWalletCQ/Commands/DeleteUserWallet/DeleteUserWalletCommandValidator.cs b/src/CMSMicroservice.Application/UserWalletCQ/Commands/DeleteUserWallet/DeleteUserWalletCommandValidator.cs new file mode 100644 index 0000000..ea19555 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletCQ/Commands/DeleteUserWallet/DeleteUserWalletCommandValidator.cs @@ -0,0 +1,16 @@ +namespace CMSMicroservice.Application.UserWalletCQ.Commands.DeleteUserWallet; +public class DeleteUserWalletCommandValidator : AbstractValidator +{ + public DeleteUserWalletCommandValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((DeleteUserWalletCommand)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/UserWalletCQ/Commands/UpdateUserWallet/UpdateUserWalletCommand.cs b/src/CMSMicroservice.Application/UserWalletCQ/Commands/UpdateUserWallet/UpdateUserWalletCommand.cs new file mode 100644 index 0000000..3993b65 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletCQ/Commands/UpdateUserWallet/UpdateUserWalletCommand.cs @@ -0,0 +1,11 @@ +namespace CMSMicroservice.Application.UserWalletCQ.Commands.UpdateUserWallet; +public record UpdateUserWalletCommand : IRequest +{ + //شناسه + public long Id { get; init; } + //شناسه کاربر + public long UserId { get; init; } + //موجودی + public long Balance { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/UserWalletCQ/Commands/UpdateUserWallet/UpdateUserWalletCommandHandler.cs b/src/CMSMicroservice.Application/UserWalletCQ/Commands/UpdateUserWallet/UpdateUserWalletCommandHandler.cs new file mode 100644 index 0000000..fd24176 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletCQ/Commands/UpdateUserWallet/UpdateUserWalletCommandHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +namespace CMSMicroservice.Application.UserWalletCQ.Commands.UpdateUserWallet; +public class UpdateUserWalletCommandHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public UpdateUserWalletCommandHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(UpdateUserWalletCommand request, CancellationToken cancellationToken) + { + var entity = await _context.UserWallets + .FirstOrDefaultAsync(x => x.Id == request.Id, cancellationToken) ?? throw new NotFoundException(nameof(UserWallet), request.Id); + request.Adapt(entity); + _context.UserWallets.Update(entity); + entity.AddDomainEvent(new UpdateUserWalletEvent(entity)); + await _context.SaveChangesAsync(cancellationToken); + return Unit.Value; + } +} diff --git a/src/CMSMicroservice.Application/UserWalletCQ/Commands/UpdateUserWallet/UpdateUserWalletCommandValidator.cs b/src/CMSMicroservice.Application/UserWalletCQ/Commands/UpdateUserWallet/UpdateUserWalletCommandValidator.cs new file mode 100644 index 0000000..82defa6 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletCQ/Commands/UpdateUserWallet/UpdateUserWalletCommandValidator.cs @@ -0,0 +1,20 @@ +namespace CMSMicroservice.Application.UserWalletCQ.Commands.UpdateUserWallet; +public class UpdateUserWalletCommandValidator : AbstractValidator +{ + public UpdateUserWalletCommandValidator() + { + RuleFor(model => model.Id) + .NotNull(); + RuleFor(model => model.UserId) + .NotNull(); + RuleFor(model => model.Balance) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((UpdateUserWalletCommand)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/UserWalletCQ/EventHandlers/CreateNewUserWalletEventHandlers/CreateNewUserWalletEventHandler.cs b/src/CMSMicroservice.Application/UserWalletCQ/EventHandlers/CreateNewUserWalletEventHandlers/CreateNewUserWalletEventHandler.cs new file mode 100644 index 0000000..5aa5f1f --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletCQ/EventHandlers/CreateNewUserWalletEventHandlers/CreateNewUserWalletEventHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +using Microsoft.Extensions.Logging; + +namespace CMSMicroservice.Application.UserWalletCQ.EventHandlers; + +public class CreateNewUserWalletEventHandler : INotificationHandler +{ + private readonly ILogger< + CreateNewUserWalletEventHandler> _logger; + + public CreateNewUserWalletEventHandler(ILogger logger) + { + _logger = logger; + } + + public Task Handle(CreateNewUserWalletEvent notification, CancellationToken cancellationToken) + { + _logger.LogInformation("Domain Event: {DomainEvent}", notification.GetType().Name); + + return Task.CompletedTask; + } +} diff --git a/src/CMSMicroservice.Application/UserWalletCQ/EventHandlers/DeleteUserWalletEventHandlers/DeleteUserWalletEventHandler.cs b/src/CMSMicroservice.Application/UserWalletCQ/EventHandlers/DeleteUserWalletEventHandlers/DeleteUserWalletEventHandler.cs new file mode 100644 index 0000000..387b62d --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletCQ/EventHandlers/DeleteUserWalletEventHandlers/DeleteUserWalletEventHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +using Microsoft.Extensions.Logging; + +namespace CMSMicroservice.Application.UserWalletCQ.EventHandlers; + +public class DeleteUserWalletEventHandler : INotificationHandler +{ + private readonly ILogger< + DeleteUserWalletEventHandler> _logger; + + public DeleteUserWalletEventHandler(ILogger logger) + { + _logger = logger; + } + + public Task Handle(DeleteUserWalletEvent notification, CancellationToken cancellationToken) + { + _logger.LogInformation("Domain Event: {DomainEvent}", notification.GetType().Name); + + return Task.CompletedTask; + } +} diff --git a/src/CMSMicroservice.Application/UserWalletCQ/EventHandlers/UpdateUserWalletEventHandlers/UpdateUserWalletEventHandler.cs b/src/CMSMicroservice.Application/UserWalletCQ/EventHandlers/UpdateUserWalletEventHandlers/UpdateUserWalletEventHandler.cs new file mode 100644 index 0000000..4e66277 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletCQ/EventHandlers/UpdateUserWalletEventHandlers/UpdateUserWalletEventHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +using Microsoft.Extensions.Logging; + +namespace CMSMicroservice.Application.UserWalletCQ.EventHandlers; + +public class UpdateUserWalletEventHandler : INotificationHandler +{ + private readonly ILogger< + UpdateUserWalletEventHandler> _logger; + + public UpdateUserWalletEventHandler(ILogger logger) + { + _logger = logger; + } + + public Task Handle(UpdateUserWalletEvent notification, CancellationToken cancellationToken) + { + _logger.LogInformation("Domain Event: {DomainEvent}", notification.GetType().Name); + + return Task.CompletedTask; + } +} diff --git a/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetAllUserWalletByFilter/GetAllUserWalletByFilterQuery.cs b/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetAllUserWalletByFilter/GetAllUserWalletByFilterQuery.cs new file mode 100644 index 0000000..4d8baf0 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetAllUserWalletByFilter/GetAllUserWalletByFilterQuery.cs @@ -0,0 +1,19 @@ +namespace CMSMicroservice.Application.UserWalletCQ.Queries.GetAllUserWalletByFilter; +public record GetAllUserWalletByFilterQuery : IRequest +{ + //موقعیت صفحه بندی + public PaginationState? PaginationState { get; init; } + //مرتب سازی بر اساس + public string? SortBy { get; init; } + //فیلتر + public GetAllUserWalletByFilterFilter? Filter { get; init; } + +}public class GetAllUserWalletByFilterFilter +{ + //شناسه + public long? Id { get; set; } + //شناسه کاربر + public long? UserId { get; set; } + //موجودی + public long? Balance { get; set; } +} diff --git a/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetAllUserWalletByFilter/GetAllUserWalletByFilterQueryHandler.cs b/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetAllUserWalletByFilter/GetAllUserWalletByFilterQueryHandler.cs new file mode 100644 index 0000000..bd721a1 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetAllUserWalletByFilter/GetAllUserWalletByFilterQueryHandler.cs @@ -0,0 +1,32 @@ +namespace CMSMicroservice.Application.UserWalletCQ.Queries.GetAllUserWalletByFilter; +public class GetAllUserWalletByFilterQueryHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public GetAllUserWalletByFilterQueryHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(GetAllUserWalletByFilterQuery request, CancellationToken cancellationToken) + { + var query = _context.UserWallets + .ApplyOrder(sortBy: request.SortBy) + .AsNoTracking() + .AsQueryable(); + if (request.Filter is not null) + { + query = query + .Where(x => request.Filter.Id == null || x.Id == request.Filter.Id) + .Where(x => request.Filter.UserId == null || x.UserId == request.Filter.UserId) + .Where(x => request.Filter.Balance == null || x.Balance == request.Filter.Balance) +; + } + return new GetAllUserWalletByFilterResponseDto + { + MetaData = await query.GetMetaData(request.PaginationState, cancellationToken), + Models = await query.PaginatedListAsync(paginationState: request.PaginationState) + .ProjectToType().ToListAsync(cancellationToken) + }; + } +} diff --git a/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetAllUserWalletByFilter/GetAllUserWalletByFilterQueryValidator.cs b/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetAllUserWalletByFilter/GetAllUserWalletByFilterQueryValidator.cs new file mode 100644 index 0000000..5328635 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetAllUserWalletByFilter/GetAllUserWalletByFilterQueryValidator.cs @@ -0,0 +1,14 @@ +namespace CMSMicroservice.Application.UserWalletCQ.Queries.GetAllUserWalletByFilter; +public class GetAllUserWalletByFilterQueryValidator : AbstractValidator +{ + public GetAllUserWalletByFilterQueryValidator() + { + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetAllUserWalletByFilterQuery)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetAllUserWalletByFilter/GetAllUserWalletByFilterResponseDto.cs b/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetAllUserWalletByFilter/GetAllUserWalletByFilterResponseDto.cs new file mode 100644 index 0000000..c2b7d2e --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetAllUserWalletByFilter/GetAllUserWalletByFilterResponseDto.cs @@ -0,0 +1,17 @@ +namespace CMSMicroservice.Application.UserWalletCQ.Queries.GetAllUserWalletByFilter; +public class GetAllUserWalletByFilterResponseDto +{ + //متادیتا + public MetaData MetaData { get; set; } + //مدل خروجی + public List? Models { get; set; } + +}public class GetAllUserWalletByFilterResponseModel +{ + //شناسه + public long Id { get; set; } + //شناسه کاربر + public long UserId { get; set; } + //موجودی + public long Balance { get; set; } +} diff --git a/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetUserWallet/GetUserWalletQuery.cs b/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetUserWallet/GetUserWalletQuery.cs new file mode 100644 index 0000000..7ad6564 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetUserWallet/GetUserWalletQuery.cs @@ -0,0 +1,7 @@ +namespace CMSMicroservice.Application.UserWalletCQ.Queries.GetUserWallet; +public record GetUserWalletQuery : IRequest +{ + //شناسه + public long Id { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetUserWallet/GetUserWalletQueryHandler.cs b/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetUserWallet/GetUserWalletQueryHandler.cs new file mode 100644 index 0000000..18cce89 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetUserWallet/GetUserWalletQueryHandler.cs @@ -0,0 +1,22 @@ +namespace CMSMicroservice.Application.UserWalletCQ.Queries.GetUserWallet; +public class GetUserWalletQueryHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public GetUserWalletQueryHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(GetUserWalletQuery request, + CancellationToken cancellationToken) + { + var response = await _context.UserWallets + .AsNoTracking() + .Where(x => x.Id == request.Id) + .ProjectToType() + .FirstOrDefaultAsync(cancellationToken); + + return response ?? throw new NotFoundException(nameof(UserWallet), request.Id); + } +} diff --git a/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetUserWallet/GetUserWalletQueryValidator.cs b/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetUserWallet/GetUserWalletQueryValidator.cs new file mode 100644 index 0000000..eb88c50 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetUserWallet/GetUserWalletQueryValidator.cs @@ -0,0 +1,16 @@ +namespace CMSMicroservice.Application.UserWalletCQ.Queries.GetUserWallet; +public class GetUserWalletQueryValidator : AbstractValidator +{ + public GetUserWalletQueryValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetUserWalletQuery)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetUserWallet/GetUserWalletResponseDto.cs b/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetUserWallet/GetUserWalletResponseDto.cs new file mode 100644 index 0000000..ee7f0e6 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletCQ/Queries/GetUserWallet/GetUserWalletResponseDto.cs @@ -0,0 +1,11 @@ +namespace CMSMicroservice.Application.UserWalletCQ.Queries.GetUserWallet; +public class GetUserWalletResponseDto +{ + //شناسه + public long Id { get; set; } + //شناسه کاربر + public long UserId { get; set; } + //موجودی + public long Balance { get; set; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/CreateNewUserWalletChangeLog/CreateNewUserWalletChangeLogCommand.cs b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/CreateNewUserWalletChangeLog/CreateNewUserWalletChangeLogCommand.cs new file mode 100644 index 0000000..e198943 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/CreateNewUserWalletChangeLog/CreateNewUserWalletChangeLogCommand.cs @@ -0,0 +1,15 @@ +namespace CMSMicroservice.Application.UserWalletChangeLogCQ.Commands.CreateNewUserWalletChangeLog; +public record CreateNewUserWalletChangeLogCommand : IRequest +{ + //شناسه کیف پول + public long WalletId { get; init; } + //موجودی + public long CurrentBalance { get; init; } + //تغییر موجودی + public long ChangeValue { get; init; } + //افزایشی؟ + public bool IsIncrease { get; init; } + //شناسه ارجاع + public long? RefrenceId { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/CreateNewUserWalletChangeLog/CreateNewUserWalletChangeLogCommandHandler.cs b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/CreateNewUserWalletChangeLog/CreateNewUserWalletChangeLogCommandHandler.cs new file mode 100644 index 0000000..0e3cd6b --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/CreateNewUserWalletChangeLog/CreateNewUserWalletChangeLogCommandHandler.cs @@ -0,0 +1,21 @@ +using CMSMicroservice.Domain.Events; +namespace CMSMicroservice.Application.UserWalletChangeLogCQ.Commands.CreateNewUserWalletChangeLog; +public class CreateNewUserWalletChangeLogCommandHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public CreateNewUserWalletChangeLogCommandHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(CreateNewUserWalletChangeLogCommand request, + CancellationToken cancellationToken) + { + var entity = request.Adapt(); + await _context.UserWalletChangeLogs.AddAsync(entity, cancellationToken); + entity.AddDomainEvent(new CreateNewUserWalletChangeLogEvent(entity)); + await _context.SaveChangesAsync(cancellationToken); + return entity.Adapt(); + } +} diff --git a/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/CreateNewUserWalletChangeLog/CreateNewUserWalletChangeLogCommandValidator.cs b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/CreateNewUserWalletChangeLog/CreateNewUserWalletChangeLogCommandValidator.cs new file mode 100644 index 0000000..1b18c80 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/CreateNewUserWalletChangeLog/CreateNewUserWalletChangeLogCommandValidator.cs @@ -0,0 +1,22 @@ +namespace CMSMicroservice.Application.UserWalletChangeLogCQ.Commands.CreateNewUserWalletChangeLog; +public class CreateNewUserWalletChangeLogCommandValidator : AbstractValidator +{ + public CreateNewUserWalletChangeLogCommandValidator() + { + RuleFor(model => model.WalletId) + .NotNull(); + RuleFor(model => model.CurrentBalance) + .NotNull(); + RuleFor(model => model.ChangeValue) + .NotNull(); + RuleFor(model => model.IsIncrease) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((CreateNewUserWalletChangeLogCommand)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/CreateNewUserWalletChangeLog/CreateNewUserWalletChangeLogResponseDto.cs b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/CreateNewUserWalletChangeLog/CreateNewUserWalletChangeLogResponseDto.cs new file mode 100644 index 0000000..5b83bf8 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/CreateNewUserWalletChangeLog/CreateNewUserWalletChangeLogResponseDto.cs @@ -0,0 +1,7 @@ +namespace CMSMicroservice.Application.UserWalletChangeLogCQ.Commands.CreateNewUserWalletChangeLog; +public class CreateNewUserWalletChangeLogResponseDto +{ + //شناسه + public long Id { get; set; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/DeleteUserWalletChangeLog/DeleteUserWalletChangeLogCommand.cs b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/DeleteUserWalletChangeLog/DeleteUserWalletChangeLogCommand.cs new file mode 100644 index 0000000..2c7e243 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/DeleteUserWalletChangeLog/DeleteUserWalletChangeLogCommand.cs @@ -0,0 +1,7 @@ +namespace CMSMicroservice.Application.UserWalletChangeLogCQ.Commands.DeleteUserWalletChangeLog; +public record DeleteUserWalletChangeLogCommand : IRequest +{ + //شناسه + public long Id { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/DeleteUserWalletChangeLog/DeleteUserWalletChangeLogCommandHandler.cs b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/DeleteUserWalletChangeLog/DeleteUserWalletChangeLogCommandHandler.cs new file mode 100644 index 0000000..722888a --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/DeleteUserWalletChangeLog/DeleteUserWalletChangeLogCommandHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +namespace CMSMicroservice.Application.UserWalletChangeLogCQ.Commands.DeleteUserWalletChangeLog; +public class DeleteUserWalletChangeLogCommandHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public DeleteUserWalletChangeLogCommandHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(DeleteUserWalletChangeLogCommand request, CancellationToken cancellationToken) + { + var entity = await _context.UserWalletChangeLogs + .FirstOrDefaultAsync(x => x.Id == request.Id, cancellationToken) ?? throw new NotFoundException(nameof(UserWalletChangeLog), request.Id); + entity.IsDeleted = true; + _context.UserWalletChangeLogs.Update(entity); + entity.AddDomainEvent(new DeleteUserWalletChangeLogEvent(entity)); + await _context.SaveChangesAsync(cancellationToken); + return Unit.Value; + } +} diff --git a/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/DeleteUserWalletChangeLog/DeleteUserWalletChangeLogCommandValidator.cs b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/DeleteUserWalletChangeLog/DeleteUserWalletChangeLogCommandValidator.cs new file mode 100644 index 0000000..f4116a0 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/DeleteUserWalletChangeLog/DeleteUserWalletChangeLogCommandValidator.cs @@ -0,0 +1,16 @@ +namespace CMSMicroservice.Application.UserWalletChangeLogCQ.Commands.DeleteUserWalletChangeLog; +public class DeleteUserWalletChangeLogCommandValidator : AbstractValidator +{ + public DeleteUserWalletChangeLogCommandValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((DeleteUserWalletChangeLogCommand)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/UpdateUserWalletChangeLog/UpdateUserWalletChangeLogCommand.cs b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/UpdateUserWalletChangeLog/UpdateUserWalletChangeLogCommand.cs new file mode 100644 index 0000000..43d3225 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/UpdateUserWalletChangeLog/UpdateUserWalletChangeLogCommand.cs @@ -0,0 +1,17 @@ +namespace CMSMicroservice.Application.UserWalletChangeLogCQ.Commands.UpdateUserWalletChangeLog; +public record UpdateUserWalletChangeLogCommand : IRequest +{ + //شناسه + public long Id { get; init; } + //شناسه کیف پول + public long WalletId { get; init; } + //موجودی + public long CurrentBalance { get; init; } + //تغییر موجودی + public long ChangeValue { get; init; } + //افزایشی؟ + public bool IsIncrease { get; init; } + //شناسه ارجاع + public long? RefrenceId { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/UpdateUserWalletChangeLog/UpdateUserWalletChangeLogCommandHandler.cs b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/UpdateUserWalletChangeLog/UpdateUserWalletChangeLogCommandHandler.cs new file mode 100644 index 0000000..4ab0f67 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/UpdateUserWalletChangeLog/UpdateUserWalletChangeLogCommandHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +namespace CMSMicroservice.Application.UserWalletChangeLogCQ.Commands.UpdateUserWalletChangeLog; +public class UpdateUserWalletChangeLogCommandHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public UpdateUserWalletChangeLogCommandHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(UpdateUserWalletChangeLogCommand request, CancellationToken cancellationToken) + { + var entity = await _context.UserWalletChangeLogs + .FirstOrDefaultAsync(x => x.Id == request.Id, cancellationToken) ?? throw new NotFoundException(nameof(UserWalletChangeLog), request.Id); + request.Adapt(entity); + _context.UserWalletChangeLogs.Update(entity); + entity.AddDomainEvent(new UpdateUserWalletChangeLogEvent(entity)); + await _context.SaveChangesAsync(cancellationToken); + return Unit.Value; + } +} diff --git a/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/UpdateUserWalletChangeLog/UpdateUserWalletChangeLogCommandValidator.cs b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/UpdateUserWalletChangeLog/UpdateUserWalletChangeLogCommandValidator.cs new file mode 100644 index 0000000..3e29dde --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Commands/UpdateUserWalletChangeLog/UpdateUserWalletChangeLogCommandValidator.cs @@ -0,0 +1,24 @@ +namespace CMSMicroservice.Application.UserWalletChangeLogCQ.Commands.UpdateUserWalletChangeLog; +public class UpdateUserWalletChangeLogCommandValidator : AbstractValidator +{ + public UpdateUserWalletChangeLogCommandValidator() + { + RuleFor(model => model.Id) + .NotNull(); + RuleFor(model => model.WalletId) + .NotNull(); + RuleFor(model => model.CurrentBalance) + .NotNull(); + RuleFor(model => model.ChangeValue) + .NotNull(); + RuleFor(model => model.IsIncrease) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((UpdateUserWalletChangeLogCommand)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/UserWalletChangeLogCQ/EventHandlers/CreateNewUserWalletChangeLogEventHandlers/CreateNewUserWalletChangeLogEventHandler.cs b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/EventHandlers/CreateNewUserWalletChangeLogEventHandlers/CreateNewUserWalletChangeLogEventHandler.cs new file mode 100644 index 0000000..3a8f158 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/EventHandlers/CreateNewUserWalletChangeLogEventHandlers/CreateNewUserWalletChangeLogEventHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +using Microsoft.Extensions.Logging; + +namespace CMSMicroservice.Application.UserWalletChangeLogCQ.EventHandlers; + +public class CreateNewUserWalletChangeLogEventHandler : INotificationHandler +{ + private readonly ILogger< + CreateNewUserWalletChangeLogEventHandler> _logger; + + public CreateNewUserWalletChangeLogEventHandler(ILogger logger) + { + _logger = logger; + } + + public Task Handle(CreateNewUserWalletChangeLogEvent notification, CancellationToken cancellationToken) + { + _logger.LogInformation("Domain Event: {DomainEvent}", notification.GetType().Name); + + return Task.CompletedTask; + } +} diff --git a/src/CMSMicroservice.Application/UserWalletChangeLogCQ/EventHandlers/DeleteUserWalletChangeLogEventHandlers/DeleteUserWalletChangeLogEventHandler.cs b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/EventHandlers/DeleteUserWalletChangeLogEventHandlers/DeleteUserWalletChangeLogEventHandler.cs new file mode 100644 index 0000000..e9cd2fa --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/EventHandlers/DeleteUserWalletChangeLogEventHandlers/DeleteUserWalletChangeLogEventHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +using Microsoft.Extensions.Logging; + +namespace CMSMicroservice.Application.UserWalletChangeLogCQ.EventHandlers; + +public class DeleteUserWalletChangeLogEventHandler : INotificationHandler +{ + private readonly ILogger< + DeleteUserWalletChangeLogEventHandler> _logger; + + public DeleteUserWalletChangeLogEventHandler(ILogger logger) + { + _logger = logger; + } + + public Task Handle(DeleteUserWalletChangeLogEvent notification, CancellationToken cancellationToken) + { + _logger.LogInformation("Domain Event: {DomainEvent}", notification.GetType().Name); + + return Task.CompletedTask; + } +} diff --git a/src/CMSMicroservice.Application/UserWalletChangeLogCQ/EventHandlers/UpdateUserWalletChangeLogEventHandlers/UpdateUserWalletChangeLogEventHandler.cs b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/EventHandlers/UpdateUserWalletChangeLogEventHandlers/UpdateUserWalletChangeLogEventHandler.cs new file mode 100644 index 0000000..e2d5ff3 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/EventHandlers/UpdateUserWalletChangeLogEventHandlers/UpdateUserWalletChangeLogEventHandler.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Events; +using Microsoft.Extensions.Logging; + +namespace CMSMicroservice.Application.UserWalletChangeLogCQ.EventHandlers; + +public class UpdateUserWalletChangeLogEventHandler : INotificationHandler +{ + private readonly ILogger< + UpdateUserWalletChangeLogEventHandler> _logger; + + public UpdateUserWalletChangeLogEventHandler(ILogger logger) + { + _logger = logger; + } + + public Task Handle(UpdateUserWalletChangeLogEvent notification, CancellationToken cancellationToken) + { + _logger.LogInformation("Domain Event: {DomainEvent}", notification.GetType().Name); + + return Task.CompletedTask; + } +} diff --git a/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Queries/GetAllUserWalletChangeLogByFilter/GetAllUserWalletChangeLogByFilterQuery.cs b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Queries/GetAllUserWalletChangeLogByFilter/GetAllUserWalletChangeLogByFilterQuery.cs new file mode 100644 index 0000000..efe2cf5 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Queries/GetAllUserWalletChangeLogByFilter/GetAllUserWalletChangeLogByFilterQuery.cs @@ -0,0 +1,25 @@ +namespace CMSMicroservice.Application.UserWalletChangeLogCQ.Queries.GetAllUserWalletChangeLogByFilter; +public record GetAllUserWalletChangeLogByFilterQuery : IRequest +{ + //موقعیت صفحه بندی + public PaginationState? PaginationState { get; init; } + //مرتب سازی بر اساس + public string? SortBy { get; init; } + //فیلتر + public GetAllUserWalletChangeLogByFilterFilter? Filter { get; init; } + +}public class GetAllUserWalletChangeLogByFilterFilter +{ + //شناسه + public long? Id { get; set; } + //شناسه کیف پول + public long? WalletId { get; set; } + //موجودی + public long? CurrentBalance { get; set; } + //تغییر موجودی + public long? ChangeValue { get; set; } + //افزایشی؟ + public bool? IsIncrease { get; set; } + //شناسه ارجاع + public long? RefrenceId { get; set; } +} diff --git a/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Queries/GetAllUserWalletChangeLogByFilter/GetAllUserWalletChangeLogByFilterQueryHandler.cs b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Queries/GetAllUserWalletChangeLogByFilter/GetAllUserWalletChangeLogByFilterQueryHandler.cs new file mode 100644 index 0000000..6ba0058 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Queries/GetAllUserWalletChangeLogByFilter/GetAllUserWalletChangeLogByFilterQueryHandler.cs @@ -0,0 +1,35 @@ +namespace CMSMicroservice.Application.UserWalletChangeLogCQ.Queries.GetAllUserWalletChangeLogByFilter; +public class GetAllUserWalletChangeLogByFilterQueryHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public GetAllUserWalletChangeLogByFilterQueryHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(GetAllUserWalletChangeLogByFilterQuery request, CancellationToken cancellationToken) + { + var query = _context.UserWalletChangeLogs + .ApplyOrder(sortBy: request.SortBy) + .AsNoTracking() + .AsQueryable(); + if (request.Filter is not null) + { + query = query + .Where(x => request.Filter.Id == null || x.Id == request.Filter.Id) + .Where(x => request.Filter.WalletId == null || x.WalletId == request.Filter.WalletId) + .Where(x => request.Filter.CurrentBalance == null || x.CurrentBalance == request.Filter.CurrentBalance) + .Where(x => request.Filter.ChangeValue == null || x.ChangeValue == request.Filter.ChangeValue) + .Where(x => request.Filter.IsIncrease == null || x.IsIncrease == request.Filter.IsIncrease) + .Where(x => request.Filter.RefrenceId == null || x.RefrenceId == request.Filter.RefrenceId) +; + } + return new GetAllUserWalletChangeLogByFilterResponseDto + { + MetaData = await query.GetMetaData(request.PaginationState, cancellationToken), + Models = await query.PaginatedListAsync(paginationState: request.PaginationState) + .ProjectToType().ToListAsync(cancellationToken) + }; + } +} diff --git a/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Queries/GetAllUserWalletChangeLogByFilter/GetAllUserWalletChangeLogByFilterQueryValidator.cs b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Queries/GetAllUserWalletChangeLogByFilter/GetAllUserWalletChangeLogByFilterQueryValidator.cs new file mode 100644 index 0000000..a4d1626 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Queries/GetAllUserWalletChangeLogByFilter/GetAllUserWalletChangeLogByFilterQueryValidator.cs @@ -0,0 +1,14 @@ +namespace CMSMicroservice.Application.UserWalletChangeLogCQ.Queries.GetAllUserWalletChangeLogByFilter; +public class GetAllUserWalletChangeLogByFilterQueryValidator : AbstractValidator +{ + public GetAllUserWalletChangeLogByFilterQueryValidator() + { + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetAllUserWalletChangeLogByFilterQuery)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Queries/GetAllUserWalletChangeLogByFilter/GetAllUserWalletChangeLogByFilterResponseDto.cs b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Queries/GetAllUserWalletChangeLogByFilter/GetAllUserWalletChangeLogByFilterResponseDto.cs new file mode 100644 index 0000000..86f3e83 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Queries/GetAllUserWalletChangeLogByFilter/GetAllUserWalletChangeLogByFilterResponseDto.cs @@ -0,0 +1,23 @@ +namespace CMSMicroservice.Application.UserWalletChangeLogCQ.Queries.GetAllUserWalletChangeLogByFilter; +public class GetAllUserWalletChangeLogByFilterResponseDto +{ + //متادیتا + public MetaData MetaData { get; set; } + //مدل خروجی + public List? Models { get; set; } + +}public class GetAllUserWalletChangeLogByFilterResponseModel +{ + //شناسه + public long Id { get; set; } + //شناسه کیف پول + public long WalletId { get; set; } + //موجودی + public long CurrentBalance { get; set; } + //تغییر موجودی + public long ChangeValue { get; set; } + //افزایشی؟ + public bool IsIncrease { get; set; } + //شناسه ارجاع + public long? RefrenceId { get; set; } +} diff --git a/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Queries/GetUserWalletChangeLog/GetUserWalletChangeLogQuery.cs b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Queries/GetUserWalletChangeLog/GetUserWalletChangeLogQuery.cs new file mode 100644 index 0000000..575a8d2 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Queries/GetUserWalletChangeLog/GetUserWalletChangeLogQuery.cs @@ -0,0 +1,7 @@ +namespace CMSMicroservice.Application.UserWalletChangeLogCQ.Queries.GetUserWalletChangeLog; +public record GetUserWalletChangeLogQuery : IRequest +{ + //شناسه + public long Id { get; init; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Queries/GetUserWalletChangeLog/GetUserWalletChangeLogQueryHandler.cs b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Queries/GetUserWalletChangeLog/GetUserWalletChangeLogQueryHandler.cs new file mode 100644 index 0000000..b731d47 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Queries/GetUserWalletChangeLog/GetUserWalletChangeLogQueryHandler.cs @@ -0,0 +1,22 @@ +namespace CMSMicroservice.Application.UserWalletChangeLogCQ.Queries.GetUserWalletChangeLog; +public class GetUserWalletChangeLogQueryHandler : IRequestHandler +{ + private readonly IApplicationDbContext _context; + + public GetUserWalletChangeLogQueryHandler(IApplicationDbContext context) + { + _context = context; + } + + public async Task Handle(GetUserWalletChangeLogQuery request, + CancellationToken cancellationToken) + { + var response = await _context.UserWalletChangeLogs + .AsNoTracking() + .Where(x => x.Id == request.Id) + .ProjectToType() + .FirstOrDefaultAsync(cancellationToken); + + return response ?? throw new NotFoundException(nameof(UserWalletChangeLog), request.Id); + } +} diff --git a/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Queries/GetUserWalletChangeLog/GetUserWalletChangeLogQueryValidator.cs b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Queries/GetUserWalletChangeLog/GetUserWalletChangeLogQueryValidator.cs new file mode 100644 index 0000000..69d3282 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Queries/GetUserWalletChangeLog/GetUserWalletChangeLogQueryValidator.cs @@ -0,0 +1,16 @@ +namespace CMSMicroservice.Application.UserWalletChangeLogCQ.Queries.GetUserWalletChangeLog; +public class GetUserWalletChangeLogQueryValidator : AbstractValidator +{ + public GetUserWalletChangeLogQueryValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetUserWalletChangeLogQuery)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Queries/GetUserWalletChangeLog/GetUserWalletChangeLogResponseDto.cs b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Queries/GetUserWalletChangeLog/GetUserWalletChangeLogResponseDto.cs new file mode 100644 index 0000000..c385043 --- /dev/null +++ b/src/CMSMicroservice.Application/UserWalletChangeLogCQ/Queries/GetUserWalletChangeLog/GetUserWalletChangeLogResponseDto.cs @@ -0,0 +1,17 @@ +namespace CMSMicroservice.Application.UserWalletChangeLogCQ.Queries.GetUserWalletChangeLog; +public class GetUserWalletChangeLogResponseDto +{ + //شناسه + public long Id { get; set; } + //شناسه کیف پول + public long WalletId { get; set; } + //موجودی + public long CurrentBalance { get; set; } + //تغییر موجودی + public long ChangeValue { get; set; } + //افزایشی؟ + public bool IsIncrease { get; set; } + //شناسه ارجاع + public long? RefrenceId { get; set; } + +} \ No newline at end of file diff --git a/src/CMSMicroservice.Domain/CMSMicroservice.Domain.csproj b/src/CMSMicroservice.Domain/CMSMicroservice.Domain.csproj index 8d4bd93..c8d69e7 100644 --- a/src/CMSMicroservice.Domain/CMSMicroservice.Domain.csproj +++ b/src/CMSMicroservice.Domain/CMSMicroservice.Domain.csproj @@ -1,7 +1,7 @@ - net7.0 + net9.0 enable diff --git a/src/CMSMicroservice.Domain/Entities/FactorDetails.cs b/src/CMSMicroservice.Domain/Entities/FactorDetails.cs new file mode 100644 index 0000000..f191184 --- /dev/null +++ b/src/CMSMicroservice.Domain/Entities/FactorDetails.cs @@ -0,0 +1,16 @@ +namespace CMSMicroservice.Domain.Entities; +//آدرس کاربر +public class FactorDetails : BaseAuditableEntity +{ + public long ProductId { get; set; } + //Product Navigation Property + public virtual Products Product { get; set; } + public int Count { get; set; } + public long UnitPrice { get; set; } + public int UnitDiscount { get; set; } + public long OrderId { get; set; } + //Order Navigation Property + public virtual UserOrder Order { get; set; } + public long UnitDiscountPrice { get; set; } + public bool IsChangePrice { get; set; } +} diff --git a/src/CMSMicroservice.Domain/Entities/ProductGallerys.cs b/src/CMSMicroservice.Domain/Entities/ProductGallerys.cs new file mode 100644 index 0000000..64dc71b --- /dev/null +++ b/src/CMSMicroservice.Domain/Entities/ProductGallerys.cs @@ -0,0 +1,11 @@ +namespace CMSMicroservice.Domain.Entities; +//توکن Otp +public class ProductGallerys : BaseAuditableEntity +{ + public long ProductImageId { get; set; } + //ProductImage Navigation Property + public virtual ProductImages ProductImage { get; set; } + public long ProductId { get; set; } + //Product Navigation Property + public virtual Products Product { get; set; } +} diff --git a/src/CMSMicroservice.Domain/Entities/ProductImages.cs b/src/CMSMicroservice.Domain/Entities/ProductImages.cs new file mode 100644 index 0000000..f0bc80f --- /dev/null +++ b/src/CMSMicroservice.Domain/Entities/ProductImages.cs @@ -0,0 +1,10 @@ +namespace CMSMicroservice.Domain.Entities; +//توکن Otp +public class ProductImages : BaseAuditableEntity +{ + public string Title { get; set; } + public string ImagePath { get; set; } + public string ImageThumbnailPath { get; set; } + //ProductGallerys Collection Navigation Reference + public virtual ICollection ProductGalleryss { get; set; } +} diff --git a/src/CMSMicroservice.Domain/Entities/Products.cs b/src/CMSMicroservice.Domain/Entities/Products.cs new file mode 100644 index 0000000..1edf26d --- /dev/null +++ b/src/CMSMicroservice.Domain/Entities/Products.cs @@ -0,0 +1,23 @@ +namespace CMSMicroservice.Domain.Entities; +//توکن Otp +public class Products : BaseAuditableEntity +{ + public string Title { get; set; } + public string Description { get; set; } + public string ShortInfomation { get; set; } + public string FullInformation { get; set; } + public long Price { get; set; } + public int Discount { get; set; } + public int Rate { get; set; } + public string ImagePath { get; set; } + public string ThumbnailPath { get; set; } + public int SaleCount { get; set; } + public int ViewCount { get; set; } + public int RemainingCount { get; set; } + //UserCarts Collection Navigation Reference + public virtual ICollection UserCartss { get; set; } + //ProductGallerys Collection Navigation Reference + public virtual ICollection ProductGalleryss { get; set; } + //FactorDetails Collection Navigation Reference + public virtual ICollection FactorDetailss { get; set; } +} diff --git a/src/CMSMicroservice.Domain/Entities/Transactions.cs b/src/CMSMicroservice.Domain/Entities/Transactions.cs new file mode 100644 index 0000000..f52c8fc --- /dev/null +++ b/src/CMSMicroservice.Domain/Entities/Transactions.cs @@ -0,0 +1,31 @@ +using CMSMicroservice.Domain.Enums; + +namespace CMSMicroservice.Domain.Entities; +//آدرس کاربر +public class Transactions : BaseAuditableEntity +{ + public string MerchantId { get; set; } + public long Amount { get; set; } + public string CallbackUrl { get; set; } + public string Description { get; set; } + public string? Mobile { get; set; } + public string? Email { get; set; } + public int? RequestStatusCode { get; set; } + public string? RequestStatusMessage { get; set; } + public string? Authority { get; set; } + public string? FeeType { get; set; } + public long? Fee { get; set; } + public int? Currency { get; set; } + public PaymentStatus PaymentStatus { get; set; } + //تاریخ پرداخت + public DateTime? PaymentDate { get; set; } + public int? VerificationStatusCode { get; set; } + public string? VerificationStatusMessage { get; set; } + public string? CardHash { get; set; } + public string? CardPan { get; set; } + public string? RefId { get; set; } + public long? OrderId { get; set; } + //Order Navigation Property + public virtual UserOrder? Order { get; set; } + public TransactionType Type { get; set; } +} diff --git a/src/CMSMicroservice.Domain/Entities/User.cs b/src/CMSMicroservice.Domain/Entities/User.cs index 0176954..2cb98d7 100644 --- a/src/CMSMicroservice.Domain/Entities/User.cs +++ b/src/CMSMicroservice.Domain/Entities/User.cs @@ -2,44 +2,50 @@ namespace CMSMicroservice.Domain.Entities; //کاربر public class User : BaseAuditableEntity { - //نام + //نام public string? FirstName { get; set; } - //نام خانوادگی + //نام خانوادگی public string? LastName { get; set; } - //شماره موبایل + //شماره موبایل public string Mobile { get; set; } - //کد ملی + //کد ملی public string? NationalCode { get; set; } - //آدرس آواتار + //آدرس آواتار public string? AvatarPath { get; set; } - //شناسه والد + //شناسه والد public long? ParentId { get; set; } - //User Navigation Property + //User Navigation Property public virtual User? Parent { get; set; } - //کد ارجاع + //کد ارجاع public string ReferralCode { get; set; } - //موبایل فعال شده؟ + //موبایل فعال شده؟ public bool IsMobileVerified { get; set; } - //تاریخ فعال سازی موبایل + //تاریخ فعال سازی موبایل public DateTime? MobileVerifiedAt { get; set; } - //قوانین پذیرفته شده؟ + //قوانین پذیرفته شده؟ public bool IsRulesAccepted { get; set; } - //تاریخ پذیرش قوانین + //تاریخ پذیرش قوانین public DateTime? RulesAcceptedAt { get; set; } - //اعلان ایمیل + //اعلان ایمیل public bool EmailNotifications { get; set; } - //اعلان پیامک + //اعلان پیامک public bool SmsNotifications { get; set; } - //اعلان پوش + //اعلان پوش public bool PushNotifications { get; set; } - //تاریخ تولد + //تاریخ تولد public DateTime? BirthDate { get; set; } + //پسوورد هش کاربر + public string? HashPassword { get; set; } //UserAddress Collection Navigation Reference public virtual ICollection UserAddresss { get; set; } //UserRole Collection Navigation Reference public virtual ICollection UserRoles { get; set; } + //UserWallet Collection Navigation Reference + public virtual ICollection UserWallets { get; set; } + //UserCarts Collection Navigation Reference + public virtual ICollection UserCartss { get; set; } //UserOrder Collection Navigation Reference public virtual ICollection UserOrders { get; set; } //User Collection Navigation Reference public virtual ICollection Users { get; set; } -} \ No newline at end of file +} diff --git a/src/CMSMicroservice.Domain/Entities/UserCarts.cs b/src/CMSMicroservice.Domain/Entities/UserCarts.cs new file mode 100644 index 0000000..694e6da --- /dev/null +++ b/src/CMSMicroservice.Domain/Entities/UserCarts.cs @@ -0,0 +1,12 @@ +namespace CMSMicroservice.Domain.Entities; +//آدرس کاربر +public class UserCarts : BaseAuditableEntity +{ + public long ProductId { get; set; } + //Product Navigation Property + public virtual Products Product { get; set; } + public long UserId { get; set; } + //User Navigation Property + public virtual User User { get; set; } + public int Count { get; set; } +} diff --git a/src/CMSMicroservice.Domain/Entities/UserOrder.cs b/src/CMSMicroservice.Domain/Entities/UserOrder.cs index 8b73599..859a0f8 100644 --- a/src/CMSMicroservice.Domain/Entities/UserOrder.cs +++ b/src/CMSMicroservice.Domain/Entities/UserOrder.cs @@ -1,25 +1,31 @@ +using CMSMicroservice.Domain.Enums; + namespace CMSMicroservice.Domain.Entities; //سفارش کاربر public class UserOrder : BaseAuditableEntity { - //قیمت + //قیمت public long Price { get; set; } - //شناسه پکیج + //شناسه پکیج public long PackageId { get; set; } - //Package Navigation Property + //Package Navigation Property public virtual Package Package { get; set; } - //شناسه تراکنش + //شناسه تراکنش public long? TransactionId { get; set; } - //وضعیت پرداخت - public bool PaymentStatus { get; set; } - //تاریخ پرداخت + //وضعیت پرداخت + public PaymentStatus PaymentStatus { get; set; } + //تاریخ پرداخت public DateTime? PaymentDate { get; set; } - //شناسه کاربر + //شناسه کاربر public long UserId { get; set; } - //User Navigation Property + //User Navigation Property public virtual User User { get; set; } - //شناسه آدرس کاربر + //شناسه آدرس کاربر public long UserAddressId { get; set; } - //UserAddress Navigation Property + //UserAddress Navigation Property public virtual UserAddress UserAddress { get; set; } -} \ No newline at end of file + //FactorDetails Collection Navigation Reference + public virtual ICollection FactorDetailss { get; set; } + //Transactions Collection Navigation Reference + public virtual ICollection Transactionss { get; set; } +} diff --git a/src/CMSMicroservice.Domain/Entities/UserWallet.cs b/src/CMSMicroservice.Domain/Entities/UserWallet.cs new file mode 100644 index 0000000..c352a1c --- /dev/null +++ b/src/CMSMicroservice.Domain/Entities/UserWallet.cs @@ -0,0 +1,13 @@ +namespace CMSMicroservice.Domain.Entities; +//آدرس کاربر +public class UserWallet : BaseAuditableEntity +{ + //شناسه کاربر + public long UserId { get; set; } + //User Navigation Property + public virtual User User { get; set; } + //موجودی + public long Balance { get; set; } + //UserWalletChangeLog Collection Navigation Reference + public virtual ICollection UserWalletChangeLogs { get; set; } +} diff --git a/src/CMSMicroservice.Domain/Entities/UserWalletChangeLog.cs b/src/CMSMicroservice.Domain/Entities/UserWalletChangeLog.cs new file mode 100644 index 0000000..9b94b48 --- /dev/null +++ b/src/CMSMicroservice.Domain/Entities/UserWalletChangeLog.cs @@ -0,0 +1,17 @@ +namespace CMSMicroservice.Domain.Entities; +//آدرس کاربر +public class UserWalletChangeLog : BaseAuditableEntity +{ + //شناسه کیف پول + public long WalletId { get; set; } + //Wallet Navigation Property + public virtual UserWallet Wallet { get; set; } + //موجودی + public long CurrentBalance { get; set; } + //تغییر موجودی + public long ChangeValue { get; set; } + //افزایشی؟ + public bool IsIncrease { get; set; } + //شناسه ارجاع + public long? RefrenceId { get; set; } +} diff --git a/src/CMSMicroservice.Domain/Enums/PaymentStatus.cs b/src/CMSMicroservice.Domain/Enums/PaymentStatus.cs new file mode 100644 index 0000000..6f39ba1 --- /dev/null +++ b/src/CMSMicroservice.Domain/Enums/PaymentStatus.cs @@ -0,0 +1,8 @@ +namespace CMSMicroservice.Domain.Enums; +//پکیج +public enum PaymentStatus +{ + Success = 0, + Reject = 1, + Pending = 2, +} diff --git a/src/CMSMicroservice.Domain/Enums/TransactionType.cs b/src/CMSMicroservice.Domain/Enums/TransactionType.cs new file mode 100644 index 0000000..d7ef81a --- /dev/null +++ b/src/CMSMicroservice.Domain/Enums/TransactionType.cs @@ -0,0 +1,9 @@ +namespace CMSMicroservice.Domain.Enums; +//پکیج +public enum TransactionType +{ + Buy = 0, + DepositIpg = 1, + DepositExternal1 = 2, + Withdraw = 3, +} diff --git a/src/CMSMicroservice.Domain/Events/FactorDetailsEvents/CreateNewFactorDetailsEvent.cs b/src/CMSMicroservice.Domain/Events/FactorDetailsEvents/CreateNewFactorDetailsEvent.cs new file mode 100644 index 0000000..65ffdc1 --- /dev/null +++ b/src/CMSMicroservice.Domain/Events/FactorDetailsEvents/CreateNewFactorDetailsEvent.cs @@ -0,0 +1,8 @@ +namespace CMSMicroservice.Domain.Events; +public class CreateNewFactorDetailsEvent : BaseEvent +{ + public CreateNewFactorDetailsEvent(FactorDetails item) + { + } + public FactorDetails Item { get; } +} diff --git a/src/CMSMicroservice.Domain/Events/FactorDetailsEvents/DeleteFactorDetailsEvent.cs b/src/CMSMicroservice.Domain/Events/FactorDetailsEvents/DeleteFactorDetailsEvent.cs new file mode 100644 index 0000000..5db85d2 --- /dev/null +++ b/src/CMSMicroservice.Domain/Events/FactorDetailsEvents/DeleteFactorDetailsEvent.cs @@ -0,0 +1,8 @@ +namespace CMSMicroservice.Domain.Events; +public class DeleteFactorDetailsEvent : BaseEvent +{ + public DeleteFactorDetailsEvent(FactorDetails item) + { + } + public FactorDetails Item { get; } +} diff --git a/src/CMSMicroservice.Domain/Events/FactorDetailsEvents/UpdateFactorDetailsEvent.cs b/src/CMSMicroservice.Domain/Events/FactorDetailsEvents/UpdateFactorDetailsEvent.cs new file mode 100644 index 0000000..652989d --- /dev/null +++ b/src/CMSMicroservice.Domain/Events/FactorDetailsEvents/UpdateFactorDetailsEvent.cs @@ -0,0 +1,8 @@ +namespace CMSMicroservice.Domain.Events; +public class UpdateFactorDetailsEvent : BaseEvent +{ + public UpdateFactorDetailsEvent(FactorDetails item) + { + } + public FactorDetails Item { get; } +} diff --git a/src/CMSMicroservice.Domain/Events/ProductGallerysEvents/CreateNewProductGallerysEvent.cs b/src/CMSMicroservice.Domain/Events/ProductGallerysEvents/CreateNewProductGallerysEvent.cs new file mode 100644 index 0000000..75945c9 --- /dev/null +++ b/src/CMSMicroservice.Domain/Events/ProductGallerysEvents/CreateNewProductGallerysEvent.cs @@ -0,0 +1,8 @@ +namespace CMSMicroservice.Domain.Events; +public class CreateNewProductGallerysEvent : BaseEvent +{ + public CreateNewProductGallerysEvent(ProductGallerys item) + { + } + public ProductGallerys Item { get; } +} diff --git a/src/CMSMicroservice.Domain/Events/ProductGallerysEvents/DeleteProductGallerysEvent.cs b/src/CMSMicroservice.Domain/Events/ProductGallerysEvents/DeleteProductGallerysEvent.cs new file mode 100644 index 0000000..173b662 --- /dev/null +++ b/src/CMSMicroservice.Domain/Events/ProductGallerysEvents/DeleteProductGallerysEvent.cs @@ -0,0 +1,8 @@ +namespace CMSMicroservice.Domain.Events; +public class DeleteProductGallerysEvent : BaseEvent +{ + public DeleteProductGallerysEvent(ProductGallerys item) + { + } + public ProductGallerys Item { get; } +} diff --git a/src/CMSMicroservice.Domain/Events/ProductGallerysEvents/UpdateProductGallerysEvent.cs b/src/CMSMicroservice.Domain/Events/ProductGallerysEvents/UpdateProductGallerysEvent.cs new file mode 100644 index 0000000..cda7605 --- /dev/null +++ b/src/CMSMicroservice.Domain/Events/ProductGallerysEvents/UpdateProductGallerysEvent.cs @@ -0,0 +1,8 @@ +namespace CMSMicroservice.Domain.Events; +public class UpdateProductGallerysEvent : BaseEvent +{ + public UpdateProductGallerysEvent(ProductGallerys item) + { + } + public ProductGallerys Item { get; } +} diff --git a/src/CMSMicroservice.Domain/Events/ProductImagesEvents/CreateNewProductImagesEvent.cs b/src/CMSMicroservice.Domain/Events/ProductImagesEvents/CreateNewProductImagesEvent.cs new file mode 100644 index 0000000..4e58912 --- /dev/null +++ b/src/CMSMicroservice.Domain/Events/ProductImagesEvents/CreateNewProductImagesEvent.cs @@ -0,0 +1,8 @@ +namespace CMSMicroservice.Domain.Events; +public class CreateNewProductImagesEvent : BaseEvent +{ + public CreateNewProductImagesEvent(ProductImages item) + { + } + public ProductImages Item { get; } +} diff --git a/src/CMSMicroservice.Domain/Events/ProductImagesEvents/DeleteProductImagesEvent.cs b/src/CMSMicroservice.Domain/Events/ProductImagesEvents/DeleteProductImagesEvent.cs new file mode 100644 index 0000000..504b0dd --- /dev/null +++ b/src/CMSMicroservice.Domain/Events/ProductImagesEvents/DeleteProductImagesEvent.cs @@ -0,0 +1,8 @@ +namespace CMSMicroservice.Domain.Events; +public class DeleteProductImagesEvent : BaseEvent +{ + public DeleteProductImagesEvent(ProductImages item) + { + } + public ProductImages Item { get; } +} diff --git a/src/CMSMicroservice.Domain/Events/ProductImagesEvents/UpdateProductImagesEvent.cs b/src/CMSMicroservice.Domain/Events/ProductImagesEvents/UpdateProductImagesEvent.cs new file mode 100644 index 0000000..bcad21c --- /dev/null +++ b/src/CMSMicroservice.Domain/Events/ProductImagesEvents/UpdateProductImagesEvent.cs @@ -0,0 +1,8 @@ +namespace CMSMicroservice.Domain.Events; +public class UpdateProductImagesEvent : BaseEvent +{ + public UpdateProductImagesEvent(ProductImages item) + { + } + public ProductImages Item { get; } +} diff --git a/src/CMSMicroservice.Domain/Events/ProductsEvents/CreateNewProductsEvent.cs b/src/CMSMicroservice.Domain/Events/ProductsEvents/CreateNewProductsEvent.cs new file mode 100644 index 0000000..f930879 --- /dev/null +++ b/src/CMSMicroservice.Domain/Events/ProductsEvents/CreateNewProductsEvent.cs @@ -0,0 +1,8 @@ +namespace CMSMicroservice.Domain.Events; +public class CreateNewProductsEvent : BaseEvent +{ + public CreateNewProductsEvent(Products item) + { + } + public Products Item { get; } +} diff --git a/src/CMSMicroservice.Domain/Events/ProductsEvents/DeleteProductsEvent.cs b/src/CMSMicroservice.Domain/Events/ProductsEvents/DeleteProductsEvent.cs new file mode 100644 index 0000000..f172331 --- /dev/null +++ b/src/CMSMicroservice.Domain/Events/ProductsEvents/DeleteProductsEvent.cs @@ -0,0 +1,8 @@ +namespace CMSMicroservice.Domain.Events; +public class DeleteProductsEvent : BaseEvent +{ + public DeleteProductsEvent(Products item) + { + } + public Products Item { get; } +} diff --git a/src/CMSMicroservice.Domain/Events/ProductsEvents/UpdateProductsEvent.cs b/src/CMSMicroservice.Domain/Events/ProductsEvents/UpdateProductsEvent.cs new file mode 100644 index 0000000..9c8b500 --- /dev/null +++ b/src/CMSMicroservice.Domain/Events/ProductsEvents/UpdateProductsEvent.cs @@ -0,0 +1,8 @@ +namespace CMSMicroservice.Domain.Events; +public class UpdateProductsEvent : BaseEvent +{ + public UpdateProductsEvent(Products item) + { + } + public Products Item { get; } +} diff --git a/src/CMSMicroservice.Domain/Events/TransactionsEvents/CreateNewTransactionsEvent.cs b/src/CMSMicroservice.Domain/Events/TransactionsEvents/CreateNewTransactionsEvent.cs new file mode 100644 index 0000000..5b8aac3 --- /dev/null +++ b/src/CMSMicroservice.Domain/Events/TransactionsEvents/CreateNewTransactionsEvent.cs @@ -0,0 +1,8 @@ +namespace CMSMicroservice.Domain.Events; +public class CreateNewTransactionsEvent : BaseEvent +{ + public CreateNewTransactionsEvent(Transactions item) + { + } + public Transactions Item { get; } +} diff --git a/src/CMSMicroservice.Domain/Events/TransactionsEvents/DeleteTransactionsEvent.cs b/src/CMSMicroservice.Domain/Events/TransactionsEvents/DeleteTransactionsEvent.cs new file mode 100644 index 0000000..a61cd0d --- /dev/null +++ b/src/CMSMicroservice.Domain/Events/TransactionsEvents/DeleteTransactionsEvent.cs @@ -0,0 +1,8 @@ +namespace CMSMicroservice.Domain.Events; +public class DeleteTransactionsEvent : BaseEvent +{ + public DeleteTransactionsEvent(Transactions item) + { + } + public Transactions Item { get; } +} diff --git a/src/CMSMicroservice.Domain/Events/TransactionsEvents/UpdateTransactionsEvent.cs b/src/CMSMicroservice.Domain/Events/TransactionsEvents/UpdateTransactionsEvent.cs new file mode 100644 index 0000000..bc8edeb --- /dev/null +++ b/src/CMSMicroservice.Domain/Events/TransactionsEvents/UpdateTransactionsEvent.cs @@ -0,0 +1,8 @@ +namespace CMSMicroservice.Domain.Events; +public class UpdateTransactionsEvent : BaseEvent +{ + public UpdateTransactionsEvent(Transactions item) + { + } + public Transactions Item { get; } +} diff --git a/src/CMSMicroservice.Domain/Events/UserCartsEvents/CreateNewUserCartsEvent.cs b/src/CMSMicroservice.Domain/Events/UserCartsEvents/CreateNewUserCartsEvent.cs new file mode 100644 index 0000000..a1ff68c --- /dev/null +++ b/src/CMSMicroservice.Domain/Events/UserCartsEvents/CreateNewUserCartsEvent.cs @@ -0,0 +1,8 @@ +namespace CMSMicroservice.Domain.Events; +public class CreateNewUserCartsEvent : BaseEvent +{ + public CreateNewUserCartsEvent(UserCarts item) + { + } + public UserCarts Item { get; } +} diff --git a/src/CMSMicroservice.Domain/Events/UserCartsEvents/DeleteUserCartsEvent.cs b/src/CMSMicroservice.Domain/Events/UserCartsEvents/DeleteUserCartsEvent.cs new file mode 100644 index 0000000..8c07ed1 --- /dev/null +++ b/src/CMSMicroservice.Domain/Events/UserCartsEvents/DeleteUserCartsEvent.cs @@ -0,0 +1,8 @@ +namespace CMSMicroservice.Domain.Events; +public class DeleteUserCartsEvent : BaseEvent +{ + public DeleteUserCartsEvent(UserCarts item) + { + } + public UserCarts Item { get; } +} diff --git a/src/CMSMicroservice.Domain/Events/UserCartsEvents/UpdateUserCartsEvent.cs b/src/CMSMicroservice.Domain/Events/UserCartsEvents/UpdateUserCartsEvent.cs new file mode 100644 index 0000000..a63d50c --- /dev/null +++ b/src/CMSMicroservice.Domain/Events/UserCartsEvents/UpdateUserCartsEvent.cs @@ -0,0 +1,8 @@ +namespace CMSMicroservice.Domain.Events; +public class UpdateUserCartsEvent : BaseEvent +{ + public UpdateUserCartsEvent(UserCarts item) + { + } + public UserCarts Item { get; } +} diff --git a/src/CMSMicroservice.Domain/Events/UserEvents/SetPasswordForUserEvent.cs b/src/CMSMicroservice.Domain/Events/UserEvents/SetPasswordForUserEvent.cs new file mode 100644 index 0000000..8832386 --- /dev/null +++ b/src/CMSMicroservice.Domain/Events/UserEvents/SetPasswordForUserEvent.cs @@ -0,0 +1,9 @@ +namespace CMSMicroservice.Domain.Events; +public class SetPasswordForUserEvent : BaseEvent +{ + public SetPasswordForUserEvent(User item) + { + Item = item; + } + public User Item { get; } +} diff --git a/src/CMSMicroservice.Domain/Events/UserWalletChangeLogEvents/CreateNewUserWalletChangeLogEvent.cs b/src/CMSMicroservice.Domain/Events/UserWalletChangeLogEvents/CreateNewUserWalletChangeLogEvent.cs new file mode 100644 index 0000000..8e268c6 --- /dev/null +++ b/src/CMSMicroservice.Domain/Events/UserWalletChangeLogEvents/CreateNewUserWalletChangeLogEvent.cs @@ -0,0 +1,8 @@ +namespace CMSMicroservice.Domain.Events; +public class CreateNewUserWalletChangeLogEvent : BaseEvent +{ + public CreateNewUserWalletChangeLogEvent(UserWalletChangeLog item) + { + } + public UserWalletChangeLog Item { get; } +} diff --git a/src/CMSMicroservice.Domain/Events/UserWalletChangeLogEvents/DeleteUserWalletChangeLogEvent.cs b/src/CMSMicroservice.Domain/Events/UserWalletChangeLogEvents/DeleteUserWalletChangeLogEvent.cs new file mode 100644 index 0000000..742f8d8 --- /dev/null +++ b/src/CMSMicroservice.Domain/Events/UserWalletChangeLogEvents/DeleteUserWalletChangeLogEvent.cs @@ -0,0 +1,8 @@ +namespace CMSMicroservice.Domain.Events; +public class DeleteUserWalletChangeLogEvent : BaseEvent +{ + public DeleteUserWalletChangeLogEvent(UserWalletChangeLog item) + { + } + public UserWalletChangeLog Item { get; } +} diff --git a/src/CMSMicroservice.Domain/Events/UserWalletChangeLogEvents/UpdateUserWalletChangeLogEvent.cs b/src/CMSMicroservice.Domain/Events/UserWalletChangeLogEvents/UpdateUserWalletChangeLogEvent.cs new file mode 100644 index 0000000..4a4a903 --- /dev/null +++ b/src/CMSMicroservice.Domain/Events/UserWalletChangeLogEvents/UpdateUserWalletChangeLogEvent.cs @@ -0,0 +1,8 @@ +namespace CMSMicroservice.Domain.Events; +public class UpdateUserWalletChangeLogEvent : BaseEvent +{ + public UpdateUserWalletChangeLogEvent(UserWalletChangeLog item) + { + } + public UserWalletChangeLog Item { get; } +} diff --git a/src/CMSMicroservice.Domain/Events/UserWalletEvents/CreateNewUserWalletEvent.cs b/src/CMSMicroservice.Domain/Events/UserWalletEvents/CreateNewUserWalletEvent.cs new file mode 100644 index 0000000..a1c488a --- /dev/null +++ b/src/CMSMicroservice.Domain/Events/UserWalletEvents/CreateNewUserWalletEvent.cs @@ -0,0 +1,8 @@ +namespace CMSMicroservice.Domain.Events; +public class CreateNewUserWalletEvent : BaseEvent +{ + public CreateNewUserWalletEvent(UserWallet item) + { + } + public UserWallet Item { get; } +} diff --git a/src/CMSMicroservice.Domain/Events/UserWalletEvents/DeleteUserWalletEvent.cs b/src/CMSMicroservice.Domain/Events/UserWalletEvents/DeleteUserWalletEvent.cs new file mode 100644 index 0000000..5158617 --- /dev/null +++ b/src/CMSMicroservice.Domain/Events/UserWalletEvents/DeleteUserWalletEvent.cs @@ -0,0 +1,8 @@ +namespace CMSMicroservice.Domain.Events; +public class DeleteUserWalletEvent : BaseEvent +{ + public DeleteUserWalletEvent(UserWallet item) + { + } + public UserWallet Item { get; } +} diff --git a/src/CMSMicroservice.Domain/Events/UserWalletEvents/UpdateUserWalletEvent.cs b/src/CMSMicroservice.Domain/Events/UserWalletEvents/UpdateUserWalletEvent.cs new file mode 100644 index 0000000..2d119f0 --- /dev/null +++ b/src/CMSMicroservice.Domain/Events/UserWalletEvents/UpdateUserWalletEvent.cs @@ -0,0 +1,8 @@ +namespace CMSMicroservice.Domain.Events; +public class UpdateUserWalletEvent : BaseEvent +{ + public UpdateUserWalletEvent(UserWallet item) + { + } + public UserWallet Item { get; } +} diff --git a/src/CMSMicroservice.Infrastructure/CMSMicroservice.Infrastructure.csproj b/src/CMSMicroservice.Infrastructure/CMSMicroservice.Infrastructure.csproj index 8f085f4..5261df4 100644 --- a/src/CMSMicroservice.Infrastructure/CMSMicroservice.Infrastructure.csproj +++ b/src/CMSMicroservice.Infrastructure/CMSMicroservice.Infrastructure.csproj @@ -1,20 +1,20 @@ - net7.0 + net9.0 enable - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + + diff --git a/src/CMSMicroservice.Infrastructure/ConfigureServices.cs b/src/CMSMicroservice.Infrastructure/ConfigureServices.cs index 8c627a8..bd68d5a 100644 --- a/src/CMSMicroservice.Infrastructure/ConfigureServices.cs +++ b/src/CMSMicroservice.Infrastructure/ConfigureServices.cs @@ -19,6 +19,7 @@ public static class ConfigureServices services.AddScoped(); services.AddScoped(); services.AddScoped(); + services.AddScoped(); services.AddScoped(p => p.GetRequiredService()); if (configuration.GetValue("UseInMemoryDatabase")) { diff --git a/src/CMSMicroservice.Infrastructure/Persistence/ApplicationDbContext.cs b/src/CMSMicroservice.Infrastructure/Persistence/ApplicationDbContext.cs index 8ea6548..418baff 100644 --- a/src/CMSMicroservice.Infrastructure/Persistence/ApplicationDbContext.cs +++ b/src/CMSMicroservice.Infrastructure/Persistence/ApplicationDbContext.cs @@ -44,7 +44,14 @@ public class ApplicationDbContext : DbContext, IApplicationDbContext public DbSet Roles => Set(); public DbSet UserRoles => Set(); public DbSet OtpTokens => Set(); - public DbSet UserOrders => Set(); public DbSet Users => Set(); - -} \ No newline at end of file + public DbSet UserWallets => Set(); + public DbSet UserWalletChangeLogs => Set(); + public DbSet UserCartss => Set(); + public DbSet ProductGalleryss => Set(); + public DbSet UserOrders => Set(); + public DbSet FactorDetailss => Set(); + public DbSet Productss => Set(); + public DbSet ProductImagess => Set(); + public DbSet Transactionss => Set(); +} diff --git a/src/CMSMicroservice.Infrastructure/Persistence/Configurations/FactorDetailsConfiguration.cs b/src/CMSMicroservice.Infrastructure/Persistence/Configurations/FactorDetailsConfiguration.cs new file mode 100644 index 0000000..6401a07 --- /dev/null +++ b/src/CMSMicroservice.Infrastructure/Persistence/Configurations/FactorDetailsConfiguration.cs @@ -0,0 +1,31 @@ +using CMSMicroservice.Domain.Entities; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Metadata.Builders; +namespace CMSMicroservice.Infrastructure.Persistence.Configurations; +//آدرس کاربر +public class FactorDetailsConfiguration : IEntityTypeConfiguration +{ + public void Configure(EntityTypeBuilder builder) + { + builder.HasQueryFilter(p => !p.IsDeleted); + builder.Ignore(entity => entity.DomainEvents); + builder.HasKey(entity => entity.Id); + builder.Property(entity => entity.Id).UseIdentityColumn(); + builder + .HasOne(entity => entity.Product) + .WithMany(entity => entity.FactorDetailss) + .HasForeignKey(entity => entity.ProductId) + .IsRequired(true); + builder.Property(entity => entity.Count).IsRequired(true); + builder.Property(entity => entity.UnitPrice).IsRequired(true); + builder.Property(entity => entity.UnitDiscount).IsRequired(true); + builder + .HasOne(entity => entity.Order) + .WithMany(entity => entity.FactorDetailss) + .HasForeignKey(entity => entity.OrderId) + .IsRequired(true); + builder.Property(entity => entity.UnitDiscountPrice).IsRequired(true); + builder.Property(entity => entity.IsChangePrice).IsRequired(true); + + } +} diff --git a/src/CMSMicroservice.Infrastructure/Persistence/Configurations/ProductGallerysConfiguration.cs b/src/CMSMicroservice.Infrastructure/Persistence/Configurations/ProductGallerysConfiguration.cs new file mode 100644 index 0000000..b84fa5b --- /dev/null +++ b/src/CMSMicroservice.Infrastructure/Persistence/Configurations/ProductGallerysConfiguration.cs @@ -0,0 +1,26 @@ +using CMSMicroservice.Domain.Entities; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Metadata.Builders; +namespace CMSMicroservice.Infrastructure.Persistence.Configurations; +//توکن Otp +public class ProductGallerysConfiguration : IEntityTypeConfiguration +{ + public void Configure(EntityTypeBuilder builder) + { + builder.HasQueryFilter(p => !p.IsDeleted); + builder.Ignore(entity => entity.DomainEvents); + builder.HasKey(entity => entity.Id); + builder.Property(entity => entity.Id).UseIdentityColumn(); + builder + .HasOne(entity => entity.ProductImage) + .WithMany(entity => entity.ProductGalleryss) + .HasForeignKey(entity => entity.ProductImageId) + .IsRequired(true); + builder + .HasOne(entity => entity.Product) + .WithMany(entity => entity.ProductGalleryss) + .HasForeignKey(entity => entity.ProductId) + .IsRequired(true); + + } +} diff --git a/src/CMSMicroservice.Infrastructure/Persistence/Configurations/ProductImagesConfiguration.cs b/src/CMSMicroservice.Infrastructure/Persistence/Configurations/ProductImagesConfiguration.cs new file mode 100644 index 0000000..4119892 --- /dev/null +++ b/src/CMSMicroservice.Infrastructure/Persistence/Configurations/ProductImagesConfiguration.cs @@ -0,0 +1,19 @@ +using CMSMicroservice.Domain.Entities; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Metadata.Builders; +namespace CMSMicroservice.Infrastructure.Persistence.Configurations; +//توکن Otp +public class ProductImagesConfiguration : IEntityTypeConfiguration +{ + public void Configure(EntityTypeBuilder builder) + { + builder.HasQueryFilter(p => !p.IsDeleted); + builder.Ignore(entity => entity.DomainEvents); + builder.HasKey(entity => entity.Id); + builder.Property(entity => entity.Id).UseIdentityColumn(); + builder.Property(entity => entity.Title).IsRequired(true); + builder.Property(entity => entity.ImagePath).IsRequired(true); + builder.Property(entity => entity.ImageThumbnailPath).IsRequired(true); + + } +} diff --git a/src/CMSMicroservice.Infrastructure/Persistence/Configurations/ProductsConfiguration.cs b/src/CMSMicroservice.Infrastructure/Persistence/Configurations/ProductsConfiguration.cs new file mode 100644 index 0000000..63f98db --- /dev/null +++ b/src/CMSMicroservice.Infrastructure/Persistence/Configurations/ProductsConfiguration.cs @@ -0,0 +1,28 @@ +using CMSMicroservice.Domain.Entities; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Metadata.Builders; +namespace CMSMicroservice.Infrastructure.Persistence.Configurations; +//توکن Otp +public class ProductsConfiguration : IEntityTypeConfiguration +{ + public void Configure(EntityTypeBuilder builder) + { + builder.HasQueryFilter(p => !p.IsDeleted); + builder.Ignore(entity => entity.DomainEvents); + builder.HasKey(entity => entity.Id); + builder.Property(entity => entity.Id).UseIdentityColumn(); + builder.Property(entity => entity.Title).IsRequired(true); + builder.Property(entity => entity.Description).IsRequired(true); + builder.Property(entity => entity.ShortInfomation).IsRequired(true); + builder.Property(entity => entity.FullInformation).IsRequired(true); + builder.Property(entity => entity.Price).IsRequired(true); + builder.Property(entity => entity.Discount).IsRequired(true); + builder.Property(entity => entity.Rate).IsRequired(true); + builder.Property(entity => entity.ImagePath).IsRequired(true); + builder.Property(entity => entity.ThumbnailPath).IsRequired(true); + builder.Property(entity => entity.SaleCount).IsRequired(true); + builder.Property(entity => entity.ViewCount).IsRequired(true); + builder.Property(entity => entity.RemainingCount).IsRequired(true); + + } +} diff --git a/src/CMSMicroservice.Infrastructure/Persistence/Configurations/TransactionsConfiguration.cs b/src/CMSMicroservice.Infrastructure/Persistence/Configurations/TransactionsConfiguration.cs new file mode 100644 index 0000000..e06308f --- /dev/null +++ b/src/CMSMicroservice.Infrastructure/Persistence/Configurations/TransactionsConfiguration.cs @@ -0,0 +1,41 @@ +using CMSMicroservice.Domain.Entities; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Metadata.Builders; +namespace CMSMicroservice.Infrastructure.Persistence.Configurations; +//آدرس کاربر +public class TransactionsConfiguration : IEntityTypeConfiguration +{ + public void Configure(EntityTypeBuilder builder) + { + builder.HasQueryFilter(p => !p.IsDeleted); + builder.Ignore(entity => entity.DomainEvents); + builder.HasKey(entity => entity.Id); + builder.Property(entity => entity.Id).UseIdentityColumn(); + builder.Property(entity => entity.MerchantId).IsRequired(true); + builder.Property(entity => entity.Amount).IsRequired(true); + builder.Property(entity => entity.CallbackUrl).IsRequired(true); + builder.Property(entity => entity.Description).IsRequired(true); + builder.Property(entity => entity.Mobile).IsRequired(false); + builder.Property(entity => entity.Email).IsRequired(false); + builder.Property(entity => entity.RequestStatusCode).IsRequired(false); + builder.Property(entity => entity.RequestStatusMessage).IsRequired(false); + builder.Property(entity => entity.Authority).IsRequired(false); + builder.Property(entity => entity.FeeType).IsRequired(false); + builder.Property(entity => entity.Fee).IsRequired(false); + builder.Property(entity => entity.Currency).IsRequired(false); + builder.Property(entity => entity.PaymentStatus).IsRequired(true); + builder.Property(entity => entity.PaymentDate).IsRequired(false); + builder.Property(entity => entity.VerificationStatusCode).IsRequired(false); + builder.Property(entity => entity.VerificationStatusMessage).IsRequired(false); + builder.Property(entity => entity.CardHash).IsRequired(false); + builder.Property(entity => entity.CardPan).IsRequired(false); + builder.Property(entity => entity.RefId).IsRequired(false); + builder + .HasOne(entity => entity.Order) + .WithMany(entity => entity.Transactionss) + .HasForeignKey(entity => entity.OrderId) + .IsRequired(false); + builder.Property(entity => entity.Type).IsRequired(true); + + } +} diff --git a/src/CMSMicroservice.Infrastructure/Persistence/Configurations/UserCartsConfiguration.cs b/src/CMSMicroservice.Infrastructure/Persistence/Configurations/UserCartsConfiguration.cs new file mode 100644 index 0000000..106a0ef --- /dev/null +++ b/src/CMSMicroservice.Infrastructure/Persistence/Configurations/UserCartsConfiguration.cs @@ -0,0 +1,27 @@ +using CMSMicroservice.Domain.Entities; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Metadata.Builders; +namespace CMSMicroservice.Infrastructure.Persistence.Configurations; +//آدرس کاربر +public class UserCartsConfiguration : IEntityTypeConfiguration +{ + public void Configure(EntityTypeBuilder builder) + { + builder.HasQueryFilter(p => !p.IsDeleted); + builder.Ignore(entity => entity.DomainEvents); + builder.HasKey(entity => entity.Id); + builder.Property(entity => entity.Id).UseIdentityColumn(); + builder + .HasOne(entity => entity.Product) + .WithMany(entity => entity.UserCartss) + .HasForeignKey(entity => entity.ProductId) + .IsRequired(true); + builder + .HasOne(entity => entity.User) + .WithMany(entity => entity.UserCartss) + .HasForeignKey(entity => entity.UserId) + .IsRequired(true); + builder.Property(entity => entity.Count).IsRequired(true); + + } +} diff --git a/src/CMSMicroservice.Infrastructure/Persistence/Configurations/UserWalletChangeLogConfiguration.cs b/src/CMSMicroservice.Infrastructure/Persistence/Configurations/UserWalletChangeLogConfiguration.cs new file mode 100644 index 0000000..0205b56 --- /dev/null +++ b/src/CMSMicroservice.Infrastructure/Persistence/Configurations/UserWalletChangeLogConfiguration.cs @@ -0,0 +1,25 @@ +using CMSMicroservice.Domain.Entities; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Metadata.Builders; +namespace CMSMicroservice.Infrastructure.Persistence.Configurations; +//آدرس کاربر +public class UserWalletChangeLogConfiguration : IEntityTypeConfiguration +{ + public void Configure(EntityTypeBuilder builder) + { + builder.HasQueryFilter(p => !p.IsDeleted); + builder.Ignore(entity => entity.DomainEvents); + builder.HasKey(entity => entity.Id); + builder.Property(entity => entity.Id).UseIdentityColumn(); + builder + .HasOne(entity => entity.Wallet) + .WithMany(entity => entity.UserWalletChangeLogs) + .HasForeignKey(entity => entity.WalletId) + .IsRequired(true); + builder.Property(entity => entity.CurrentBalance).IsRequired(true); + builder.Property(entity => entity.ChangeValue).IsRequired(true); + builder.Property(entity => entity.IsIncrease).IsRequired(true); + builder.Property(entity => entity.RefrenceId).IsRequired(false); + + } +} diff --git a/src/CMSMicroservice.Infrastructure/Persistence/Configurations/UserWalletConfiguration.cs b/src/CMSMicroservice.Infrastructure/Persistence/Configurations/UserWalletConfiguration.cs new file mode 100644 index 0000000..43d7a72 --- /dev/null +++ b/src/CMSMicroservice.Infrastructure/Persistence/Configurations/UserWalletConfiguration.cs @@ -0,0 +1,22 @@ +using CMSMicroservice.Domain.Entities; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Metadata.Builders; +namespace CMSMicroservice.Infrastructure.Persistence.Configurations; +//آدرس کاربر +public class UserWalletConfiguration : IEntityTypeConfiguration +{ + public void Configure(EntityTypeBuilder builder) + { + builder.HasQueryFilter(p => !p.IsDeleted); + builder.Ignore(entity => entity.DomainEvents); + builder.HasKey(entity => entity.Id); + builder.Property(entity => entity.Id).UseIdentityColumn(); + builder + .HasOne(entity => entity.User) + .WithMany(entity => entity.UserWallets) + .HasForeignKey(entity => entity.UserId) + .IsRequired(true); + builder.Property(entity => entity.Balance).IsRequired(true); + + } +} diff --git a/src/CMSMicroservice.Infrastructure/Persistence/Migrations/20251112173307_u05.Designer.cs b/src/CMSMicroservice.Infrastructure/Persistence/Migrations/20251112173307_u05.Designer.cs new file mode 100644 index 0000000..24caa46 --- /dev/null +++ b/src/CMSMicroservice.Infrastructure/Persistence/Migrations/20251112173307_u05.Designer.cs @@ -0,0 +1,1009 @@ +// +using System; +using CMSMicroservice.Infrastructure.Persistence; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Metadata; +using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; + +#nullable disable + +namespace CMSMicroservice.Infrastructure.Persistence.Migrations +{ + [DbContext(typeof(ApplicationDbContext))] + [Migration("20251112173307_u05")] + partial class u05 + { + /// + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasDefaultSchema("CMS") + .HasAnnotation("ProductVersion", "7.0.0") + .HasAnnotation("Relational:MaxIdentifierLength", 128); + + SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.FactorDetails", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Count") + .HasColumnType("int"); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("IsChangePrice") + .HasColumnType("bit"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("OrderId") + .HasColumnType("bigint"); + + b.Property("ProductId") + .HasColumnType("bigint"); + + b.Property("UnitDiscount") + .HasColumnType("int"); + + b.Property("UnitDiscountPrice") + .HasColumnType("bigint"); + + b.Property("UnitPrice") + .HasColumnType("bigint"); + + b.HasKey("Id"); + + b.HasIndex("OrderId"); + + b.HasIndex("ProductId"); + + b.ToTable("FactorDetailss", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.OtpToken", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Attempts") + .HasColumnType("int"); + + b.Property("CodeHash") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("ExpiresAt") + .HasColumnType("datetime2"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("IsUsed") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("Mobile") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Purpose") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.ToTable("OtpTokens", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.Package", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("Description") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("ImagePath") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("Price") + .HasColumnType("bigint"); + + b.Property("Title") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.ToTable("Packages", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.ProductGallerys", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("ProductId") + .HasColumnType("bigint"); + + b.Property("ProductImageId") + .HasColumnType("bigint"); + + b.HasKey("Id"); + + b.HasIndex("ProductId"); + + b.HasIndex("ProductImageId"); + + b.ToTable("ProductGalleryss", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.ProductImages", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("ImagePath") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("ImageThumbnailPath") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("Title") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.ToTable("ProductImagess", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.Products", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("Description") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Discount") + .HasColumnType("int"); + + b.Property("FullInformation") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("ImagePath") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("Price") + .HasColumnType("bigint"); + + b.Property("Rate") + .HasColumnType("int"); + + b.Property("RemainingCount") + .HasColumnType("int"); + + b.Property("SaleCount") + .HasColumnType("int"); + + b.Property("ShortInfomation") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("ThumbnailPath") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Title") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("ViewCount") + .HasColumnType("int"); + + b.HasKey("Id"); + + b.ToTable("Productss", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.Role", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("Name") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Title") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.ToTable("Roles", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.Transactions", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Amount") + .HasColumnType("bigint"); + + b.Property("Authority") + .HasColumnType("nvarchar(max)"); + + b.Property("CallbackUrl") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("CardHash") + .HasColumnType("nvarchar(max)"); + + b.Property("CardPan") + .HasColumnType("nvarchar(max)"); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("Currency") + .HasColumnType("int"); + + b.Property("Description") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Email") + .HasColumnType("nvarchar(max)"); + + b.Property("Fee") + .HasColumnType("bigint"); + + b.Property("FeeType") + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("MerchantId") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Mobile") + .HasColumnType("nvarchar(max)"); + + b.Property("OrderId") + .HasColumnType("bigint"); + + b.Property("PaymentDate") + .HasColumnType("datetime2"); + + b.Property("PaymentStatus") + .HasColumnType("int"); + + b.Property("RefId") + .HasColumnType("nvarchar(max)"); + + b.Property("RequestStatusCode") + .HasColumnType("int"); + + b.Property("RequestStatusMessage") + .HasColumnType("nvarchar(max)"); + + b.Property("Type") + .HasColumnType("int"); + + b.Property("VerificationStatusCode") + .HasColumnType("int"); + + b.Property("VerificationStatusMessage") + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.HasIndex("OrderId"); + + b.ToTable("Transactionss", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.User", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("AvatarPath") + .HasColumnType("nvarchar(max)"); + + b.Property("BirthDate") + .HasColumnType("datetime2"); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("EmailNotifications") + .HasColumnType("bit"); + + b.Property("FirstName") + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("IsMobileVerified") + .HasColumnType("bit"); + + b.Property("IsRulesAccepted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("LastName") + .HasColumnType("nvarchar(max)"); + + b.Property("Mobile") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("MobileVerifiedAt") + .HasColumnType("datetime2"); + + b.Property("NationalCode") + .HasColumnType("nvarchar(max)"); + + b.Property("ParentId") + .HasColumnType("bigint"); + + b.Property("PushNotifications") + .HasColumnType("bit"); + + b.Property("ReferralCode") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("RulesAcceptedAt") + .HasColumnType("datetime2"); + + b.Property("SmsNotifications") + .HasColumnType("bit"); + + b.HasKey("Id"); + + b.HasIndex("ParentId"); + + b.ToTable("Users", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserAddress", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Address") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("CityId") + .HasColumnType("bigint"); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("IsDefault") + .HasColumnType("bit"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("PostalCode") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Title") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("UserId") + .HasColumnType("bigint"); + + b.HasKey("Id"); + + b.HasIndex("UserId"); + + b.ToTable("UserAddresss", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserCarts", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Count") + .HasColumnType("int"); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("ProductId") + .HasColumnType("bigint"); + + b.Property("UserId") + .HasColumnType("bigint"); + + b.HasKey("Id"); + + b.HasIndex("ProductId"); + + b.HasIndex("UserId"); + + b.ToTable("UserCartss", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserOrder", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("PackageId") + .HasColumnType("bigint"); + + b.Property("PaymentDate") + .HasColumnType("datetime2"); + + b.Property("PaymentStatus") + .HasColumnType("int"); + + b.Property("Price") + .HasColumnType("bigint"); + + b.Property("TransactionId") + .HasColumnType("bigint"); + + b.Property("UserAddressId") + .HasColumnType("bigint"); + + b.Property("UserId") + .HasColumnType("bigint"); + + b.HasKey("Id"); + + b.HasIndex("PackageId"); + + b.HasIndex("UserAddressId"); + + b.HasIndex("UserId"); + + b.ToTable("UserOrders", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserRole", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("RoleId") + .HasColumnType("bigint"); + + b.Property("UserId") + .HasColumnType("bigint"); + + b.HasKey("Id"); + + b.HasIndex("RoleId"); + + b.HasIndex("UserId"); + + b.ToTable("UserRoles", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserWallet", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Balance") + .HasColumnType("bigint"); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("UserId") + .HasColumnType("bigint"); + + b.HasKey("Id"); + + b.HasIndex("UserId"); + + b.ToTable("UserWallets", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserWalletChangeLog", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("ChangeValue") + .HasColumnType("bigint"); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("CurrentBalance") + .HasColumnType("bigint"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("IsIncrease") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("RefrenceId") + .HasColumnType("bigint"); + + b.Property("WalletId") + .HasColumnType("bigint"); + + b.HasKey("Id"); + + b.HasIndex("WalletId"); + + b.ToTable("UserWalletChangeLogs", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.FactorDetails", b => + { + b.HasOne("CMSMicroservice.Domain.Entities.UserOrder", "Order") + .WithMany("FactorDetailss") + .HasForeignKey("OrderId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("CMSMicroservice.Domain.Entities.Products", "Product") + .WithMany("FactorDetailss") + .HasForeignKey("ProductId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Order"); + + b.Navigation("Product"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.ProductGallerys", b => + { + b.HasOne("CMSMicroservice.Domain.Entities.Products", "Product") + .WithMany("ProductGalleryss") + .HasForeignKey("ProductId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("CMSMicroservice.Domain.Entities.ProductImages", "ProductImage") + .WithMany("ProductGalleryss") + .HasForeignKey("ProductImageId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Product"); + + b.Navigation("ProductImage"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.Transactions", b => + { + b.HasOne("CMSMicroservice.Domain.Entities.UserOrder", "Order") + .WithMany("Transactionss") + .HasForeignKey("OrderId"); + + b.Navigation("Order"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.User", b => + { + b.HasOne("CMSMicroservice.Domain.Entities.User", "Parent") + .WithMany("Users") + .HasForeignKey("ParentId"); + + b.Navigation("Parent"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserAddress", b => + { + b.HasOne("CMSMicroservice.Domain.Entities.User", "User") + .WithMany("UserAddresss") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("User"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserCarts", b => + { + b.HasOne("CMSMicroservice.Domain.Entities.Products", "Product") + .WithMany("UserCartss") + .HasForeignKey("ProductId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("CMSMicroservice.Domain.Entities.User", "User") + .WithMany("UserCartss") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Product"); + + b.Navigation("User"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserOrder", b => + { + b.HasOne("CMSMicroservice.Domain.Entities.Package", "Package") + .WithMany("UserOrders") + .HasForeignKey("PackageId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("CMSMicroservice.Domain.Entities.UserAddress", "UserAddress") + .WithMany("UserOrders") + .HasForeignKey("UserAddressId") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("CMSMicroservice.Domain.Entities.User", "User") + .WithMany("UserOrders") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Package"); + + b.Navigation("User"); + + b.Navigation("UserAddress"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserRole", b => + { + b.HasOne("CMSMicroservice.Domain.Entities.Role", "Role") + .WithMany("UserRoles") + .HasForeignKey("RoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("CMSMicroservice.Domain.Entities.User", "User") + .WithMany("UserRoles") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Role"); + + b.Navigation("User"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserWallet", b => + { + b.HasOne("CMSMicroservice.Domain.Entities.User", "User") + .WithMany("UserWallets") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("User"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserWalletChangeLog", b => + { + b.HasOne("CMSMicroservice.Domain.Entities.UserWallet", "Wallet") + .WithMany("UserWalletChangeLogs") + .HasForeignKey("WalletId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Wallet"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.Package", b => + { + b.Navigation("UserOrders"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.ProductImages", b => + { + b.Navigation("ProductGalleryss"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.Products", b => + { + b.Navigation("FactorDetailss"); + + b.Navigation("ProductGalleryss"); + + b.Navigation("UserCartss"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.Role", b => + { + b.Navigation("UserRoles"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.User", b => + { + b.Navigation("UserAddresss"); + + b.Navigation("UserCartss"); + + b.Navigation("UserOrders"); + + b.Navigation("UserRoles"); + + b.Navigation("UserWallets"); + + b.Navigation("Users"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserAddress", b => + { + b.Navigation("UserOrders"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserOrder", b => + { + b.Navigation("FactorDetailss"); + + b.Navigation("Transactionss"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserWallet", b => + { + b.Navigation("UserWalletChangeLogs"); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/src/CMSMicroservice.Infrastructure/Persistence/Migrations/20251112173307_u05.cs b/src/CMSMicroservice.Infrastructure/Persistence/Migrations/20251112173307_u05.cs new file mode 100644 index 0000000..3a37365 --- /dev/null +++ b/src/CMSMicroservice.Infrastructure/Persistence/Migrations/20251112173307_u05.cs @@ -0,0 +1,384 @@ +using System; +using Microsoft.EntityFrameworkCore.Migrations; + +#nullable disable + +namespace CMSMicroservice.Infrastructure.Persistence.Migrations +{ + /// + public partial class u05 : Migration + { + /// + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.AlterColumn( + name: "PaymentStatus", + schema: "CMS", + table: "UserOrders", + type: "int", + nullable: false, + oldClrType: typeof(bool), + oldType: "bit"); + + migrationBuilder.CreateTable( + name: "ProductImagess", + schema: "CMS", + columns: table => new + { + Id = table.Column(type: "bigint", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + Title = table.Column(type: "nvarchar(max)", nullable: false), + ImagePath = table.Column(type: "nvarchar(max)", nullable: false), + ImageThumbnailPath = table.Column(type: "nvarchar(max)", nullable: false), + Created = table.Column(type: "datetime2", nullable: false), + CreatedBy = table.Column(type: "nvarchar(max)", nullable: true), + LastModified = table.Column(type: "datetime2", nullable: true), + LastModifiedBy = table.Column(type: "nvarchar(max)", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_ProductImagess", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "Productss", + schema: "CMS", + columns: table => new + { + Id = table.Column(type: "bigint", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + Title = table.Column(type: "nvarchar(max)", nullable: false), + Description = table.Column(type: "nvarchar(max)", nullable: false), + ShortInfomation = table.Column(type: "nvarchar(max)", nullable: false), + FullInformation = table.Column(type: "nvarchar(max)", nullable: false), + Price = table.Column(type: "bigint", nullable: false), + Discount = table.Column(type: "int", nullable: false), + Rate = table.Column(type: "int", nullable: false), + ImagePath = table.Column(type: "nvarchar(max)", nullable: false), + ThumbnailPath = table.Column(type: "nvarchar(max)", nullable: false), + SaleCount = table.Column(type: "int", nullable: false), + ViewCount = table.Column(type: "int", nullable: false), + RemainingCount = table.Column(type: "int", nullable: false), + Created = table.Column(type: "datetime2", nullable: false), + CreatedBy = table.Column(type: "nvarchar(max)", nullable: true), + LastModified = table.Column(type: "datetime2", nullable: true), + LastModifiedBy = table.Column(type: "nvarchar(max)", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_Productss", x => x.Id); + }); + + migrationBuilder.CreateTable( + name: "Transactionss", + schema: "CMS", + columns: table => new + { + Id = table.Column(type: "bigint", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + MerchantId = table.Column(type: "nvarchar(max)", nullable: false), + Amount = table.Column(type: "bigint", nullable: false), + CallbackUrl = table.Column(type: "nvarchar(max)", nullable: false), + Description = table.Column(type: "nvarchar(max)", nullable: false), + Mobile = table.Column(type: "nvarchar(max)", nullable: true), + Email = table.Column(type: "nvarchar(max)", nullable: true), + RequestStatusCode = table.Column(type: "int", nullable: true), + RequestStatusMessage = table.Column(type: "nvarchar(max)", nullable: true), + Authority = table.Column(type: "nvarchar(max)", nullable: true), + FeeType = table.Column(type: "nvarchar(max)", nullable: true), + Fee = table.Column(type: "bigint", nullable: true), + Currency = table.Column(type: "int", nullable: true), + PaymentStatus = table.Column(type: "int", nullable: false), + PaymentDate = table.Column(type: "datetime2", nullable: true), + VerificationStatusCode = table.Column(type: "int", nullable: true), + VerificationStatusMessage = table.Column(type: "nvarchar(max)", nullable: true), + CardHash = table.Column(type: "nvarchar(max)", nullable: true), + CardPan = table.Column(type: "nvarchar(max)", nullable: true), + RefId = table.Column(type: "nvarchar(max)", nullable: true), + OrderId = table.Column(type: "bigint", nullable: true), + Type = table.Column(type: "int", nullable: false), + Created = table.Column(type: "datetime2", nullable: false), + CreatedBy = table.Column(type: "nvarchar(max)", nullable: true), + LastModified = table.Column(type: "datetime2", nullable: true), + LastModifiedBy = table.Column(type: "nvarchar(max)", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_Transactionss", x => x.Id); + table.ForeignKey( + name: "FK_Transactionss_UserOrders_OrderId", + column: x => x.OrderId, + principalSchema: "CMS", + principalTable: "UserOrders", + principalColumn: "Id"); + }); + + migrationBuilder.CreateTable( + name: "UserWallets", + schema: "CMS", + columns: table => new + { + Id = table.Column(type: "bigint", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + UserId = table.Column(type: "bigint", nullable: false), + Balance = table.Column(type: "bigint", nullable: false), + Created = table.Column(type: "datetime2", nullable: false), + CreatedBy = table.Column(type: "nvarchar(max)", nullable: true), + LastModified = table.Column(type: "datetime2", nullable: true), + LastModifiedBy = table.Column(type: "nvarchar(max)", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_UserWallets", x => x.Id); + table.ForeignKey( + name: "FK_UserWallets_Users_UserId", + column: x => x.UserId, + principalSchema: "CMS", + principalTable: "Users", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateTable( + name: "FactorDetailss", + schema: "CMS", + columns: table => new + { + Id = table.Column(type: "bigint", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + ProductId = table.Column(type: "bigint", nullable: false), + Count = table.Column(type: "int", nullable: false), + UnitPrice = table.Column(type: "bigint", nullable: false), + UnitDiscount = table.Column(type: "int", nullable: false), + OrderId = table.Column(type: "bigint", nullable: false), + UnitDiscountPrice = table.Column(type: "bigint", nullable: false), + IsChangePrice = table.Column(type: "bit", nullable: false), + Created = table.Column(type: "datetime2", nullable: false), + CreatedBy = table.Column(type: "nvarchar(max)", nullable: true), + LastModified = table.Column(type: "datetime2", nullable: true), + LastModifiedBy = table.Column(type: "nvarchar(max)", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_FactorDetailss", x => x.Id); + table.ForeignKey( + name: "FK_FactorDetailss_Productss_ProductId", + column: x => x.ProductId, + principalSchema: "CMS", + principalTable: "Productss", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + table.ForeignKey( + name: "FK_FactorDetailss_UserOrders_OrderId", + column: x => x.OrderId, + principalSchema: "CMS", + principalTable: "UserOrders", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateTable( + name: "ProductGalleryss", + schema: "CMS", + columns: table => new + { + Id = table.Column(type: "bigint", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + ProductImageId = table.Column(type: "bigint", nullable: false), + ProductId = table.Column(type: "bigint", nullable: false), + Created = table.Column(type: "datetime2", nullable: false), + CreatedBy = table.Column(type: "nvarchar(max)", nullable: true), + LastModified = table.Column(type: "datetime2", nullable: true), + LastModifiedBy = table.Column(type: "nvarchar(max)", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_ProductGalleryss", x => x.Id); + table.ForeignKey( + name: "FK_ProductGalleryss_ProductImagess_ProductImageId", + column: x => x.ProductImageId, + principalSchema: "CMS", + principalTable: "ProductImagess", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + table.ForeignKey( + name: "FK_ProductGalleryss_Productss_ProductId", + column: x => x.ProductId, + principalSchema: "CMS", + principalTable: "Productss", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateTable( + name: "UserCartss", + schema: "CMS", + columns: table => new + { + Id = table.Column(type: "bigint", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + ProductId = table.Column(type: "bigint", nullable: false), + UserId = table.Column(type: "bigint", nullable: false), + Count = table.Column(type: "int", nullable: false), + Created = table.Column(type: "datetime2", nullable: false), + CreatedBy = table.Column(type: "nvarchar(max)", nullable: true), + LastModified = table.Column(type: "datetime2", nullable: true), + LastModifiedBy = table.Column(type: "nvarchar(max)", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_UserCartss", x => x.Id); + table.ForeignKey( + name: "FK_UserCartss_Productss_ProductId", + column: x => x.ProductId, + principalSchema: "CMS", + principalTable: "Productss", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + table.ForeignKey( + name: "FK_UserCartss_Users_UserId", + column: x => x.UserId, + principalSchema: "CMS", + principalTable: "Users", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateTable( + name: "UserWalletChangeLogs", + schema: "CMS", + columns: table => new + { + Id = table.Column(type: "bigint", nullable: false) + .Annotation("SqlServer:Identity", "1, 1"), + WalletId = table.Column(type: "bigint", nullable: false), + CurrentBalance = table.Column(type: "bigint", nullable: false), + ChangeValue = table.Column(type: "bigint", nullable: false), + IsIncrease = table.Column(type: "bit", nullable: false), + RefrenceId = table.Column(type: "bigint", nullable: true), + Created = table.Column(type: "datetime2", nullable: false), + CreatedBy = table.Column(type: "nvarchar(max)", nullable: true), + LastModified = table.Column(type: "datetime2", nullable: true), + LastModifiedBy = table.Column(type: "nvarchar(max)", nullable: true), + IsDeleted = table.Column(type: "bit", nullable: false) + }, + constraints: table => + { + table.PrimaryKey("PK_UserWalletChangeLogs", x => x.Id); + table.ForeignKey( + name: "FK_UserWalletChangeLogs_UserWallets_WalletId", + column: x => x.WalletId, + principalSchema: "CMS", + principalTable: "UserWallets", + principalColumn: "Id", + onDelete: ReferentialAction.Cascade); + }); + + migrationBuilder.CreateIndex( + name: "IX_FactorDetailss_OrderId", + schema: "CMS", + table: "FactorDetailss", + column: "OrderId"); + + migrationBuilder.CreateIndex( + name: "IX_FactorDetailss_ProductId", + schema: "CMS", + table: "FactorDetailss", + column: "ProductId"); + + migrationBuilder.CreateIndex( + name: "IX_ProductGalleryss_ProductId", + schema: "CMS", + table: "ProductGalleryss", + column: "ProductId"); + + migrationBuilder.CreateIndex( + name: "IX_ProductGalleryss_ProductImageId", + schema: "CMS", + table: "ProductGalleryss", + column: "ProductImageId"); + + migrationBuilder.CreateIndex( + name: "IX_Transactionss_OrderId", + schema: "CMS", + table: "Transactionss", + column: "OrderId"); + + migrationBuilder.CreateIndex( + name: "IX_UserCartss_ProductId", + schema: "CMS", + table: "UserCartss", + column: "ProductId"); + + migrationBuilder.CreateIndex( + name: "IX_UserCartss_UserId", + schema: "CMS", + table: "UserCartss", + column: "UserId"); + + migrationBuilder.CreateIndex( + name: "IX_UserWalletChangeLogs_WalletId", + schema: "CMS", + table: "UserWalletChangeLogs", + column: "WalletId"); + + migrationBuilder.CreateIndex( + name: "IX_UserWallets_UserId", + schema: "CMS", + table: "UserWallets", + column: "UserId"); + } + + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropTable( + name: "FactorDetailss", + schema: "CMS"); + + migrationBuilder.DropTable( + name: "ProductGalleryss", + schema: "CMS"); + + migrationBuilder.DropTable( + name: "Transactionss", + schema: "CMS"); + + migrationBuilder.DropTable( + name: "UserCartss", + schema: "CMS"); + + migrationBuilder.DropTable( + name: "UserWalletChangeLogs", + schema: "CMS"); + + migrationBuilder.DropTable( + name: "ProductImagess", + schema: "CMS"); + + migrationBuilder.DropTable( + name: "Productss", + schema: "CMS"); + + migrationBuilder.DropTable( + name: "UserWallets", + schema: "CMS"); + + migrationBuilder.AlterColumn( + name: "PaymentStatus", + schema: "CMS", + table: "UserOrders", + type: "bit", + nullable: false, + oldClrType: typeof(int), + oldType: "int"); + } + } +} diff --git a/src/CMSMicroservice.Infrastructure/Persistence/Migrations/20251112201503_u06.Designer.cs b/src/CMSMicroservice.Infrastructure/Persistence/Migrations/20251112201503_u06.Designer.cs new file mode 100644 index 0000000..1e828eb --- /dev/null +++ b/src/CMSMicroservice.Infrastructure/Persistence/Migrations/20251112201503_u06.Designer.cs @@ -0,0 +1,1012 @@ +// +using System; +using CMSMicroservice.Infrastructure.Persistence; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Metadata; +using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; + +#nullable disable + +namespace CMSMicroservice.Infrastructure.Persistence.Migrations +{ + [DbContext(typeof(ApplicationDbContext))] + [Migration("20251112201503_u06")] + partial class u06 + { + /// + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasDefaultSchema("CMS") + .HasAnnotation("ProductVersion", "9.0.11") + .HasAnnotation("Relational:MaxIdentifierLength", 128); + + SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.FactorDetails", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Count") + .HasColumnType("int"); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("IsChangePrice") + .HasColumnType("bit"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("OrderId") + .HasColumnType("bigint"); + + b.Property("ProductId") + .HasColumnType("bigint"); + + b.Property("UnitDiscount") + .HasColumnType("int"); + + b.Property("UnitDiscountPrice") + .HasColumnType("bigint"); + + b.Property("UnitPrice") + .HasColumnType("bigint"); + + b.HasKey("Id"); + + b.HasIndex("OrderId"); + + b.HasIndex("ProductId"); + + b.ToTable("FactorDetailss", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.OtpToken", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Attempts") + .HasColumnType("int"); + + b.Property("CodeHash") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("ExpiresAt") + .HasColumnType("datetime2"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("IsUsed") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("Mobile") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Purpose") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.ToTable("OtpTokens", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.Package", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("Description") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("ImagePath") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("Price") + .HasColumnType("bigint"); + + b.Property("Title") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.ToTable("Packages", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.ProductGallerys", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("ProductId") + .HasColumnType("bigint"); + + b.Property("ProductImageId") + .HasColumnType("bigint"); + + b.HasKey("Id"); + + b.HasIndex("ProductId"); + + b.HasIndex("ProductImageId"); + + b.ToTable("ProductGalleryss", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.ProductImages", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("ImagePath") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("ImageThumbnailPath") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("Title") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.ToTable("ProductImagess", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.Products", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("Description") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Discount") + .HasColumnType("int"); + + b.Property("FullInformation") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("ImagePath") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("Price") + .HasColumnType("bigint"); + + b.Property("Rate") + .HasColumnType("int"); + + b.Property("RemainingCount") + .HasColumnType("int"); + + b.Property("SaleCount") + .HasColumnType("int"); + + b.Property("ShortInfomation") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("ThumbnailPath") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Title") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("ViewCount") + .HasColumnType("int"); + + b.HasKey("Id"); + + b.ToTable("Productss", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.Role", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("Name") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Title") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.ToTable("Roles", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.Transactions", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Amount") + .HasColumnType("bigint"); + + b.Property("Authority") + .HasColumnType("nvarchar(max)"); + + b.Property("CallbackUrl") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("CardHash") + .HasColumnType("nvarchar(max)"); + + b.Property("CardPan") + .HasColumnType("nvarchar(max)"); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("Currency") + .HasColumnType("int"); + + b.Property("Description") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Email") + .HasColumnType("nvarchar(max)"); + + b.Property("Fee") + .HasColumnType("bigint"); + + b.Property("FeeType") + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("MerchantId") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Mobile") + .HasColumnType("nvarchar(max)"); + + b.Property("OrderId") + .HasColumnType("bigint"); + + b.Property("PaymentDate") + .HasColumnType("datetime2"); + + b.Property("PaymentStatus") + .HasColumnType("int"); + + b.Property("RefId") + .HasColumnType("nvarchar(max)"); + + b.Property("RequestStatusCode") + .HasColumnType("int"); + + b.Property("RequestStatusMessage") + .HasColumnType("nvarchar(max)"); + + b.Property("Type") + .HasColumnType("int"); + + b.Property("VerificationStatusCode") + .HasColumnType("int"); + + b.Property("VerificationStatusMessage") + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.HasIndex("OrderId"); + + b.ToTable("Transactionss", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.User", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("AvatarPath") + .HasColumnType("nvarchar(max)"); + + b.Property("BirthDate") + .HasColumnType("datetime2"); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("EmailNotifications") + .HasColumnType("bit"); + + b.Property("FirstName") + .HasColumnType("nvarchar(max)"); + + b.Property("HashPassword") + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("IsMobileVerified") + .HasColumnType("bit"); + + b.Property("IsRulesAccepted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("LastName") + .HasColumnType("nvarchar(max)"); + + b.Property("Mobile") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("MobileVerifiedAt") + .HasColumnType("datetime2"); + + b.Property("NationalCode") + .HasColumnType("nvarchar(max)"); + + b.Property("ParentId") + .HasColumnType("bigint"); + + b.Property("PushNotifications") + .HasColumnType("bit"); + + b.Property("ReferralCode") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("RulesAcceptedAt") + .HasColumnType("datetime2"); + + b.Property("SmsNotifications") + .HasColumnType("bit"); + + b.HasKey("Id"); + + b.HasIndex("ParentId"); + + b.ToTable("Users", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserAddress", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Address") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("CityId") + .HasColumnType("bigint"); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("IsDefault") + .HasColumnType("bit"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("PostalCode") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Title") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("UserId") + .HasColumnType("bigint"); + + b.HasKey("Id"); + + b.HasIndex("UserId"); + + b.ToTable("UserAddresss", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserCarts", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Count") + .HasColumnType("int"); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("ProductId") + .HasColumnType("bigint"); + + b.Property("UserId") + .HasColumnType("bigint"); + + b.HasKey("Id"); + + b.HasIndex("ProductId"); + + b.HasIndex("UserId"); + + b.ToTable("UserCartss", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserOrder", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("PackageId") + .HasColumnType("bigint"); + + b.Property("PaymentDate") + .HasColumnType("datetime2"); + + b.Property("PaymentStatus") + .HasColumnType("int"); + + b.Property("Price") + .HasColumnType("bigint"); + + b.Property("TransactionId") + .HasColumnType("bigint"); + + b.Property("UserAddressId") + .HasColumnType("bigint"); + + b.Property("UserId") + .HasColumnType("bigint"); + + b.HasKey("Id"); + + b.HasIndex("PackageId"); + + b.HasIndex("UserAddressId"); + + b.HasIndex("UserId"); + + b.ToTable("UserOrders", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserRole", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("RoleId") + .HasColumnType("bigint"); + + b.Property("UserId") + .HasColumnType("bigint"); + + b.HasKey("Id"); + + b.HasIndex("RoleId"); + + b.HasIndex("UserId"); + + b.ToTable("UserRoles", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserWallet", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Balance") + .HasColumnType("bigint"); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("UserId") + .HasColumnType("bigint"); + + b.HasKey("Id"); + + b.HasIndex("UserId"); + + b.ToTable("UserWallets", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserWalletChangeLog", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("ChangeValue") + .HasColumnType("bigint"); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("CurrentBalance") + .HasColumnType("bigint"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("IsIncrease") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("RefrenceId") + .HasColumnType("bigint"); + + b.Property("WalletId") + .HasColumnType("bigint"); + + b.HasKey("Id"); + + b.HasIndex("WalletId"); + + b.ToTable("UserWalletChangeLogs", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.FactorDetails", b => + { + b.HasOne("CMSMicroservice.Domain.Entities.UserOrder", "Order") + .WithMany("FactorDetailss") + .HasForeignKey("OrderId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("CMSMicroservice.Domain.Entities.Products", "Product") + .WithMany("FactorDetailss") + .HasForeignKey("ProductId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Order"); + + b.Navigation("Product"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.ProductGallerys", b => + { + b.HasOne("CMSMicroservice.Domain.Entities.Products", "Product") + .WithMany("ProductGalleryss") + .HasForeignKey("ProductId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("CMSMicroservice.Domain.Entities.ProductImages", "ProductImage") + .WithMany("ProductGalleryss") + .HasForeignKey("ProductImageId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Product"); + + b.Navigation("ProductImage"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.Transactions", b => + { + b.HasOne("CMSMicroservice.Domain.Entities.UserOrder", "Order") + .WithMany("Transactionss") + .HasForeignKey("OrderId"); + + b.Navigation("Order"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.User", b => + { + b.HasOne("CMSMicroservice.Domain.Entities.User", "Parent") + .WithMany("Users") + .HasForeignKey("ParentId"); + + b.Navigation("Parent"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserAddress", b => + { + b.HasOne("CMSMicroservice.Domain.Entities.User", "User") + .WithMany("UserAddresss") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("User"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserCarts", b => + { + b.HasOne("CMSMicroservice.Domain.Entities.Products", "Product") + .WithMany("UserCartss") + .HasForeignKey("ProductId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("CMSMicroservice.Domain.Entities.User", "User") + .WithMany("UserCartss") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Product"); + + b.Navigation("User"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserOrder", b => + { + b.HasOne("CMSMicroservice.Domain.Entities.Package", "Package") + .WithMany("UserOrders") + .HasForeignKey("PackageId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("CMSMicroservice.Domain.Entities.UserAddress", "UserAddress") + .WithMany("UserOrders") + .HasForeignKey("UserAddressId") + .OnDelete(DeleteBehavior.Restrict) + .IsRequired(); + + b.HasOne("CMSMicroservice.Domain.Entities.User", "User") + .WithMany("UserOrders") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Package"); + + b.Navigation("User"); + + b.Navigation("UserAddress"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserRole", b => + { + b.HasOne("CMSMicroservice.Domain.Entities.Role", "Role") + .WithMany("UserRoles") + .HasForeignKey("RoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("CMSMicroservice.Domain.Entities.User", "User") + .WithMany("UserRoles") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Role"); + + b.Navigation("User"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserWallet", b => + { + b.HasOne("CMSMicroservice.Domain.Entities.User", "User") + .WithMany("UserWallets") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("User"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserWalletChangeLog", b => + { + b.HasOne("CMSMicroservice.Domain.Entities.UserWallet", "Wallet") + .WithMany("UserWalletChangeLogs") + .HasForeignKey("WalletId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Wallet"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.Package", b => + { + b.Navigation("UserOrders"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.ProductImages", b => + { + b.Navigation("ProductGalleryss"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.Products", b => + { + b.Navigation("FactorDetailss"); + + b.Navigation("ProductGalleryss"); + + b.Navigation("UserCartss"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.Role", b => + { + b.Navigation("UserRoles"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.User", b => + { + b.Navigation("UserAddresss"); + + b.Navigation("UserCartss"); + + b.Navigation("UserOrders"); + + b.Navigation("UserRoles"); + + b.Navigation("UserWallets"); + + b.Navigation("Users"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserAddress", b => + { + b.Navigation("UserOrders"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserOrder", b => + { + b.Navigation("FactorDetailss"); + + b.Navigation("Transactionss"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserWallet", b => + { + b.Navigation("UserWalletChangeLogs"); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/src/CMSMicroservice.Infrastructure/Persistence/Migrations/20251112201503_u06.cs b/src/CMSMicroservice.Infrastructure/Persistence/Migrations/20251112201503_u06.cs new file mode 100644 index 0000000..0131f52 --- /dev/null +++ b/src/CMSMicroservice.Infrastructure/Persistence/Migrations/20251112201503_u06.cs @@ -0,0 +1,30 @@ +using Microsoft.EntityFrameworkCore.Migrations; + +#nullable disable + +namespace CMSMicroservice.Infrastructure.Persistence.Migrations +{ + /// + public partial class u06 : Migration + { + /// + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.AddColumn( + name: "HashPassword", + schema: "CMS", + table: "Users", + type: "nvarchar(max)", + nullable: true); + } + + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropColumn( + name: "HashPassword", + schema: "CMS", + table: "Users"); + } + } +} diff --git a/src/CMSMicroservice.Infrastructure/Persistence/Migrations/ApplicationDbContextModelSnapshot.cs b/src/CMSMicroservice.Infrastructure/Persistence/Migrations/ApplicationDbContextModelSnapshot.cs index a3d25cf..f84e914 100644 --- a/src/CMSMicroservice.Infrastructure/Persistence/Migrations/ApplicationDbContextModelSnapshot.cs +++ b/src/CMSMicroservice.Infrastructure/Persistence/Migrations/ApplicationDbContextModelSnapshot.cs @@ -18,11 +18,64 @@ namespace CMSMicroservice.Infrastructure.Persistence.Migrations #pragma warning disable 612, 618 modelBuilder .HasDefaultSchema("CMS") - .HasAnnotation("ProductVersion", "7.0.0") + .HasAnnotation("ProductVersion", "9.0.11") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); + modelBuilder.Entity("CMSMicroservice.Domain.Entities.FactorDetails", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Count") + .HasColumnType("int"); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("IsChangePrice") + .HasColumnType("bit"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("OrderId") + .HasColumnType("bigint"); + + b.Property("ProductId") + .HasColumnType("bigint"); + + b.Property("UnitDiscount") + .HasColumnType("int"); + + b.Property("UnitDiscountPrice") + .HasColumnType("bigint"); + + b.Property("UnitPrice") + .HasColumnType("bigint"); + + b.HasKey("Id"); + + b.HasIndex("OrderId"); + + b.HasIndex("ProductId"); + + b.ToTable("FactorDetailss", "CMS"); + }); + modelBuilder.Entity("CMSMicroservice.Domain.Entities.OtpToken", b => { b.Property("Id") @@ -115,6 +168,154 @@ namespace CMSMicroservice.Infrastructure.Persistence.Migrations b.ToTable("Packages", "CMS"); }); + modelBuilder.Entity("CMSMicroservice.Domain.Entities.ProductGallerys", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("ProductId") + .HasColumnType("bigint"); + + b.Property("ProductImageId") + .HasColumnType("bigint"); + + b.HasKey("Id"); + + b.HasIndex("ProductId"); + + b.HasIndex("ProductImageId"); + + b.ToTable("ProductGalleryss", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.ProductImages", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("ImagePath") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("ImageThumbnailPath") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("Title") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.ToTable("ProductImagess", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.Products", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("Description") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Discount") + .HasColumnType("int"); + + b.Property("FullInformation") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("ImagePath") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("Price") + .HasColumnType("bigint"); + + b.Property("Rate") + .HasColumnType("int"); + + b.Property("RemainingCount") + .HasColumnType("int"); + + b.Property("SaleCount") + .HasColumnType("int"); + + b.Property("ShortInfomation") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("ThumbnailPath") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Title") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("ViewCount") + .HasColumnType("int"); + + b.HasKey("Id"); + + b.ToTable("Productss", "CMS"); + }); + modelBuilder.Entity("CMSMicroservice.Domain.Entities.Role", b => { b.Property("Id") @@ -151,6 +352,102 @@ namespace CMSMicroservice.Infrastructure.Persistence.Migrations b.ToTable("Roles", "CMS"); }); + modelBuilder.Entity("CMSMicroservice.Domain.Entities.Transactions", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Amount") + .HasColumnType("bigint"); + + b.Property("Authority") + .HasColumnType("nvarchar(max)"); + + b.Property("CallbackUrl") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("CardHash") + .HasColumnType("nvarchar(max)"); + + b.Property("CardPan") + .HasColumnType("nvarchar(max)"); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("Currency") + .HasColumnType("int"); + + b.Property("Description") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Email") + .HasColumnType("nvarchar(max)"); + + b.Property("Fee") + .HasColumnType("bigint"); + + b.Property("FeeType") + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("MerchantId") + .IsRequired() + .HasColumnType("nvarchar(max)"); + + b.Property("Mobile") + .HasColumnType("nvarchar(max)"); + + b.Property("OrderId") + .HasColumnType("bigint"); + + b.Property("PaymentDate") + .HasColumnType("datetime2"); + + b.Property("PaymentStatus") + .HasColumnType("int"); + + b.Property("RefId") + .HasColumnType("nvarchar(max)"); + + b.Property("RequestStatusCode") + .HasColumnType("int"); + + b.Property("RequestStatusMessage") + .HasColumnType("nvarchar(max)"); + + b.Property("Type") + .HasColumnType("int"); + + b.Property("VerificationStatusCode") + .HasColumnType("int"); + + b.Property("VerificationStatusMessage") + .HasColumnType("nvarchar(max)"); + + b.HasKey("Id"); + + b.HasIndex("OrderId"); + + b.ToTable("Transactionss", "CMS"); + }); + modelBuilder.Entity("CMSMicroservice.Domain.Entities.User", b => { b.Property("Id") @@ -177,6 +474,9 @@ namespace CMSMicroservice.Infrastructure.Persistence.Migrations b.Property("FirstName") .HasColumnType("nvarchar(max)"); + b.Property("HashPassword") + .HasColumnType("nvarchar(max)"); + b.Property("IsDeleted") .HasColumnType("bit"); @@ -279,6 +579,47 @@ namespace CMSMicroservice.Infrastructure.Persistence.Migrations b.ToTable("UserAddresss", "CMS"); }); + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserCarts", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Count") + .HasColumnType("int"); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("ProductId") + .HasColumnType("bigint"); + + b.Property("UserId") + .HasColumnType("bigint"); + + b.HasKey("Id"); + + b.HasIndex("ProductId"); + + b.HasIndex("UserId"); + + b.ToTable("UserCartss", "CMS"); + }); + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserOrder", b => { b.Property("Id") @@ -308,8 +649,8 @@ namespace CMSMicroservice.Infrastructure.Persistence.Migrations b.Property("PaymentDate") .HasColumnType("datetime2"); - b.Property("PaymentStatus") - .HasColumnType("bit"); + b.Property("PaymentStatus") + .HasColumnType("int"); b.Property("Price") .HasColumnType("bigint"); @@ -372,6 +713,134 @@ namespace CMSMicroservice.Infrastructure.Persistence.Migrations b.ToTable("UserRoles", "CMS"); }); + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserWallet", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("Balance") + .HasColumnType("bigint"); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("UserId") + .HasColumnType("bigint"); + + b.HasKey("Id"); + + b.HasIndex("UserId"); + + b.ToTable("UserWallets", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserWalletChangeLog", b => + { + b.Property("Id") + .ValueGeneratedOnAdd() + .HasColumnType("bigint"); + + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + + b.Property("ChangeValue") + .HasColumnType("bigint"); + + b.Property("Created") + .HasColumnType("datetime2"); + + b.Property("CreatedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("CurrentBalance") + .HasColumnType("bigint"); + + b.Property("IsDeleted") + .HasColumnType("bit"); + + b.Property("IsIncrease") + .HasColumnType("bit"); + + b.Property("LastModified") + .HasColumnType("datetime2"); + + b.Property("LastModifiedBy") + .HasColumnType("nvarchar(max)"); + + b.Property("RefrenceId") + .HasColumnType("bigint"); + + b.Property("WalletId") + .HasColumnType("bigint"); + + b.HasKey("Id"); + + b.HasIndex("WalletId"); + + b.ToTable("UserWalletChangeLogs", "CMS"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.FactorDetails", b => + { + b.HasOne("CMSMicroservice.Domain.Entities.UserOrder", "Order") + .WithMany("FactorDetailss") + .HasForeignKey("OrderId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("CMSMicroservice.Domain.Entities.Products", "Product") + .WithMany("FactorDetailss") + .HasForeignKey("ProductId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Order"); + + b.Navigation("Product"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.ProductGallerys", b => + { + b.HasOne("CMSMicroservice.Domain.Entities.Products", "Product") + .WithMany("ProductGalleryss") + .HasForeignKey("ProductId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("CMSMicroservice.Domain.Entities.ProductImages", "ProductImage") + .WithMany("ProductGalleryss") + .HasForeignKey("ProductImageId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Product"); + + b.Navigation("ProductImage"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.Transactions", b => + { + b.HasOne("CMSMicroservice.Domain.Entities.UserOrder", "Order") + .WithMany("Transactionss") + .HasForeignKey("OrderId"); + + b.Navigation("Order"); + }); + modelBuilder.Entity("CMSMicroservice.Domain.Entities.User", b => { b.HasOne("CMSMicroservice.Domain.Entities.User", "Parent") @@ -392,6 +861,25 @@ namespace CMSMicroservice.Infrastructure.Persistence.Migrations b.Navigation("User"); }); + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserCarts", b => + { + b.HasOne("CMSMicroservice.Domain.Entities.Products", "Product") + .WithMany("UserCartss") + .HasForeignKey("ProductId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("CMSMicroservice.Domain.Entities.User", "User") + .WithMany("UserCartss") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Product"); + + b.Navigation("User"); + }); + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserOrder", b => { b.HasOne("CMSMicroservice.Domain.Entities.Package", "Package") @@ -438,11 +926,47 @@ namespace CMSMicroservice.Infrastructure.Persistence.Migrations b.Navigation("User"); }); + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserWallet", b => + { + b.HasOne("CMSMicroservice.Domain.Entities.User", "User") + .WithMany("UserWallets") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("User"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserWalletChangeLog", b => + { + b.HasOne("CMSMicroservice.Domain.Entities.UserWallet", "Wallet") + .WithMany("UserWalletChangeLogs") + .HasForeignKey("WalletId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.Navigation("Wallet"); + }); + modelBuilder.Entity("CMSMicroservice.Domain.Entities.Package", b => { b.Navigation("UserOrders"); }); + modelBuilder.Entity("CMSMicroservice.Domain.Entities.ProductImages", b => + { + b.Navigation("ProductGalleryss"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.Products", b => + { + b.Navigation("FactorDetailss"); + + b.Navigation("ProductGalleryss"); + + b.Navigation("UserCartss"); + }); + modelBuilder.Entity("CMSMicroservice.Domain.Entities.Role", b => { b.Navigation("UserRoles"); @@ -452,10 +976,14 @@ namespace CMSMicroservice.Infrastructure.Persistence.Migrations { b.Navigation("UserAddresss"); + b.Navigation("UserCartss"); + b.Navigation("UserOrders"); b.Navigation("UserRoles"); + b.Navigation("UserWallets"); + b.Navigation("Users"); }); @@ -463,6 +991,18 @@ namespace CMSMicroservice.Infrastructure.Persistence.Migrations { b.Navigation("UserOrders"); }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserOrder", b => + { + b.Navigation("FactorDetailss"); + + b.Navigation("Transactionss"); + }); + + modelBuilder.Entity("CMSMicroservice.Domain.Entities.UserWallet", b => + { + b.Navigation("UserWalletChangeLogs"); + }); #pragma warning restore 612, 618 } } diff --git a/src/CMSMicroservice.Infrastructure/Services/GenerateJwtTokenService.cs b/src/CMSMicroservice.Infrastructure/Services/GenerateJwtTokenService.cs index 381e15e..ae8bc27 100644 --- a/src/CMSMicroservice.Infrastructure/Services/GenerateJwtTokenService.cs +++ b/src/CMSMicroservice.Infrastructure/Services/GenerateJwtTokenService.cs @@ -17,7 +17,7 @@ public class GenerateJwtTokenService : IGenerateJwtToken _configuration = configuration; } - public async Task GenerateJwtToken(User user) + public async Task GenerateJwtToken(User user,int? expiryDays=null) { var lastModified = user.LastModified ?? user.Created; var claims = new List @@ -51,7 +51,10 @@ public class GenerateJwtTokenService : IGenerateJwtToken var key = new SymmetricSecurityKey(Encoding.UTF8.GetBytes(_configuration["JwtSecurityKey"])); var creds = new SigningCredentials(key, SecurityAlgorithms.HmacSha256); - var expiry = DateTime.Now.AddDays(Convert.ToInt32(_configuration["JwtExpiryInDays"])); + var expiry =expiryDays!=null? + DateTime.Now.AddDays(Convert.ToInt32(expiryDays)) + : + DateTime.Now.AddDays(Convert.ToInt32(_configuration["JwtExpiryInDays"])); var token = new JwtSecurityToken( _configuration["JwtIssuer"], diff --git a/src/CMSMicroservice.Infrastructure/Services/HashService.cs b/src/CMSMicroservice.Infrastructure/Services/HashService.cs new file mode 100644 index 0000000..3aa9cce --- /dev/null +++ b/src/CMSMicroservice.Infrastructure/Services/HashService.cs @@ -0,0 +1,88 @@ +using CMSMicroservice.Application.Common.Interfaces; +using System.Security.Cryptography; +using System.Text; + +namespace CMSMicroservice.Infrastructure.Services; +public class HashService : IHashService +{ + // PBKDF2 parameters + private const int SaltSize = 16; // 128-bit + private const int KeySize = 32; // 256-bit + private const int Iterations = 100_000; // strong enough default + private const string Pbkdf2Prefix = "PBKDF2"; // version marker + + public string ComputeSha256Hex(string input) + { + using var sha = SHA256.Create(); + var bytes = sha.ComputeHash(Encoding.UTF8.GetBytes(input)); + return Convert.ToHexString(bytes); + } + + public bool VerifySha256Hex(string input, string? expectedHexHash) + { + if (string.IsNullOrEmpty(expectedHexHash)) return false; + var actual = ComputeSha256Hex(input); + return actual.Equals(expectedHexHash, StringComparison.OrdinalIgnoreCase); + } + + public string ComputeHmacSha256Hex(string input, string secret) + { + using var h = new HMACSHA256(Encoding.UTF8.GetBytes(secret)); + var hash = h.ComputeHash(Encoding.UTF8.GetBytes(input)); + return Convert.ToHexString(hash); + } + + public bool VerifyHmacSha256Hex(string input, string? expectedHexHash, string secret) + { + if (string.IsNullOrEmpty(expectedHexHash)) return false; + var actual = ComputeHmacSha256Hex(input, secret); + return actual.Equals(expectedHexHash, StringComparison.OrdinalIgnoreCase); + } + + public string HashPassword(string password) + { + // generate salt + Span salt = stackalloc byte[SaltSize]; + RandomNumberGenerator.Fill(salt); + + // derive key + var pbkdf2 = new Rfc2898DeriveBytes(password, salt.ToArray(), Iterations, HashAlgorithmName.SHA256); + var derived = pbkdf2.GetBytes(KeySize); + + // encode: PBKDF2$$$ + return string.Join('$', Pbkdf2Prefix, Iterations.ToString(), Convert.ToBase64String(salt.ToArray()), Convert.ToBase64String(derived)); + } + + public bool VerifyPassword(string password, string? storedHash) + { + if (string.IsNullOrWhiteSpace(storedHash)) return false; + + // legacy: raw SHA-256 hex + if (!storedHash.Contains('$')) + { + return VerifySha256Hex(password, storedHash); + } + + var parts = storedHash.Split('$'); + if (parts.Length != 4 || !string.Equals(parts[0], Pbkdf2Prefix, StringComparison.Ordinal)) + return false; + + if (!int.TryParse(parts[1], out var iterations) || iterations <= 0) return false; + byte[] salt; + byte[] expectedKey; + try + { + salt = Convert.FromBase64String(parts[2]); + expectedKey = Convert.FromBase64String(parts[3]); + } + catch + { + return false; + } + + var pbkdf2 = new Rfc2898DeriveBytes(password, salt, iterations, HashAlgorithmName.SHA256); + var actualKey = pbkdf2.GetBytes(expectedKey.Length); + // fixed-time comparison + return CryptographicOperations.FixedTimeEquals(actualKey, expectedKey); + } +} diff --git a/src/CMSMicroservice.Protobuf/CMSMicroservice.Protobuf.csproj b/src/CMSMicroservice.Protobuf/CMSMicroservice.Protobuf.csproj index 7bde4b6..7598d70 100644 --- a/src/CMSMicroservice.Protobuf/CMSMicroservice.Protobuf.csproj +++ b/src/CMSMicroservice.Protobuf/CMSMicroservice.Protobuf.csproj @@ -1,36 +1,41 @@ - - net7.0 + net9.0 enable enable - 0.0.117 + 0.0.118 None False False Foursat.CMSMicroservice.Protobuf - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + - - - + - + + + + + + + + + + diff --git a/src/CMSMicroservice.Protobuf/Protos/factordetails.proto b/src/CMSMicroservice.Protobuf/Protos/factordetails.proto new file mode 100644 index 0000000..7d9cab2 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Protos/factordetails.proto @@ -0,0 +1,123 @@ +syntax = "proto3"; + +package factordetails; + +import "public_messages.proto"; +import "google/protobuf/empty.proto"; +import "google/protobuf/wrappers.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "CMSMicroservice.Protobuf.Protos.FactorDetails"; + +service FactorDetailsContract +{ + rpc CreateNewFactorDetails(CreateNewFactorDetailsRequest) returns (CreateNewFactorDetailsResponse){ + option (google.api.http) = { + post: "/CreateNewFactorDetails" + body: "*" + }; + }; + rpc UpdateFactorDetails(UpdateFactorDetailsRequest) returns (google.protobuf.Empty){ + option (google.api.http) = { + put: "/UpdateFactorDetails" + body: "*" + }; + }; + rpc DeleteFactorDetails(DeleteFactorDetailsRequest) returns (google.protobuf.Empty){ + option (google.api.http) = { + delete: "/DeleteFactorDetails" + body: "*" + }; + }; + rpc GetFactorDetails(GetFactorDetailsRequest) returns (GetFactorDetailsResponse){ + option (google.api.http) = { + get: "/GetFactorDetails" + + }; + }; + rpc GetAllFactorDetailsByFilter(GetAllFactorDetailsByFilterRequest) returns (GetAllFactorDetailsByFilterResponse){ + option (google.api.http) = { + get: "/GetAllFactorDetailsByFilter" + + }; + }; +} +message CreateNewFactorDetailsRequest +{ + int64 product_id = 1; + int32 count = 2; + int64 unit_price = 3; + int32 unit_discount = 4; + int64 order_id = 5; + int64 unit_discount_price = 6; + bool is_change_price = 7; +} +message CreateNewFactorDetailsResponse +{ + int64 id = 1; +} +message UpdateFactorDetailsRequest +{ + int64 id = 1; + int64 product_id = 2; + int32 count = 3; + int64 unit_price = 4; + int32 unit_discount = 5; + int64 order_id = 6; + int64 unit_discount_price = 7; + bool is_change_price = 8; +} +message DeleteFactorDetailsRequest +{ + int64 id = 1; +} +message GetFactorDetailsRequest +{ + int64 id = 1; +} +message GetFactorDetailsResponse +{ + int64 id = 1; + int64 product_id = 2; + int32 count = 3; + int64 unit_price = 4; + int32 unit_discount = 5; + int64 order_id = 6; + int64 unit_discount_price = 7; + bool is_change_price = 8; +} +message GetAllFactorDetailsByFilterRequest +{ + messages.PaginationState pagination_state = 1; + google.protobuf.StringValue sort_by = 2; + GetAllFactorDetailsByFilterFilter filter = 3; +} +message GetAllFactorDetailsByFilterFilter +{ + google.protobuf.Int64Value id = 1; + google.protobuf.Int64Value product_id = 2; + google.protobuf.Int32Value count = 3; + google.protobuf.Int64Value unit_price = 4; + google.protobuf.Int32Value unit_discount = 5; + google.protobuf.Int64Value order_id = 6; + google.protobuf.Int64Value unit_discount_price = 7; + google.protobuf.BoolValue is_change_price = 8; +} +message GetAllFactorDetailsByFilterResponse +{ + messages.MetaData meta_data = 1; + repeated GetAllFactorDetailsByFilterResponseModel models = 2; +} +message GetAllFactorDetailsByFilterResponseModel +{ + int64 id = 1; + int64 product_id = 2; + int32 count = 3; + int64 unit_price = 4; + int32 unit_discount = 5; + int64 order_id = 6; + int64 unit_discount_price = 7; + bool is_change_price = 8; +} diff --git a/src/CMSMicroservice.Protobuf/Protos/productgallerys.proto b/src/CMSMicroservice.Protobuf/Protos/productgallerys.proto new file mode 100644 index 0000000..1785bad --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Protos/productgallerys.proto @@ -0,0 +1,98 @@ +syntax = "proto3"; + +package productgallerys; + +import "public_messages.proto"; +import "google/protobuf/empty.proto"; +import "google/protobuf/wrappers.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "CMSMicroservice.Protobuf.Protos.ProductGallerys"; + +service ProductGallerysContract +{ + rpc CreateNewProductGallerys(CreateNewProductGallerysRequest) returns (CreateNewProductGallerysResponse){ + option (google.api.http) = { + post: "/CreateNewProductGallerys" + body: "*" + }; + }; + rpc UpdateProductGallerys(UpdateProductGallerysRequest) returns (google.protobuf.Empty){ + option (google.api.http) = { + put: "/UpdateProductGallerys" + body: "*" + }; + }; + rpc DeleteProductGallerys(DeleteProductGallerysRequest) returns (google.protobuf.Empty){ + option (google.api.http) = { + delete: "/DeleteProductGallerys" + body: "*" + }; + }; + rpc GetProductGallerys(GetProductGallerysRequest) returns (GetProductGallerysResponse){ + option (google.api.http) = { + get: "/GetProductGallerys" + + }; + }; + rpc GetAllProductGallerysByFilter(GetAllProductGallerysByFilterRequest) returns (GetAllProductGallerysByFilterResponse){ + option (google.api.http) = { + get: "/GetAllProductGallerysByFilter" + + }; + }; +} +message CreateNewProductGallerysRequest +{ + int64 product_image_id = 1; + int64 product_id = 2; +} +message CreateNewProductGallerysResponse +{ + int64 id = 1; +} +message UpdateProductGallerysRequest +{ + int64 id = 1; + int64 product_image_id = 2; + int64 product_id = 3; +} +message DeleteProductGallerysRequest +{ + int64 id = 1; +} +message GetProductGallerysRequest +{ + int64 id = 1; +} +message GetProductGallerysResponse +{ + int64 id = 1; + int64 product_image_id = 2; + int64 product_id = 3; +} +message GetAllProductGallerysByFilterRequest +{ + messages.PaginationState pagination_state = 1; + google.protobuf.StringValue sort_by = 2; + GetAllProductGallerysByFilterFilter filter = 3; +} +message GetAllProductGallerysByFilterFilter +{ + google.protobuf.Int64Value id = 1; + google.protobuf.Int64Value product_image_id = 2; + google.protobuf.Int64Value product_id = 3; +} +message GetAllProductGallerysByFilterResponse +{ + messages.MetaData meta_data = 1; + repeated GetAllProductGallerysByFilterResponseModel models = 2; +} +message GetAllProductGallerysByFilterResponseModel +{ + int64 id = 1; + int64 product_image_id = 2; + int64 product_id = 3; +} diff --git a/src/CMSMicroservice.Protobuf/Protos/productimages.proto b/src/CMSMicroservice.Protobuf/Protos/productimages.proto new file mode 100644 index 0000000..a7db919 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Protos/productimages.proto @@ -0,0 +1,103 @@ +syntax = "proto3"; + +package productimages; + +import "public_messages.proto"; +import "google/protobuf/empty.proto"; +import "google/protobuf/wrappers.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "CMSMicroservice.Protobuf.Protos.ProductImages"; + +service ProductImagesContract +{ + rpc CreateNewProductImages(CreateNewProductImagesRequest) returns (CreateNewProductImagesResponse){ + option (google.api.http) = { + post: "/CreateNewProductImages" + body: "*" + }; + }; + rpc UpdateProductImages(UpdateProductImagesRequest) returns (google.protobuf.Empty){ + option (google.api.http) = { + put: "/UpdateProductImages" + body: "*" + }; + }; + rpc DeleteProductImages(DeleteProductImagesRequest) returns (google.protobuf.Empty){ + option (google.api.http) = { + delete: "/DeleteProductImages" + body: "*" + }; + }; + rpc GetProductImages(GetProductImagesRequest) returns (GetProductImagesResponse){ + option (google.api.http) = { + get: "/GetProductImages" + + }; + }; + rpc GetAllProductImagesByFilter(GetAllProductImagesByFilterRequest) returns (GetAllProductImagesByFilterResponse){ + option (google.api.http) = { + get: "/GetAllProductImagesByFilter" + + }; + }; +} +message CreateNewProductImagesRequest +{ + string title = 1; + string image_path = 2; + string image_thumbnail_path = 3; +} +message CreateNewProductImagesResponse +{ + int64 id = 1; +} +message UpdateProductImagesRequest +{ + int64 id = 1; + string title = 2; + string image_path = 3; + string image_thumbnail_path = 4; +} +message DeleteProductImagesRequest +{ + int64 id = 1; +} +message GetProductImagesRequest +{ + int64 id = 1; +} +message GetProductImagesResponse +{ + int64 id = 1; + string title = 2; + string image_path = 3; + string image_thumbnail_path = 4; +} +message GetAllProductImagesByFilterRequest +{ + messages.PaginationState pagination_state = 1; + google.protobuf.StringValue sort_by = 2; + GetAllProductImagesByFilterFilter filter = 3; +} +message GetAllProductImagesByFilterFilter +{ + google.protobuf.Int64Value id = 1; + google.protobuf.StringValue title = 2; + google.protobuf.StringValue image_path = 3; + google.protobuf.StringValue image_thumbnail_path = 4; +} +message GetAllProductImagesByFilterResponse +{ + messages.MetaData meta_data = 1; + repeated GetAllProductImagesByFilterResponseModel models = 2; +} +message GetAllProductImagesByFilterResponseModel +{ + int64 id = 1; + string title = 2; + string image_path = 3; + string image_thumbnail_path = 4; +} diff --git a/src/CMSMicroservice.Protobuf/Protos/products.proto b/src/CMSMicroservice.Protobuf/Protos/products.proto new file mode 100644 index 0000000..fab3a5d --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Protos/products.proto @@ -0,0 +1,148 @@ +syntax = "proto3"; + +package products; + +import "public_messages.proto"; +import "google/protobuf/empty.proto"; +import "google/protobuf/wrappers.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "CMSMicroservice.Protobuf.Protos.Products"; + +service ProductsContract +{ + rpc CreateNewProducts(CreateNewProductsRequest) returns (CreateNewProductsResponse){ + option (google.api.http) = { + post: "/CreateNewProducts" + body: "*" + }; + }; + rpc UpdateProducts(UpdateProductsRequest) returns (google.protobuf.Empty){ + option (google.api.http) = { + put: "/UpdateProducts" + body: "*" + }; + }; + rpc DeleteProducts(DeleteProductsRequest) returns (google.protobuf.Empty){ + option (google.api.http) = { + delete: "/DeleteProducts" + body: "*" + }; + }; + rpc GetProducts(GetProductsRequest) returns (GetProductsResponse){ + option (google.api.http) = { + get: "/GetProducts" + + }; + }; + rpc GetAllProductsByFilter(GetAllProductsByFilterRequest) returns (GetAllProductsByFilterResponse){ + option (google.api.http) = { + get: "/GetAllProductsByFilter" + + }; + }; +} +message CreateNewProductsRequest +{ + string title = 1; + string description = 2; + string short_infomation = 3; + string full_information = 4; + int64 price = 5; + int32 discount = 6; + int32 rate = 7; + string image_path = 8; + string thumbnail_path = 9; + int32 sale_count = 10; + int32 view_count = 11; + int32 remaining_count = 12; +} +message CreateNewProductsResponse +{ + int64 id = 1; +} +message UpdateProductsRequest +{ + int64 id = 1; + string title = 2; + string description = 3; + string short_infomation = 4; + string full_information = 5; + int64 price = 6; + int32 discount = 7; + int32 rate = 8; + string image_path = 9; + string thumbnail_path = 10; + int32 sale_count = 11; + int32 view_count = 12; + int32 remaining_count = 13; +} +message DeleteProductsRequest +{ + int64 id = 1; +} +message GetProductsRequest +{ + int64 id = 1; +} +message GetProductsResponse +{ + int64 id = 1; + string title = 2; + string description = 3; + string short_infomation = 4; + string full_information = 5; + int64 price = 6; + int32 discount = 7; + int32 rate = 8; + string image_path = 9; + string thumbnail_path = 10; + int32 sale_count = 11; + int32 view_count = 12; + int32 remaining_count = 13; +} +message GetAllProductsByFilterRequest +{ + messages.PaginationState pagination_state = 1; + google.protobuf.StringValue sort_by = 2; + GetAllProductsByFilterFilter filter = 3; +} +message GetAllProductsByFilterFilter +{ + google.protobuf.Int64Value id = 1; + google.protobuf.StringValue title = 2; + google.protobuf.StringValue description = 3; + google.protobuf.StringValue short_infomation = 4; + google.protobuf.StringValue full_information = 5; + google.protobuf.Int64Value price = 6; + google.protobuf.Int32Value discount = 7; + google.protobuf.Int32Value rate = 8; + google.protobuf.StringValue image_path = 9; + google.protobuf.StringValue thumbnail_path = 10; + google.protobuf.Int32Value sale_count = 11; + google.protobuf.Int32Value view_count = 12; + google.protobuf.Int32Value remaining_count = 13; +} +message GetAllProductsByFilterResponse +{ + messages.MetaData meta_data = 1; + repeated GetAllProductsByFilterResponseModel models = 2; +} +message GetAllProductsByFilterResponseModel +{ + int64 id = 1; + string title = 2; + string description = 3; + string short_infomation = 4; + string full_information = 5; + int64 price = 6; + int32 discount = 7; + int32 rate = 8; + string image_path = 9; + string thumbnail_path = 10; + int32 sale_count = 11; + int32 view_count = 12; + int32 remaining_count = 13; +} diff --git a/src/CMSMicroservice.Protobuf/Protos/public_messages.proto b/src/CMSMicroservice.Protobuf/Protos/public_messages.proto index 6b907cb..461b2b7 100644 --- a/src/CMSMicroservice.Protobuf/Protos/public_messages.proto +++ b/src/CMSMicroservice.Protobuf/Protos/public_messages.proto @@ -31,3 +31,16 @@ message DecimalValue sfixed32 nanos = 2; } +enum PaymentStatus +{ + Success = 0; + Reject = 1; + Pending = 2; +} +enum TransactionType +{ + Buy = 0; + DepositIpg = 1; + DepositExternal1 = 2; + Withdraw = 3; +} diff --git a/src/CMSMicroservice.Protobuf/Protos/transactions.proto b/src/CMSMicroservice.Protobuf/Protos/transactions.proto new file mode 100644 index 0000000..8da1042 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Protos/transactions.proto @@ -0,0 +1,223 @@ +syntax = "proto3"; + +package transactions; + +import "public_messages.proto"; +import "google/protobuf/empty.proto"; +import "google/protobuf/wrappers.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "CMSMicroservice.Protobuf.Protos.Transactions"; + +service TransactionsContract +{ + rpc CreateNewTransactions(CreateNewTransactionsRequest) returns (CreateNewTransactionsResponse){ + option (google.api.http) = { + post: "/CreateNewTransactions" + body: "*" + }; + }; + rpc UpdateTransactions(UpdateTransactionsRequest) returns (google.protobuf.Empty){ + option (google.api.http) = { + put: "/UpdateTransactions" + body: "*" + }; + }; + rpc DeleteTransactions(DeleteTransactionsRequest) returns (google.protobuf.Empty){ + option (google.api.http) = { + delete: "/DeleteTransactions" + body: "*" + }; + }; + rpc GetTransactions(GetTransactionsRequest) returns (GetTransactionsResponse){ + option (google.api.http) = { + get: "/GetTransactions" + + }; + }; + rpc GetAllTransactionsByFilter(GetAllTransactionsByFilterRequest) returns (GetAllTransactionsByFilterResponse){ + option (google.api.http) = { + get: "/GetAllTransactionsByFilter" + + }; + }; +} +message CreateNewTransactionsRequest +{ + string merchant_id = 1; + int64 amount = 2; + string callback_url = 3; + string description = 4; + google.protobuf.StringValue mobile = 5; + google.protobuf.StringValue email = 6; + google.protobuf.Int32Value request_status_code = 7; + google.protobuf.StringValue request_status_message = 8; + google.protobuf.StringValue authority = 9; + google.protobuf.StringValue fee_type = 10; + google.protobuf.Int64Value fee = 11; + google.protobuf.Int32Value currency = 12; + oneof PaymentStatus_item + { + messages.PaymentStatus payment_status = 13; + } + google.protobuf.Timestamp payment_date = 14; + google.protobuf.Int32Value verification_status_code = 15; + google.protobuf.StringValue verification_status_message = 16; + google.protobuf.StringValue card_hash = 17; + google.protobuf.StringValue card_pan = 18; + google.protobuf.StringValue ref_id = 19; + google.protobuf.StringValue order_id = 20; + oneof Type_item + { + messages.TransactionType type = 21; + } +} +message CreateNewTransactionsResponse +{ + int64 id = 1; +} +message UpdateTransactionsRequest +{ + int64 id = 1; + string merchant_id = 2; + int64 amount = 3; + string callback_url = 4; + string description = 5; + google.protobuf.StringValue mobile = 6; + google.protobuf.StringValue email = 7; + google.protobuf.Int32Value request_status_code = 8; + google.protobuf.StringValue request_status_message = 9; + google.protobuf.StringValue authority = 10; + google.protobuf.StringValue fee_type = 11; + google.protobuf.Int64Value fee = 12; + google.protobuf.Int32Value currency = 13; + oneof PaymentStatus_item + { + messages.PaymentStatus payment_status = 14; + } + google.protobuf.Timestamp payment_date = 15; + google.protobuf.Int32Value verification_status_code = 16; + google.protobuf.StringValue verification_status_message = 17; + google.protobuf.StringValue card_hash = 18; + google.protobuf.StringValue card_pan = 19; + google.protobuf.StringValue ref_id = 20; + google.protobuf.StringValue order_id = 21; + oneof Type_item + { + messages.TransactionType type = 22; + } +} +message DeleteTransactionsRequest +{ + int64 id = 1; +} +message GetTransactionsRequest +{ + int64 id = 1; +} +message GetTransactionsResponse +{ + int64 id = 1; + string merchant_id = 2; + int64 amount = 3; + string callback_url = 4; + string description = 5; + google.protobuf.StringValue mobile = 6; + google.protobuf.StringValue email = 7; + google.protobuf.Int32Value request_status_code = 8; + google.protobuf.StringValue request_status_message = 9; + google.protobuf.StringValue authority = 10; + google.protobuf.StringValue fee_type = 11; + google.protobuf.Int64Value fee = 12; + google.protobuf.Int32Value currency = 13; + oneof PaymentStatus_item + { + messages.PaymentStatus payment_status = 14; + } + google.protobuf.Timestamp payment_date = 15; + google.protobuf.Int32Value verification_status_code = 16; + google.protobuf.StringValue verification_status_message = 17; + google.protobuf.StringValue card_hash = 18; + google.protobuf.StringValue card_pan = 19; + google.protobuf.StringValue ref_id = 20; + google.protobuf.StringValue order_id = 21; + oneof Type_item + { + messages.TransactionType type = 22; + } +} +message GetAllTransactionsByFilterRequest +{ + messages.PaginationState pagination_state = 1; + google.protobuf.StringValue sort_by = 2; + GetAllTransactionsByFilterFilter filter = 3; +} +message GetAllTransactionsByFilterFilter +{ + google.protobuf.Int64Value id = 1; + google.protobuf.StringValue merchant_id = 2; + google.protobuf.Int64Value amount = 3; + google.protobuf.StringValue callback_url = 4; + google.protobuf.StringValue description = 5; + google.protobuf.StringValue mobile = 6; + google.protobuf.StringValue email = 7; + google.protobuf.Int32Value request_status_code = 8; + google.protobuf.StringValue request_status_message = 9; + google.protobuf.StringValue authority = 10; + google.protobuf.StringValue fee_type = 11; + google.protobuf.Int64Value fee = 12; + google.protobuf.Int32Value currency = 13; + oneof PaymentStatus_item + { + messages.PaymentStatus payment_status = 14; + } + google.protobuf.Timestamp payment_date = 15; + google.protobuf.Int32Value verification_status_code = 16; + google.protobuf.StringValue verification_status_message = 17; + google.protobuf.StringValue card_hash = 18; + google.protobuf.StringValue card_pan = 19; + google.protobuf.StringValue ref_id = 20; + google.protobuf.StringValue order_id = 21; + oneof Type_item + { + messages.TransactionType type = 22; + } +} +message GetAllTransactionsByFilterResponse +{ + messages.MetaData meta_data = 1; + repeated GetAllTransactionsByFilterResponseModel models = 2; +} +message GetAllTransactionsByFilterResponseModel +{ + int64 id = 1; + string merchant_id = 2; + int64 amount = 3; + string callback_url = 4; + string description = 5; + google.protobuf.StringValue mobile = 6; + google.protobuf.StringValue email = 7; + google.protobuf.Int32Value request_status_code = 8; + google.protobuf.StringValue request_status_message = 9; + google.protobuf.StringValue authority = 10; + google.protobuf.StringValue fee_type = 11; + google.protobuf.Int64Value fee = 12; + google.protobuf.Int32Value currency = 13; + oneof PaymentStatus_item + { + messages.PaymentStatus payment_status = 14; + } + google.protobuf.Timestamp payment_date = 15; + google.protobuf.Int32Value verification_status_code = 16; + google.protobuf.StringValue verification_status_message = 17; + google.protobuf.StringValue card_hash = 18; + google.protobuf.StringValue card_pan = 19; + google.protobuf.StringValue ref_id = 20; + google.protobuf.StringValue order_id = 21; + oneof Type_item + { + messages.TransactionType type = 22; + } +} diff --git a/src/CMSMicroservice.Protobuf/Protos/user.proto b/src/CMSMicroservice.Protobuf/Protos/user.proto index 858d39f..88bf61f 100644 --- a/src/CMSMicroservice.Protobuf/Protos/user.proto +++ b/src/CMSMicroservice.Protobuf/Protos/user.proto @@ -49,6 +49,18 @@ service UserContract }; }; + rpc AdminGetJwtToken(AdminGetJwtTokenRequest) returns (AdminGetJwtTokenResponse){ + option (google.api.http) = { + get: "/AdminGetJwtToken" + + }; + }; + rpc SetPasswordForUser(SetPasswordForUserRequest) returns (google.protobuf.Empty){ + option (google.api.http) = { + post: "/SetPasswordForUser" + body: "*" + }; + }; } message CreateNewUserRequest { @@ -159,3 +171,19 @@ message GetJwtTokenResponse { string token = 1; } +message AdminGetJwtTokenRequest +{ + string username = 1; + string password = 2; +} +message AdminGetJwtTokenResponse +{ + string token = 1; +} +message SetPasswordForUserRequest +{ + int64 user_id = 1; + google.protobuf.StringValue current_password = 2; + string new_password = 3; + string confirm_password = 4; +} diff --git a/src/CMSMicroservice.Protobuf/Protos/usercarts.proto b/src/CMSMicroservice.Protobuf/Protos/usercarts.proto new file mode 100644 index 0000000..c0cea84 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Protos/usercarts.proto @@ -0,0 +1,103 @@ +syntax = "proto3"; + +package usercarts; + +import "public_messages.proto"; +import "google/protobuf/empty.proto"; +import "google/protobuf/wrappers.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "CMSMicroservice.Protobuf.Protos.UserCarts"; + +service UserCartsContract +{ + rpc CreateNewUserCarts(CreateNewUserCartsRequest) returns (CreateNewUserCartsResponse){ + option (google.api.http) = { + post: "/CreateNewUserCarts" + body: "*" + }; + }; + rpc UpdateUserCarts(UpdateUserCartsRequest) returns (google.protobuf.Empty){ + option (google.api.http) = { + put: "/UpdateUserCarts" + body: "*" + }; + }; + rpc DeleteUserCarts(DeleteUserCartsRequest) returns (google.protobuf.Empty){ + option (google.api.http) = { + delete: "/DeleteUserCarts" + body: "*" + }; + }; + rpc GetUserCarts(GetUserCartsRequest) returns (GetUserCartsResponse){ + option (google.api.http) = { + get: "/GetUserCarts" + + }; + }; + rpc GetAllUserCartsByFilter(GetAllUserCartsByFilterRequest) returns (GetAllUserCartsByFilterResponse){ + option (google.api.http) = { + get: "/GetAllUserCartsByFilter" + + }; + }; +} +message CreateNewUserCartsRequest +{ + int64 product_id = 1; + int64 user_id = 2; + int32 count = 3; +} +message CreateNewUserCartsResponse +{ + int64 id = 1; +} +message UpdateUserCartsRequest +{ + int64 id = 1; + int64 product_id = 2; + int64 user_id = 3; + int32 count = 4; +} +message DeleteUserCartsRequest +{ + int64 id = 1; +} +message GetUserCartsRequest +{ + int64 id = 1; +} +message GetUserCartsResponse +{ + int64 id = 1; + int64 product_id = 2; + int64 user_id = 3; + int32 count = 4; +} +message GetAllUserCartsByFilterRequest +{ + messages.PaginationState pagination_state = 1; + google.protobuf.StringValue sort_by = 2; + GetAllUserCartsByFilterFilter filter = 3; +} +message GetAllUserCartsByFilterFilter +{ + google.protobuf.Int64Value id = 1; + google.protobuf.Int64Value product_id = 2; + google.protobuf.Int64Value user_id = 3; + google.protobuf.Int32Value count = 4; +} +message GetAllUserCartsByFilterResponse +{ + messages.MetaData meta_data = 1; + repeated GetAllUserCartsByFilterResponseModel models = 2; +} +message GetAllUserCartsByFilterResponseModel +{ + int64 id = 1; + int64 product_id = 2; + int64 user_id = 3; + int32 count = 4; +} diff --git a/src/CMSMicroservice.Protobuf/Protos/userorder.proto b/src/CMSMicroservice.Protobuf/Protos/userorder.proto index b8f64b4..4779505 100644 --- a/src/CMSMicroservice.Protobuf/Protos/userorder.proto +++ b/src/CMSMicroservice.Protobuf/Protos/userorder.proto @@ -100,7 +100,7 @@ message GetAllUserOrderByFilterFilter google.protobuf.Int64Value price = 2; google.protobuf.Int64Value package_id = 3; google.protobuf.Int64Value transaction_id = 4; - google.protobuf.BoolValue payment_status = 5; + google.protobuf.Int32Value payment_status = 5; google.protobuf.Timestamp payment_date = 6; google.protobuf.Int64Value user_id = 7; google.protobuf.Int64Value user_address_id = 8; @@ -116,7 +116,7 @@ message GetAllUserOrderByFilterResponseModel int64 price = 2; int64 package_id = 3; google.protobuf.Int64Value transaction_id = 4; - bool payment_status = 5; + int32 payment_status = 5; google.protobuf.Timestamp payment_date = 6; int64 user_id = 7; int64 user_address_id = 8; diff --git a/src/CMSMicroservice.Protobuf/Protos/userwallet.proto b/src/CMSMicroservice.Protobuf/Protos/userwallet.proto new file mode 100644 index 0000000..73f8736 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Protos/userwallet.proto @@ -0,0 +1,98 @@ +syntax = "proto3"; + +package userwallet; + +import "public_messages.proto"; +import "google/protobuf/empty.proto"; +import "google/protobuf/wrappers.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "CMSMicroservice.Protobuf.Protos.UserWallet"; + +service UserWalletContract +{ + rpc CreateNewUserWallet(CreateNewUserWalletRequest) returns (CreateNewUserWalletResponse){ + option (google.api.http) = { + post: "/CreateNewUserWallet" + body: "*" + }; + }; + rpc UpdateUserWallet(UpdateUserWalletRequest) returns (google.protobuf.Empty){ + option (google.api.http) = { + put: "/UpdateUserWallet" + body: "*" + }; + }; + rpc DeleteUserWallet(DeleteUserWalletRequest) returns (google.protobuf.Empty){ + option (google.api.http) = { + delete: "/DeleteUserWallet" + body: "*" + }; + }; + rpc GetUserWallet(GetUserWalletRequest) returns (GetUserWalletResponse){ + option (google.api.http) = { + get: "/GetUserWallet" + + }; + }; + rpc GetAllUserWalletByFilter(GetAllUserWalletByFilterRequest) returns (GetAllUserWalletByFilterResponse){ + option (google.api.http) = { + get: "/GetAllUserWalletByFilter" + + }; + }; +} +message CreateNewUserWalletRequest +{ + int64 user_id = 1; + int64 balance = 2; +} +message CreateNewUserWalletResponse +{ + int64 id = 1; +} +message UpdateUserWalletRequest +{ + int64 id = 1; + int64 user_id = 2; + int64 balance = 3; +} +message DeleteUserWalletRequest +{ + int64 id = 1; +} +message GetUserWalletRequest +{ + int64 id = 1; +} +message GetUserWalletResponse +{ + int64 id = 1; + int64 user_id = 2; + int64 balance = 3; +} +message GetAllUserWalletByFilterRequest +{ + messages.PaginationState pagination_state = 1; + google.protobuf.StringValue sort_by = 2; + GetAllUserWalletByFilterFilter filter = 3; +} +message GetAllUserWalletByFilterFilter +{ + google.protobuf.Int64Value id = 1; + google.protobuf.Int64Value user_id = 2; + google.protobuf.Int64Value balance = 3; +} +message GetAllUserWalletByFilterResponse +{ + messages.MetaData meta_data = 1; + repeated GetAllUserWalletByFilterResponseModel models = 2; +} +message GetAllUserWalletByFilterResponseModel +{ + int64 id = 1; + int64 user_id = 2; + int64 balance = 3; +} diff --git a/src/CMSMicroservice.Protobuf/Protos/userwalletchangelog.proto b/src/CMSMicroservice.Protobuf/Protos/userwalletchangelog.proto new file mode 100644 index 0000000..c6809ff --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Protos/userwalletchangelog.proto @@ -0,0 +1,113 @@ +syntax = "proto3"; + +package userwalletchangelog; + +import "public_messages.proto"; +import "google/protobuf/empty.proto"; +import "google/protobuf/wrappers.proto"; +import "google/protobuf/duration.proto"; +import "google/protobuf/timestamp.proto"; +import "google/api/annotations.proto"; + +option csharp_namespace = "CMSMicroservice.Protobuf.Protos.UserWalletChangeLog"; + +service UserWalletChangeLogContract +{ + rpc CreateNewUserWalletChangeLog(CreateNewUserWalletChangeLogRequest) returns (CreateNewUserWalletChangeLogResponse){ + option (google.api.http) = { + post: "/CreateNewUserWalletChangeLog" + body: "*" + }; + }; + rpc UpdateUserWalletChangeLog(UpdateUserWalletChangeLogRequest) returns (google.protobuf.Empty){ + option (google.api.http) = { + put: "/UpdateUserWalletChangeLog" + body: "*" + }; + }; + rpc DeleteUserWalletChangeLog(DeleteUserWalletChangeLogRequest) returns (google.protobuf.Empty){ + option (google.api.http) = { + delete: "/DeleteUserWalletChangeLog" + body: "*" + }; + }; + rpc GetUserWalletChangeLog(GetUserWalletChangeLogRequest) returns (GetUserWalletChangeLogResponse){ + option (google.api.http) = { + get: "/GetUserWalletChangeLog" + + }; + }; + rpc GetAllUserWalletChangeLogByFilter(GetAllUserWalletChangeLogByFilterRequest) returns (GetAllUserWalletChangeLogByFilterResponse){ + option (google.api.http) = { + get: "/GetAllUserWalletChangeLogByFilter" + + }; + }; +} +message CreateNewUserWalletChangeLogRequest +{ + int64 wallet_id = 1; + int64 current_balance = 2; + int64 change_value = 3; + bool is_increase = 4; + google.protobuf.Int64Value refrence_id = 5; +} +message CreateNewUserWalletChangeLogResponse +{ + int64 id = 1; +} +message UpdateUserWalletChangeLogRequest +{ + int64 id = 1; + int64 wallet_id = 2; + int64 current_balance = 3; + int64 change_value = 4; + bool is_increase = 5; + google.protobuf.Int64Value refrence_id = 6; +} +message DeleteUserWalletChangeLogRequest +{ + int64 id = 1; +} +message GetUserWalletChangeLogRequest +{ + int64 id = 1; +} +message GetUserWalletChangeLogResponse +{ + int64 id = 1; + int64 wallet_id = 2; + int64 current_balance = 3; + int64 change_value = 4; + bool is_increase = 5; + google.protobuf.Int64Value refrence_id = 6; +} +message GetAllUserWalletChangeLogByFilterRequest +{ + messages.PaginationState pagination_state = 1; + google.protobuf.StringValue sort_by = 2; + GetAllUserWalletChangeLogByFilterFilter filter = 3; +} +message GetAllUserWalletChangeLogByFilterFilter +{ + google.protobuf.Int64Value id = 1; + google.protobuf.Int64Value wallet_id = 2; + google.protobuf.Int64Value current_balance = 3; + google.protobuf.Int64Value change_value = 4; + google.protobuf.BoolValue is_increase = 5; + google.protobuf.Int64Value refrence_id = 6; +} +message GetAllUserWalletChangeLogByFilterResponse +{ + messages.MetaData meta_data = 1; + repeated GetAllUserWalletChangeLogByFilterResponseModel models = 2; +} +message GetAllUserWalletChangeLogByFilterResponseModel +{ + int64 id = 1; + int64 wallet_id = 2; + int64 current_balance = 3; + int64 change_value = 4; + bool is_increase = 5; + google.protobuf.Int64Value refrence_id = 6; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/FactorDetails/CreateNewFactorDetailsRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/FactorDetails/CreateNewFactorDetailsRequestValidator.cs new file mode 100644 index 0000000..9d19311 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/FactorDetails/CreateNewFactorDetailsRequestValidator.cs @@ -0,0 +1,31 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.FactorDetails; +namespace CMSMicroservice.Protobuf.Validator.FactorDetails; + +public class CreateNewFactorDetailsRequestValidator : AbstractValidator +{ + public CreateNewFactorDetailsRequestValidator() + { + RuleFor(model => model.ProductId) + .NotNull(); + RuleFor(model => model.Count) + .NotNull(); + RuleFor(model => model.UnitPrice) + .NotNull(); + RuleFor(model => model.UnitDiscount) + .NotNull(); + RuleFor(model => model.OrderId) + .NotNull(); + RuleFor(model => model.UnitDiscountPrice) + .NotNull(); + RuleFor(model => model.IsChangePrice) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((CreateNewFactorDetailsRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/FactorDetails/DeleteFactorDetailsRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/FactorDetails/DeleteFactorDetailsRequestValidator.cs new file mode 100644 index 0000000..4313055 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/FactorDetails/DeleteFactorDetailsRequestValidator.cs @@ -0,0 +1,19 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.FactorDetails; +namespace CMSMicroservice.Protobuf.Validator.FactorDetails; + +public class DeleteFactorDetailsRequestValidator : AbstractValidator +{ + public DeleteFactorDetailsRequestValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((DeleteFactorDetailsRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/FactorDetails/GetAllFactorDetailsByFilterRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/FactorDetails/GetAllFactorDetailsByFilterRequestValidator.cs new file mode 100644 index 0000000..0f62c8b --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/FactorDetails/GetAllFactorDetailsByFilterRequestValidator.cs @@ -0,0 +1,17 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.FactorDetails; +namespace CMSMicroservice.Protobuf.Validator.FactorDetails; + +public class GetAllFactorDetailsByFilterRequestValidator : AbstractValidator +{ + public GetAllFactorDetailsByFilterRequestValidator() + { + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetAllFactorDetailsByFilterRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/FactorDetails/GetFactorDetailsRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/FactorDetails/GetFactorDetailsRequestValidator.cs new file mode 100644 index 0000000..1e952b8 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/FactorDetails/GetFactorDetailsRequestValidator.cs @@ -0,0 +1,19 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.FactorDetails; +namespace CMSMicroservice.Protobuf.Validator.FactorDetails; + +public class GetFactorDetailsRequestValidator : AbstractValidator +{ + public GetFactorDetailsRequestValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetFactorDetailsRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/FactorDetails/UpdateFactorDetailsRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/FactorDetails/UpdateFactorDetailsRequestValidator.cs new file mode 100644 index 0000000..9941169 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/FactorDetails/UpdateFactorDetailsRequestValidator.cs @@ -0,0 +1,33 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.FactorDetails; +namespace CMSMicroservice.Protobuf.Validator.FactorDetails; + +public class UpdateFactorDetailsRequestValidator : AbstractValidator +{ + public UpdateFactorDetailsRequestValidator() + { + RuleFor(model => model.Id) + .NotNull(); + RuleFor(model => model.ProductId) + .NotNull(); + RuleFor(model => model.Count) + .NotNull(); + RuleFor(model => model.UnitPrice) + .NotNull(); + RuleFor(model => model.UnitDiscount) + .NotNull(); + RuleFor(model => model.OrderId) + .NotNull(); + RuleFor(model => model.UnitDiscountPrice) + .NotNull(); + RuleFor(model => model.IsChangePrice) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((UpdateFactorDetailsRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/ProductGallerys/CreateNewProductGallerysRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/ProductGallerys/CreateNewProductGallerysRequestValidator.cs new file mode 100644 index 0000000..a9d029c --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/ProductGallerys/CreateNewProductGallerysRequestValidator.cs @@ -0,0 +1,21 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.ProductGallerys; +namespace CMSMicroservice.Protobuf.Validator.ProductGallerys; + +public class CreateNewProductGallerysRequestValidator : AbstractValidator +{ + public CreateNewProductGallerysRequestValidator() + { + RuleFor(model => model.ProductImageId) + .NotNull(); + RuleFor(model => model.ProductId) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((CreateNewProductGallerysRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/ProductGallerys/DeleteProductGallerysRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/ProductGallerys/DeleteProductGallerysRequestValidator.cs new file mode 100644 index 0000000..7467563 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/ProductGallerys/DeleteProductGallerysRequestValidator.cs @@ -0,0 +1,19 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.ProductGallerys; +namespace CMSMicroservice.Protobuf.Validator.ProductGallerys; + +public class DeleteProductGallerysRequestValidator : AbstractValidator +{ + public DeleteProductGallerysRequestValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((DeleteProductGallerysRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/ProductGallerys/GetAllProductGallerysByFilterRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/ProductGallerys/GetAllProductGallerysByFilterRequestValidator.cs new file mode 100644 index 0000000..e366a8f --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/ProductGallerys/GetAllProductGallerysByFilterRequestValidator.cs @@ -0,0 +1,17 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.ProductGallerys; +namespace CMSMicroservice.Protobuf.Validator.ProductGallerys; + +public class GetAllProductGallerysByFilterRequestValidator : AbstractValidator +{ + public GetAllProductGallerysByFilterRequestValidator() + { + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetAllProductGallerysByFilterRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/ProductGallerys/GetProductGallerysRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/ProductGallerys/GetProductGallerysRequestValidator.cs new file mode 100644 index 0000000..22b723a --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/ProductGallerys/GetProductGallerysRequestValidator.cs @@ -0,0 +1,19 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.ProductGallerys; +namespace CMSMicroservice.Protobuf.Validator.ProductGallerys; + +public class GetProductGallerysRequestValidator : AbstractValidator +{ + public GetProductGallerysRequestValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetProductGallerysRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/ProductGallerys/UpdateProductGallerysRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/ProductGallerys/UpdateProductGallerysRequestValidator.cs new file mode 100644 index 0000000..033a58a --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/ProductGallerys/UpdateProductGallerysRequestValidator.cs @@ -0,0 +1,23 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.ProductGallerys; +namespace CMSMicroservice.Protobuf.Validator.ProductGallerys; + +public class UpdateProductGallerysRequestValidator : AbstractValidator +{ + public UpdateProductGallerysRequestValidator() + { + RuleFor(model => model.Id) + .NotNull(); + RuleFor(model => model.ProductImageId) + .NotNull(); + RuleFor(model => model.ProductId) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((UpdateProductGallerysRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/ProductImages/CreateNewProductImagesRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/ProductImages/CreateNewProductImagesRequestValidator.cs new file mode 100644 index 0000000..87ae4a5 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/ProductImages/CreateNewProductImagesRequestValidator.cs @@ -0,0 +1,23 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.ProductImages; +namespace CMSMicroservice.Protobuf.Validator.ProductImages; + +public class CreateNewProductImagesRequestValidator : AbstractValidator +{ + public CreateNewProductImagesRequestValidator() + { + RuleFor(model => model.Title) + .NotEmpty(); + RuleFor(model => model.ImagePath) + .NotEmpty(); + RuleFor(model => model.ImageThumbnailPath) + .NotEmpty(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((CreateNewProductImagesRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/ProductImages/DeleteProductImagesRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/ProductImages/DeleteProductImagesRequestValidator.cs new file mode 100644 index 0000000..54762cd --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/ProductImages/DeleteProductImagesRequestValidator.cs @@ -0,0 +1,19 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.ProductImages; +namespace CMSMicroservice.Protobuf.Validator.ProductImages; + +public class DeleteProductImagesRequestValidator : AbstractValidator +{ + public DeleteProductImagesRequestValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((DeleteProductImagesRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/ProductImages/GetAllProductImagesByFilterRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/ProductImages/GetAllProductImagesByFilterRequestValidator.cs new file mode 100644 index 0000000..64e287f --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/ProductImages/GetAllProductImagesByFilterRequestValidator.cs @@ -0,0 +1,17 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.ProductImages; +namespace CMSMicroservice.Protobuf.Validator.ProductImages; + +public class GetAllProductImagesByFilterRequestValidator : AbstractValidator +{ + public GetAllProductImagesByFilterRequestValidator() + { + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetAllProductImagesByFilterRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/ProductImages/GetProductImagesRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/ProductImages/GetProductImagesRequestValidator.cs new file mode 100644 index 0000000..a4b3345 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/ProductImages/GetProductImagesRequestValidator.cs @@ -0,0 +1,19 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.ProductImages; +namespace CMSMicroservice.Protobuf.Validator.ProductImages; + +public class GetProductImagesRequestValidator : AbstractValidator +{ + public GetProductImagesRequestValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetProductImagesRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/ProductImages/UpdateProductImagesRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/ProductImages/UpdateProductImagesRequestValidator.cs new file mode 100644 index 0000000..8e1cba6 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/ProductImages/UpdateProductImagesRequestValidator.cs @@ -0,0 +1,25 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.ProductImages; +namespace CMSMicroservice.Protobuf.Validator.ProductImages; + +public class UpdateProductImagesRequestValidator : AbstractValidator +{ + public UpdateProductImagesRequestValidator() + { + RuleFor(model => model.Id) + .NotNull(); + RuleFor(model => model.Title) + .NotEmpty(); + RuleFor(model => model.ImagePath) + .NotEmpty(); + RuleFor(model => model.ImageThumbnailPath) + .NotEmpty(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((UpdateProductImagesRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/Products/CreateNewProductsRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/Products/CreateNewProductsRequestValidator.cs new file mode 100644 index 0000000..9e61c4f --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/Products/CreateNewProductsRequestValidator.cs @@ -0,0 +1,41 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.Products; +namespace CMSMicroservice.Protobuf.Validator.Products; + +public class CreateNewProductsRequestValidator : AbstractValidator +{ + public CreateNewProductsRequestValidator() + { + RuleFor(model => model.Title) + .NotEmpty(); + RuleFor(model => model.Description) + .NotEmpty(); + RuleFor(model => model.ShortInfomation) + .NotEmpty(); + RuleFor(model => model.FullInformation) + .NotEmpty(); + RuleFor(model => model.Price) + .NotNull(); + RuleFor(model => model.Discount) + .NotNull(); + RuleFor(model => model.Rate) + .NotNull(); + RuleFor(model => model.ImagePath) + .NotEmpty(); + RuleFor(model => model.ThumbnailPath) + .NotEmpty(); + RuleFor(model => model.SaleCount) + .NotNull(); + RuleFor(model => model.ViewCount) + .NotNull(); + RuleFor(model => model.RemainingCount) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((CreateNewProductsRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/Products/DeleteProductsRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/Products/DeleteProductsRequestValidator.cs new file mode 100644 index 0000000..498c560 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/Products/DeleteProductsRequestValidator.cs @@ -0,0 +1,19 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.Products; +namespace CMSMicroservice.Protobuf.Validator.Products; + +public class DeleteProductsRequestValidator : AbstractValidator +{ + public DeleteProductsRequestValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((DeleteProductsRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/Products/GetAllProductsByFilterRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/Products/GetAllProductsByFilterRequestValidator.cs new file mode 100644 index 0000000..faf5e62 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/Products/GetAllProductsByFilterRequestValidator.cs @@ -0,0 +1,17 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.Products; +namespace CMSMicroservice.Protobuf.Validator.Products; + +public class GetAllProductsByFilterRequestValidator : AbstractValidator +{ + public GetAllProductsByFilterRequestValidator() + { + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetAllProductsByFilterRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/Products/GetProductsRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/Products/GetProductsRequestValidator.cs new file mode 100644 index 0000000..1fc158e --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/Products/GetProductsRequestValidator.cs @@ -0,0 +1,19 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.Products; +namespace CMSMicroservice.Protobuf.Validator.Products; + +public class GetProductsRequestValidator : AbstractValidator +{ + public GetProductsRequestValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetProductsRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/Products/UpdateProductsRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/Products/UpdateProductsRequestValidator.cs new file mode 100644 index 0000000..4c9f05f --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/Products/UpdateProductsRequestValidator.cs @@ -0,0 +1,43 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.Products; +namespace CMSMicroservice.Protobuf.Validator.Products; + +public class UpdateProductsRequestValidator : AbstractValidator +{ + public UpdateProductsRequestValidator() + { + RuleFor(model => model.Id) + .NotNull(); + RuleFor(model => model.Title) + .NotEmpty(); + RuleFor(model => model.Description) + .NotEmpty(); + RuleFor(model => model.ShortInfomation) + .NotEmpty(); + RuleFor(model => model.FullInformation) + .NotEmpty(); + RuleFor(model => model.Price) + .NotNull(); + RuleFor(model => model.Discount) + .NotNull(); + RuleFor(model => model.Rate) + .NotNull(); + RuleFor(model => model.ImagePath) + .NotEmpty(); + RuleFor(model => model.ThumbnailPath) + .NotEmpty(); + RuleFor(model => model.SaleCount) + .NotNull(); + RuleFor(model => model.ViewCount) + .NotNull(); + RuleFor(model => model.RemainingCount) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((UpdateProductsRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/Transactions/CreateNewTransactionsRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/Transactions/CreateNewTransactionsRequestValidator.cs new file mode 100644 index 0000000..7314a5c --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/Transactions/CreateNewTransactionsRequestValidator.cs @@ -0,0 +1,31 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.Transactions; +namespace CMSMicroservice.Protobuf.Validator.Transactions; + +public class CreateNewTransactionsRequestValidator : AbstractValidator +{ + public CreateNewTransactionsRequestValidator() + { + RuleFor(model => model.MerchantId) + .NotEmpty(); + RuleFor(model => model.Amount) + .NotNull(); + RuleFor(model => model.CallbackUrl) + .NotEmpty(); + RuleFor(model => model.Description) + .NotEmpty(); + RuleFor(model => model.PaymentStatus) + .IsInEnum() + .NotNull(); + RuleFor(model => model.Type) + .IsInEnum() + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((CreateNewTransactionsRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/Transactions/DeleteTransactionsRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/Transactions/DeleteTransactionsRequestValidator.cs new file mode 100644 index 0000000..22680f1 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/Transactions/DeleteTransactionsRequestValidator.cs @@ -0,0 +1,19 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.Transactions; +namespace CMSMicroservice.Protobuf.Validator.Transactions; + +public class DeleteTransactionsRequestValidator : AbstractValidator +{ + public DeleteTransactionsRequestValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((DeleteTransactionsRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/Transactions/GetAllTransactionsByFilterRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/Transactions/GetAllTransactionsByFilterRequestValidator.cs new file mode 100644 index 0000000..96e03e8 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/Transactions/GetAllTransactionsByFilterRequestValidator.cs @@ -0,0 +1,17 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.Transactions; +namespace CMSMicroservice.Protobuf.Validator.Transactions; + +public class GetAllTransactionsByFilterRequestValidator : AbstractValidator +{ + public GetAllTransactionsByFilterRequestValidator() + { + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetAllTransactionsByFilterRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/Transactions/GetTransactionsRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/Transactions/GetTransactionsRequestValidator.cs new file mode 100644 index 0000000..805fa10 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/Transactions/GetTransactionsRequestValidator.cs @@ -0,0 +1,19 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.Transactions; +namespace CMSMicroservice.Protobuf.Validator.Transactions; + +public class GetTransactionsRequestValidator : AbstractValidator +{ + public GetTransactionsRequestValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetTransactionsRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/Transactions/UpdateTransactionsRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/Transactions/UpdateTransactionsRequestValidator.cs new file mode 100644 index 0000000..23456f7 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/Transactions/UpdateTransactionsRequestValidator.cs @@ -0,0 +1,33 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.Transactions; +namespace CMSMicroservice.Protobuf.Validator.Transactions; + +public class UpdateTransactionsRequestValidator : AbstractValidator +{ + public UpdateTransactionsRequestValidator() + { + RuleFor(model => model.Id) + .NotNull(); + RuleFor(model => model.MerchantId) + .NotEmpty(); + RuleFor(model => model.Amount) + .NotNull(); + RuleFor(model => model.CallbackUrl) + .NotEmpty(); + RuleFor(model => model.Description) + .NotEmpty(); + RuleFor(model => model.PaymentStatus) + .IsInEnum() + .NotNull(); + RuleFor(model => model.Type) + .IsInEnum() + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((UpdateTransactionsRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/User/AdminGetJwtTokenRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/User/AdminGetJwtTokenRequestValidator.cs new file mode 100644 index 0000000..2b7cb8a --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/User/AdminGetJwtTokenRequestValidator.cs @@ -0,0 +1,21 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.User; +namespace CMSMicroservice.Protobuf.Validator.User; + +public class AdminGetJwtTokenRequestValidator : AbstractValidator +{ + public AdminGetJwtTokenRequestValidator() + { + RuleFor(model => model.Username) + .NotEmpty(); + RuleFor(model => model.Password) + .NotEmpty(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((AdminGetJwtTokenRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/User/SetPasswordForUserRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/User/SetPasswordForUserRequestValidator.cs new file mode 100644 index 0000000..c8d7ac0 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/User/SetPasswordForUserRequestValidator.cs @@ -0,0 +1,23 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.User; +namespace CMSMicroservice.Protobuf.Validator.User; + +public class SetPasswordForUserRequestValidator : AbstractValidator +{ + public SetPasswordForUserRequestValidator() + { + RuleFor(model => model.UserId) + .NotNull(); + RuleFor(model => model.NewPassword) + .NotEmpty(); + RuleFor(model => model.ConfirmPassword) + .NotEmpty(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((SetPasswordForUserRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/UserCarts/CreateNewUserCartsRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/UserCarts/CreateNewUserCartsRequestValidator.cs new file mode 100644 index 0000000..ed45011 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/UserCarts/CreateNewUserCartsRequestValidator.cs @@ -0,0 +1,23 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.UserCarts; +namespace CMSMicroservice.Protobuf.Validator.UserCarts; + +public class CreateNewUserCartsRequestValidator : AbstractValidator +{ + public CreateNewUserCartsRequestValidator() + { + RuleFor(model => model.ProductId) + .NotNull(); + RuleFor(model => model.UserId) + .NotNull(); + RuleFor(model => model.Count) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((CreateNewUserCartsRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/UserCarts/DeleteUserCartsRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/UserCarts/DeleteUserCartsRequestValidator.cs new file mode 100644 index 0000000..a61b208 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/UserCarts/DeleteUserCartsRequestValidator.cs @@ -0,0 +1,19 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.UserCarts; +namespace CMSMicroservice.Protobuf.Validator.UserCarts; + +public class DeleteUserCartsRequestValidator : AbstractValidator +{ + public DeleteUserCartsRequestValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((DeleteUserCartsRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/UserCarts/GetAllUserCartsByFilterRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/UserCarts/GetAllUserCartsByFilterRequestValidator.cs new file mode 100644 index 0000000..15da1fc --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/UserCarts/GetAllUserCartsByFilterRequestValidator.cs @@ -0,0 +1,17 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.UserCarts; +namespace CMSMicroservice.Protobuf.Validator.UserCarts; + +public class GetAllUserCartsByFilterRequestValidator : AbstractValidator +{ + public GetAllUserCartsByFilterRequestValidator() + { + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetAllUserCartsByFilterRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/UserCarts/GetUserCartsRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/UserCarts/GetUserCartsRequestValidator.cs new file mode 100644 index 0000000..4641324 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/UserCarts/GetUserCartsRequestValidator.cs @@ -0,0 +1,19 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.UserCarts; +namespace CMSMicroservice.Protobuf.Validator.UserCarts; + +public class GetUserCartsRequestValidator : AbstractValidator +{ + public GetUserCartsRequestValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetUserCartsRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/UserCarts/UpdateUserCartsRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/UserCarts/UpdateUserCartsRequestValidator.cs new file mode 100644 index 0000000..f73d57e --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/UserCarts/UpdateUserCartsRequestValidator.cs @@ -0,0 +1,25 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.UserCarts; +namespace CMSMicroservice.Protobuf.Validator.UserCarts; + +public class UpdateUserCartsRequestValidator : AbstractValidator +{ + public UpdateUserCartsRequestValidator() + { + RuleFor(model => model.Id) + .NotNull(); + RuleFor(model => model.ProductId) + .NotNull(); + RuleFor(model => model.UserId) + .NotNull(); + RuleFor(model => model.Count) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((UpdateUserCartsRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/UserWallet/CreateNewUserWalletRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/UserWallet/CreateNewUserWalletRequestValidator.cs new file mode 100644 index 0000000..84dc61c --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/UserWallet/CreateNewUserWalletRequestValidator.cs @@ -0,0 +1,21 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.UserWallet; +namespace CMSMicroservice.Protobuf.Validator.UserWallet; + +public class CreateNewUserWalletRequestValidator : AbstractValidator +{ + public CreateNewUserWalletRequestValidator() + { + RuleFor(model => model.UserId) + .NotNull(); + RuleFor(model => model.Balance) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((CreateNewUserWalletRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/UserWallet/DeleteUserWalletRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/UserWallet/DeleteUserWalletRequestValidator.cs new file mode 100644 index 0000000..13b3519 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/UserWallet/DeleteUserWalletRequestValidator.cs @@ -0,0 +1,19 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.UserWallet; +namespace CMSMicroservice.Protobuf.Validator.UserWallet; + +public class DeleteUserWalletRequestValidator : AbstractValidator +{ + public DeleteUserWalletRequestValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((DeleteUserWalletRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/UserWallet/GetAllUserWalletByFilterRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/UserWallet/GetAllUserWalletByFilterRequestValidator.cs new file mode 100644 index 0000000..5b2afb7 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/UserWallet/GetAllUserWalletByFilterRequestValidator.cs @@ -0,0 +1,17 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.UserWallet; +namespace CMSMicroservice.Protobuf.Validator.UserWallet; + +public class GetAllUserWalletByFilterRequestValidator : AbstractValidator +{ + public GetAllUserWalletByFilterRequestValidator() + { + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetAllUserWalletByFilterRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/UserWallet/GetUserWalletRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/UserWallet/GetUserWalletRequestValidator.cs new file mode 100644 index 0000000..eb4ff0d --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/UserWallet/GetUserWalletRequestValidator.cs @@ -0,0 +1,19 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.UserWallet; +namespace CMSMicroservice.Protobuf.Validator.UserWallet; + +public class GetUserWalletRequestValidator : AbstractValidator +{ + public GetUserWalletRequestValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetUserWalletRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/UserWallet/UpdateUserWalletRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/UserWallet/UpdateUserWalletRequestValidator.cs new file mode 100644 index 0000000..a929054 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/UserWallet/UpdateUserWalletRequestValidator.cs @@ -0,0 +1,23 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.UserWallet; +namespace CMSMicroservice.Protobuf.Validator.UserWallet; + +public class UpdateUserWalletRequestValidator : AbstractValidator +{ + public UpdateUserWalletRequestValidator() + { + RuleFor(model => model.Id) + .NotNull(); + RuleFor(model => model.UserId) + .NotNull(); + RuleFor(model => model.Balance) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((UpdateUserWalletRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/UserWalletChangeLog/CreateNewUserWalletChangeLogRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/UserWalletChangeLog/CreateNewUserWalletChangeLogRequestValidator.cs new file mode 100644 index 0000000..5bd17ea --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/UserWalletChangeLog/CreateNewUserWalletChangeLogRequestValidator.cs @@ -0,0 +1,25 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.UserWalletChangeLog; +namespace CMSMicroservice.Protobuf.Validator.UserWalletChangeLog; + +public class CreateNewUserWalletChangeLogRequestValidator : AbstractValidator +{ + public CreateNewUserWalletChangeLogRequestValidator() + { + RuleFor(model => model.WalletId) + .NotNull(); + RuleFor(model => model.CurrentBalance) + .NotNull(); + RuleFor(model => model.ChangeValue) + .NotNull(); + RuleFor(model => model.IsIncrease) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((CreateNewUserWalletChangeLogRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/UserWalletChangeLog/DeleteUserWalletChangeLogRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/UserWalletChangeLog/DeleteUserWalletChangeLogRequestValidator.cs new file mode 100644 index 0000000..1f7f8e0 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/UserWalletChangeLog/DeleteUserWalletChangeLogRequestValidator.cs @@ -0,0 +1,19 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.UserWalletChangeLog; +namespace CMSMicroservice.Protobuf.Validator.UserWalletChangeLog; + +public class DeleteUserWalletChangeLogRequestValidator : AbstractValidator +{ + public DeleteUserWalletChangeLogRequestValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((DeleteUserWalletChangeLogRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/UserWalletChangeLog/GetAllUserWalletChangeLogByFilterRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/UserWalletChangeLog/GetAllUserWalletChangeLogByFilterRequestValidator.cs new file mode 100644 index 0000000..5c4305f --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/UserWalletChangeLog/GetAllUserWalletChangeLogByFilterRequestValidator.cs @@ -0,0 +1,17 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.UserWalletChangeLog; +namespace CMSMicroservice.Protobuf.Validator.UserWalletChangeLog; + +public class GetAllUserWalletChangeLogByFilterRequestValidator : AbstractValidator +{ + public GetAllUserWalletChangeLogByFilterRequestValidator() + { + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetAllUserWalletChangeLogByFilterRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/UserWalletChangeLog/GetUserWalletChangeLogRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/UserWalletChangeLog/GetUserWalletChangeLogRequestValidator.cs new file mode 100644 index 0000000..5b9e205 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/UserWalletChangeLog/GetUserWalletChangeLogRequestValidator.cs @@ -0,0 +1,19 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.UserWalletChangeLog; +namespace CMSMicroservice.Protobuf.Validator.UserWalletChangeLog; + +public class GetUserWalletChangeLogRequestValidator : AbstractValidator +{ + public GetUserWalletChangeLogRequestValidator() + { + RuleFor(model => model.Id) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((GetUserWalletChangeLogRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.Protobuf/Validator/UserWalletChangeLog/UpdateUserWalletChangeLogRequestValidator.cs b/src/CMSMicroservice.Protobuf/Validator/UserWalletChangeLog/UpdateUserWalletChangeLogRequestValidator.cs new file mode 100644 index 0000000..39b2b35 --- /dev/null +++ b/src/CMSMicroservice.Protobuf/Validator/UserWalletChangeLog/UpdateUserWalletChangeLogRequestValidator.cs @@ -0,0 +1,27 @@ +using FluentValidation; +using CMSMicroservice.Protobuf.Protos.UserWalletChangeLog; +namespace CMSMicroservice.Protobuf.Validator.UserWalletChangeLog; + +public class UpdateUserWalletChangeLogRequestValidator : AbstractValidator +{ + public UpdateUserWalletChangeLogRequestValidator() + { + RuleFor(model => model.Id) + .NotNull(); + RuleFor(model => model.WalletId) + .NotNull(); + RuleFor(model => model.CurrentBalance) + .NotNull(); + RuleFor(model => model.ChangeValue) + .NotNull(); + RuleFor(model => model.IsIncrease) + .NotNull(); + } + public Func>> ValidateValue => async (model, propertyName) => + { + var result = await ValidateAsync(ValidationContext.CreateWithOptions((UpdateUserWalletChangeLogRequest)model, x => x.IncludeProperties(propertyName))); + if (result.IsValid) + return Array.Empty(); + return result.Errors.Select(e => e.ErrorMessage); + }; +} diff --git a/src/CMSMicroservice.WebApi/CMSMicroservice.WebApi.csproj b/src/CMSMicroservice.WebApi/CMSMicroservice.WebApi.csproj index b54fa53..ae90b87 100644 --- a/src/CMSMicroservice.WebApi/CMSMicroservice.WebApi.csproj +++ b/src/CMSMicroservice.WebApi/CMSMicroservice.WebApi.csproj @@ -1,7 +1,7 @@ - net7.0 + net9.0 enable Linux ..\..\.. @@ -15,16 +15,16 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + - - - + + + diff --git a/src/CMSMicroservice.WebApi/Common/Behaviours/ExceptionHandlingBehaviour.cs b/src/CMSMicroservice.WebApi/Common/Behaviours/ExceptionHandlingBehaviour.cs new file mode 100644 index 0000000..74ca6cf --- /dev/null +++ b/src/CMSMicroservice.WebApi/Common/Behaviours/ExceptionHandlingBehaviour.cs @@ -0,0 +1,99 @@ +// filepath: /media/masoud/Project/FourSat/CMS/src/CMSMicroservice.WebApi/Common/Behaviours/ExceptionHandlingBehaviour.cs +using System.Text.Json; +using System.Collections.Generic; +using CMSMicroservice.Application.Common.Exceptions; +using Grpc.Core; +using Grpc.Core.Interceptors; +using Microsoft.Extensions.Logging; + +namespace CMSMicroservice.WebApi.Common.Behaviours; + +public class ExceptionHandlingBehaviour : Interceptor +{ + private readonly ILogger _logger; + + public ExceptionHandlingBehaviour(ILogger logger) + { + _logger = logger; + } + + public override async Task UnaryServerHandler( + TRequest request, + ServerCallContext context, + UnaryServerMethod continuation) + { + try + { + return await continuation(request, context); + } + catch (ValidationException vex) + { + // Flatten validation errors into a trailer so clients can display them + var metadata = new Metadata(); + string description = vex.Message; + try + { + if (vex.Errors is { Count: > 0 }) + { + var payload = JsonSerializer.Serialize(vex.Errors); + metadata.Add("validation-errors-text", payload); + + // Build a human-friendly description out of individual messages + var parts = new List(); + foreach (var kv in vex.Errors) + { + foreach (var msg in kv.Value) + { + if (!string.IsNullOrWhiteSpace(kv.Key)) + parts.Add($"{kv.Key}: {msg}"); + else + parts.Add(msg); + } + } + if (parts.Count > 0) + { + description = string.Join(" | ", parts); + } + } + } + catch + { + // ignore serialization issues, still return InvalidArgument + } + + _logger.LogWarning(vex, "Validation failed for request {Method}", context.Method); + throw new RpcException(new Status(StatusCode.InvalidArgument, description), metadata); + } + catch (NotFoundException nfex) + { + _logger.LogInformation(nfex, "Entity not found for request {Method}", context.Method); + throw new RpcException(new Status(StatusCode.NotFound, nfex.Message)); + } + catch (UnauthorizedAccessException uaex) + { + _logger.LogInformation(uaex, "Unauthorized access for request {Method}", context.Method); + throw new RpcException(new Status(StatusCode.Unauthenticated, uaex.Message)); + } + catch (ForbiddenAccessException fax) + { + _logger.LogInformation(fax, "Forbidden access for request {Method}", context.Method); + throw new RpcException(new Status(StatusCode.PermissionDenied, fax.Message)); + } + catch (DuplicateException dex) + { + _logger.LogInformation(dex, "Duplicate resource for request {Method}", context.Method); + throw new RpcException(new Status(StatusCode.AlreadyExists, dex.Message)); + } + catch (ArgumentException aex) + { + _logger.LogInformation(aex, "Invalid argument for request {Method}", context.Method); + throw new RpcException(new Status(StatusCode.InvalidArgument, aex.Message)); + } + catch (Exception ex) + { + _logger.LogError(ex, "Unhandled exception for request {Method}", context.Method); + // Hide internal details from clients + throw new RpcException(new Status(StatusCode.Internal, "Internal server error")); + } + } +} diff --git a/src/CMSMicroservice.WebApi/Common/Mappings/FactorDetailsProfile.cs b/src/CMSMicroservice.WebApi/Common/Mappings/FactorDetailsProfile.cs new file mode 100644 index 0000000..ef5f631 --- /dev/null +++ b/src/CMSMicroservice.WebApi/Common/Mappings/FactorDetailsProfile.cs @@ -0,0 +1,10 @@ +namespace CMSMicroservice.WebApi.Common.Mappings; + +public class FactorDetailsProfile : IRegister +{ + void IRegister.Register(TypeAdapterConfig config) + { + //config.NewConfig() + // .Map(dest => dest.FullName, src => $"{src.Firstname} {src.Lastname}"); + } +} diff --git a/src/CMSMicroservice.WebApi/Common/Mappings/GeneralMapping.cs b/src/CMSMicroservice.WebApi/Common/Mappings/GeneralMapping.cs index abf4c10..78fd50f 100644 --- a/src/CMSMicroservice.WebApi/Common/Mappings/GeneralMapping.cs +++ b/src/CMSMicroservice.WebApi/Common/Mappings/GeneralMapping.cs @@ -50,6 +50,9 @@ public class GeneralMapping : IRegister config.NewConfig() .MapWith(src => src.HasValue ? Duration.FromTimeSpan(src.Value) : null); + config.NewConfig() + .MapWith(src => src.HasValue ? src.Value.DateTime : (DateTime?)null); + config.Default .UseDestinationValue(member => member.SetterModifier == AccessModifier.None && member.Type.IsGenericType && diff --git a/src/CMSMicroservice.WebApi/Common/Mappings/ProductGallerysProfile.cs b/src/CMSMicroservice.WebApi/Common/Mappings/ProductGallerysProfile.cs new file mode 100644 index 0000000..bccae5d --- /dev/null +++ b/src/CMSMicroservice.WebApi/Common/Mappings/ProductGallerysProfile.cs @@ -0,0 +1,10 @@ +namespace CMSMicroservice.WebApi.Common.Mappings; + +public class ProductGallerysProfile : IRegister +{ + void IRegister.Register(TypeAdapterConfig config) + { + //config.NewConfig() + // .Map(dest => dest.FullName, src => $"{src.Firstname} {src.Lastname}"); + } +} diff --git a/src/CMSMicroservice.WebApi/Common/Mappings/ProductImagesProfile.cs b/src/CMSMicroservice.WebApi/Common/Mappings/ProductImagesProfile.cs new file mode 100644 index 0000000..3496a52 --- /dev/null +++ b/src/CMSMicroservice.WebApi/Common/Mappings/ProductImagesProfile.cs @@ -0,0 +1,10 @@ +namespace CMSMicroservice.WebApi.Common.Mappings; + +public class ProductImagesProfile : IRegister +{ + void IRegister.Register(TypeAdapterConfig config) + { + //config.NewConfig() + // .Map(dest => dest.FullName, src => $"{src.Firstname} {src.Lastname}"); + } +} diff --git a/src/CMSMicroservice.WebApi/Common/Mappings/ProductsProfile.cs b/src/CMSMicroservice.WebApi/Common/Mappings/ProductsProfile.cs new file mode 100644 index 0000000..b8e0e09 --- /dev/null +++ b/src/CMSMicroservice.WebApi/Common/Mappings/ProductsProfile.cs @@ -0,0 +1,10 @@ +namespace CMSMicroservice.WebApi.Common.Mappings; + +public class ProductsProfile : IRegister +{ + void IRegister.Register(TypeAdapterConfig config) + { + //config.NewConfig() + // .Map(dest => dest.FullName, src => $"{src.Firstname} {src.Lastname}"); + } +} diff --git a/src/CMSMicroservice.WebApi/Common/Mappings/TransactionsProfile.cs b/src/CMSMicroservice.WebApi/Common/Mappings/TransactionsProfile.cs new file mode 100644 index 0000000..34689ba --- /dev/null +++ b/src/CMSMicroservice.WebApi/Common/Mappings/TransactionsProfile.cs @@ -0,0 +1,11 @@ +namespace CMSMicroservice.WebApi.Common.Mappings; + +public class TransactionsProfile : IRegister +{ + void IRegister.Register(TypeAdapterConfig config) + { + config.NewConfig() + .IgnoreIf((src, dest) => !src.Filter.HasPaymentStatus, dest => dest.Filter.PaymentStatus) + .IgnoreIf((src, dest) => !src.Filter.HasType, dest => dest.Filter.Type); + } +} diff --git a/src/CMSMicroservice.WebApi/Common/Mappings/UserCartsProfile.cs b/src/CMSMicroservice.WebApi/Common/Mappings/UserCartsProfile.cs new file mode 100644 index 0000000..2ebe5d0 --- /dev/null +++ b/src/CMSMicroservice.WebApi/Common/Mappings/UserCartsProfile.cs @@ -0,0 +1,10 @@ +namespace CMSMicroservice.WebApi.Common.Mappings; + +public class UserCartsProfile : IRegister +{ + void IRegister.Register(TypeAdapterConfig config) + { + //config.NewConfig() + // .Map(dest => dest.FullName, src => $"{src.Firstname} {src.Lastname}"); + } +} diff --git a/src/CMSMicroservice.WebApi/Common/Mappings/UserWalletChangeLogProfile.cs b/src/CMSMicroservice.WebApi/Common/Mappings/UserWalletChangeLogProfile.cs new file mode 100644 index 0000000..ad2c16d --- /dev/null +++ b/src/CMSMicroservice.WebApi/Common/Mappings/UserWalletChangeLogProfile.cs @@ -0,0 +1,10 @@ +namespace CMSMicroservice.WebApi.Common.Mappings; + +public class UserWalletChangeLogProfile : IRegister +{ + void IRegister.Register(TypeAdapterConfig config) + { + //config.NewConfig() + // .Map(dest => dest.FullName, src => $"{src.Firstname} {src.Lastname}"); + } +} diff --git a/src/CMSMicroservice.WebApi/Common/Mappings/UserWalletProfile.cs b/src/CMSMicroservice.WebApi/Common/Mappings/UserWalletProfile.cs new file mode 100644 index 0000000..509f31d --- /dev/null +++ b/src/CMSMicroservice.WebApi/Common/Mappings/UserWalletProfile.cs @@ -0,0 +1,10 @@ +namespace CMSMicroservice.WebApi.Common.Mappings; + +public class UserWalletProfile : IRegister +{ + void IRegister.Register(TypeAdapterConfig config) + { + //config.NewConfig() + // .Map(dest => dest.FullName, src => $"{src.Firstname} {src.Lastname}"); + } +} diff --git a/src/CMSMicroservice.WebApi/Program.cs b/src/CMSMicroservice.WebApi/Program.cs index 11904d4..1525688 100644 --- a/src/CMSMicroservice.WebApi/Program.cs +++ b/src/CMSMicroservice.WebApi/Program.cs @@ -38,6 +38,7 @@ builder.Services.AddGrpc(options => { options.Interceptors.Add(); options.Interceptors.Add(); + //options.Interceptors.Add(); options.EnableDetailedErrors = true; options.MaxReceiveMessageSize = 1000 * 1024 * 1024; // 1 GB options.MaxSendMessageSize = 1000 * 1024 * 1024; // 1 GB diff --git a/src/CMSMicroservice.WebApi/Services/FactorDetailsService.cs b/src/CMSMicroservice.WebApi/Services/FactorDetailsService.cs new file mode 100644 index 0000000..9a93e53 --- /dev/null +++ b/src/CMSMicroservice.WebApi/Services/FactorDetailsService.cs @@ -0,0 +1,37 @@ +using CMSMicroservice.Protobuf.Protos.FactorDetails; +using CMSMicroservice.WebApi.Common.Services; +using CMSMicroservice.Application.FactorDetailsCQ.Commands.CreateNewFactorDetails; +using CMSMicroservice.Application.FactorDetailsCQ.Commands.UpdateFactorDetails; +using CMSMicroservice.Application.FactorDetailsCQ.Commands.DeleteFactorDetails; +using CMSMicroservice.Application.FactorDetailsCQ.Queries.GetFactorDetails; +using CMSMicroservice.Application.FactorDetailsCQ.Queries.GetAllFactorDetailsByFilter; +namespace CMSMicroservice.WebApi.Services; +public class FactorDetailsService : FactorDetailsContract.FactorDetailsContractBase +{ + private readonly IDispatchRequestToCQRS _dispatchRequestToCQRS; + + public FactorDetailsService(IDispatchRequestToCQRS dispatchRequestToCQRS) + { + _dispatchRequestToCQRS = dispatchRequestToCQRS; + } + public override async Task CreateNewFactorDetails(CreateNewFactorDetailsRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task UpdateFactorDetails(UpdateFactorDetailsRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task DeleteFactorDetails(DeleteFactorDetailsRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task GetFactorDetails(GetFactorDetailsRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task GetAllFactorDetailsByFilter(GetAllFactorDetailsByFilterRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } +} diff --git a/src/CMSMicroservice.WebApi/Services/ProductGallerysService.cs b/src/CMSMicroservice.WebApi/Services/ProductGallerysService.cs new file mode 100644 index 0000000..93920cc --- /dev/null +++ b/src/CMSMicroservice.WebApi/Services/ProductGallerysService.cs @@ -0,0 +1,37 @@ +using CMSMicroservice.Protobuf.Protos.ProductGallerys; +using CMSMicroservice.WebApi.Common.Services; +using CMSMicroservice.Application.ProductGallerysCQ.Commands.CreateNewProductGallerys; +using CMSMicroservice.Application.ProductGallerysCQ.Commands.UpdateProductGallerys; +using CMSMicroservice.Application.ProductGallerysCQ.Commands.DeleteProductGallerys; +using CMSMicroservice.Application.ProductGallerysCQ.Queries.GetProductGallerys; +using CMSMicroservice.Application.ProductGallerysCQ.Queries.GetAllProductGallerysByFilter; +namespace CMSMicroservice.WebApi.Services; +public class ProductGallerysService : ProductGallerysContract.ProductGallerysContractBase +{ + private readonly IDispatchRequestToCQRS _dispatchRequestToCQRS; + + public ProductGallerysService(IDispatchRequestToCQRS dispatchRequestToCQRS) + { + _dispatchRequestToCQRS = dispatchRequestToCQRS; + } + public override async Task CreateNewProductGallerys(CreateNewProductGallerysRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task UpdateProductGallerys(UpdateProductGallerysRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task DeleteProductGallerys(DeleteProductGallerysRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task GetProductGallerys(GetProductGallerysRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task GetAllProductGallerysByFilter(GetAllProductGallerysByFilterRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } +} diff --git a/src/CMSMicroservice.WebApi/Services/ProductImagesService.cs b/src/CMSMicroservice.WebApi/Services/ProductImagesService.cs new file mode 100644 index 0000000..b5af12b --- /dev/null +++ b/src/CMSMicroservice.WebApi/Services/ProductImagesService.cs @@ -0,0 +1,37 @@ +using CMSMicroservice.Protobuf.Protos.ProductImages; +using CMSMicroservice.WebApi.Common.Services; +using CMSMicroservice.Application.ProductImagesCQ.Commands.CreateNewProductImages; +using CMSMicroservice.Application.ProductImagesCQ.Commands.UpdateProductImages; +using CMSMicroservice.Application.ProductImagesCQ.Commands.DeleteProductImages; +using CMSMicroservice.Application.ProductImagesCQ.Queries.GetProductImages; +using CMSMicroservice.Application.ProductImagesCQ.Queries.GetAllProductImagesByFilter; +namespace CMSMicroservice.WebApi.Services; +public class ProductImagesService : ProductImagesContract.ProductImagesContractBase +{ + private readonly IDispatchRequestToCQRS _dispatchRequestToCQRS; + + public ProductImagesService(IDispatchRequestToCQRS dispatchRequestToCQRS) + { + _dispatchRequestToCQRS = dispatchRequestToCQRS; + } + public override async Task CreateNewProductImages(CreateNewProductImagesRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task UpdateProductImages(UpdateProductImagesRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task DeleteProductImages(DeleteProductImagesRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task GetProductImages(GetProductImagesRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task GetAllProductImagesByFilter(GetAllProductImagesByFilterRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } +} diff --git a/src/CMSMicroservice.WebApi/Services/ProductsService.cs b/src/CMSMicroservice.WebApi/Services/ProductsService.cs new file mode 100644 index 0000000..2dfb1f0 --- /dev/null +++ b/src/CMSMicroservice.WebApi/Services/ProductsService.cs @@ -0,0 +1,37 @@ +using CMSMicroservice.Protobuf.Protos.Products; +using CMSMicroservice.WebApi.Common.Services; +using CMSMicroservice.Application.ProductsCQ.Commands.CreateNewProducts; +using CMSMicroservice.Application.ProductsCQ.Commands.UpdateProducts; +using CMSMicroservice.Application.ProductsCQ.Commands.DeleteProducts; +using CMSMicroservice.Application.ProductsCQ.Queries.GetProducts; +using CMSMicroservice.Application.ProductsCQ.Queries.GetAllProductsByFilter; +namespace CMSMicroservice.WebApi.Services; +public class ProductsService : ProductsContract.ProductsContractBase +{ + private readonly IDispatchRequestToCQRS _dispatchRequestToCQRS; + + public ProductsService(IDispatchRequestToCQRS dispatchRequestToCQRS) + { + _dispatchRequestToCQRS = dispatchRequestToCQRS; + } + public override async Task CreateNewProducts(CreateNewProductsRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task UpdateProducts(UpdateProductsRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task DeleteProducts(DeleteProductsRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task GetProducts(GetProductsRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task GetAllProductsByFilter(GetAllProductsByFilterRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } +} diff --git a/src/CMSMicroservice.WebApi/Services/TransactionsService.cs b/src/CMSMicroservice.WebApi/Services/TransactionsService.cs new file mode 100644 index 0000000..7268f58 --- /dev/null +++ b/src/CMSMicroservice.WebApi/Services/TransactionsService.cs @@ -0,0 +1,37 @@ +using CMSMicroservice.Protobuf.Protos.Transactions; +using CMSMicroservice.WebApi.Common.Services; +using CMSMicroservice.Application.TransactionsCQ.Commands.CreateNewTransactions; +using CMSMicroservice.Application.TransactionsCQ.Commands.UpdateTransactions; +using CMSMicroservice.Application.TransactionsCQ.Commands.DeleteTransactions; +using CMSMicroservice.Application.TransactionsCQ.Queries.GetTransactions; +using CMSMicroservice.Application.TransactionsCQ.Queries.GetAllTransactionsByFilter; +namespace CMSMicroservice.WebApi.Services; +public class TransactionsService : TransactionsContract.TransactionsContractBase +{ + private readonly IDispatchRequestToCQRS _dispatchRequestToCQRS; + + public TransactionsService(IDispatchRequestToCQRS dispatchRequestToCQRS) + { + _dispatchRequestToCQRS = dispatchRequestToCQRS; + } + public override async Task CreateNewTransactions(CreateNewTransactionsRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task UpdateTransactions(UpdateTransactionsRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task DeleteTransactions(DeleteTransactionsRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task GetTransactions(GetTransactionsRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task GetAllTransactionsByFilter(GetAllTransactionsByFilterRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } +} diff --git a/src/CMSMicroservice.WebApi/Services/UserCartsService.cs b/src/CMSMicroservice.WebApi/Services/UserCartsService.cs new file mode 100644 index 0000000..1b0ac0a --- /dev/null +++ b/src/CMSMicroservice.WebApi/Services/UserCartsService.cs @@ -0,0 +1,37 @@ +using CMSMicroservice.Protobuf.Protos.UserCarts; +using CMSMicroservice.WebApi.Common.Services; +using CMSMicroservice.Application.UserCartsCQ.Commands.CreateNewUserCarts; +using CMSMicroservice.Application.UserCartsCQ.Commands.UpdateUserCarts; +using CMSMicroservice.Application.UserCartsCQ.Commands.DeleteUserCarts; +using CMSMicroservice.Application.UserCartsCQ.Queries.GetUserCarts; +using CMSMicroservice.Application.UserCartsCQ.Queries.GetAllUserCartsByFilter; +namespace CMSMicroservice.WebApi.Services; +public class UserCartsService : UserCartsContract.UserCartsContractBase +{ + private readonly IDispatchRequestToCQRS _dispatchRequestToCQRS; + + public UserCartsService(IDispatchRequestToCQRS dispatchRequestToCQRS) + { + _dispatchRequestToCQRS = dispatchRequestToCQRS; + } + public override async Task CreateNewUserCarts(CreateNewUserCartsRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task UpdateUserCarts(UpdateUserCartsRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task DeleteUserCarts(DeleteUserCartsRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task GetUserCarts(GetUserCartsRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task GetAllUserCartsByFilter(GetAllUserCartsByFilterRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } +} diff --git a/src/CMSMicroservice.WebApi/Services/UserService.cs b/src/CMSMicroservice.WebApi/Services/UserService.cs index e0a1fb0..13abc6b 100644 --- a/src/CMSMicroservice.WebApi/Services/UserService.cs +++ b/src/CMSMicroservice.WebApi/Services/UserService.cs @@ -6,6 +6,8 @@ using CMSMicroservice.Application.UserCQ.Commands.DeleteUser; using CMSMicroservice.Application.UserCQ.Queries.GetUser; using CMSMicroservice.Application.UserCQ.Queries.GetAllUserByFilter; using CMSMicroservice.Application.UserCQ.Queries.GetJwtToken; +using CMSMicroservice.Application.UserCQ.Queries.AdminGetJwtToken; +using CMSMicroservice.Application.UserCQ.Commands.SetPasswordForUser; namespace CMSMicroservice.WebApi.Services; public class UserService : UserContract.UserContractBase { @@ -39,4 +41,12 @@ public class UserService : UserContract.UserContractBase { return await _dispatchRequestToCQRS.Handle(request, context); } + public override async Task AdminGetJwtToken(AdminGetJwtTokenRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task SetPasswordForUser(SetPasswordForUserRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } } diff --git a/src/CMSMicroservice.WebApi/Services/UserWalletChangeLogService.cs b/src/CMSMicroservice.WebApi/Services/UserWalletChangeLogService.cs new file mode 100644 index 0000000..91b230b --- /dev/null +++ b/src/CMSMicroservice.WebApi/Services/UserWalletChangeLogService.cs @@ -0,0 +1,37 @@ +using CMSMicroservice.Protobuf.Protos.UserWalletChangeLog; +using CMSMicroservice.WebApi.Common.Services; +using CMSMicroservice.Application.UserWalletChangeLogCQ.Commands.CreateNewUserWalletChangeLog; +using CMSMicroservice.Application.UserWalletChangeLogCQ.Commands.UpdateUserWalletChangeLog; +using CMSMicroservice.Application.UserWalletChangeLogCQ.Commands.DeleteUserWalletChangeLog; +using CMSMicroservice.Application.UserWalletChangeLogCQ.Queries.GetUserWalletChangeLog; +using CMSMicroservice.Application.UserWalletChangeLogCQ.Queries.GetAllUserWalletChangeLogByFilter; +namespace CMSMicroservice.WebApi.Services; +public class UserWalletChangeLogService : UserWalletChangeLogContract.UserWalletChangeLogContractBase +{ + private readonly IDispatchRequestToCQRS _dispatchRequestToCQRS; + + public UserWalletChangeLogService(IDispatchRequestToCQRS dispatchRequestToCQRS) + { + _dispatchRequestToCQRS = dispatchRequestToCQRS; + } + public override async Task CreateNewUserWalletChangeLog(CreateNewUserWalletChangeLogRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task UpdateUserWalletChangeLog(UpdateUserWalletChangeLogRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task DeleteUserWalletChangeLog(DeleteUserWalletChangeLogRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task GetUserWalletChangeLog(GetUserWalletChangeLogRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task GetAllUserWalletChangeLogByFilter(GetAllUserWalletChangeLogByFilterRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } +} diff --git a/src/CMSMicroservice.WebApi/Services/UserWalletService.cs b/src/CMSMicroservice.WebApi/Services/UserWalletService.cs new file mode 100644 index 0000000..c487bb1 --- /dev/null +++ b/src/CMSMicroservice.WebApi/Services/UserWalletService.cs @@ -0,0 +1,37 @@ +using CMSMicroservice.Protobuf.Protos.UserWallet; +using CMSMicroservice.WebApi.Common.Services; +using CMSMicroservice.Application.UserWalletCQ.Commands.CreateNewUserWallet; +using CMSMicroservice.Application.UserWalletCQ.Commands.UpdateUserWallet; +using CMSMicroservice.Application.UserWalletCQ.Commands.DeleteUserWallet; +using CMSMicroservice.Application.UserWalletCQ.Queries.GetUserWallet; +using CMSMicroservice.Application.UserWalletCQ.Queries.GetAllUserWalletByFilter; +namespace CMSMicroservice.WebApi.Services; +public class UserWalletService : UserWalletContract.UserWalletContractBase +{ + private readonly IDispatchRequestToCQRS _dispatchRequestToCQRS; + + public UserWalletService(IDispatchRequestToCQRS dispatchRequestToCQRS) + { + _dispatchRequestToCQRS = dispatchRequestToCQRS; + } + public override async Task CreateNewUserWallet(CreateNewUserWalletRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task UpdateUserWallet(UpdateUserWalletRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task DeleteUserWallet(DeleteUserWalletRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task GetUserWallet(GetUserWalletRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } + public override async Task GetAllUserWalletByFilter(GetAllUserWalletByFilterRequest request, ServerCallContext context) + { + return await _dispatchRequestToCQRS.Handle(request, context); + } +} diff --git a/src/CMSMicroservice.WebApi/appsettings.json b/src/CMSMicroservice.WebApi/appsettings.json index 9b32709..297d770 100644 --- a/src/CMSMicroservice.WebApi/appsettings.json +++ b/src/CMSMicroservice.WebApi/appsettings.json @@ -2,7 +2,7 @@ "JwtSecurityKey": "TvlZVx5TJaHs8e9HgUdGzhGP2CIidoI444nAj+8+g7c=", "JwtIssuer": "https://localhost", "JwtAudience": "https://localhost", - "JwtExpiryInDays": 365, + "JwtExpiryInDays": 5, "ConnectionStrings": { "DefaultConnection": "Data Source=185.252.31.42,2019; Initial Catalog=Foursat;User ID=afrino;Password=87zH26nbqT%;Connection Timeout=300000;MultipleActiveResultSets=True;Encrypt=False", "providerName": "System.Data.SqlClient"