diff --git a/docs/model.ndm2 b/docs/model.ndm2 index 5192dfb..2ac5fd9 100644 --- a/docs/model.ndm2 +++ b/docs/model.ndm2 @@ -41384,251 +41384,6 @@ "dataCompressions": [] } }, - { - "objectType": "Table_MSSQL", - "name": "SubmitShopBuyOrderFactorDetail", - "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": "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": "ProductTitle", - "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": "ProductTitle", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "ProductThumbnailPath", - "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": "ProductThumbnailPath", - "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": "", - "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": "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 - }, - { - "objectType": "TableField_MSSQL", - "name": "UnitDiscountPrice", - "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": "UnitDiscountPrice", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - } - ], - "indexes": [], - "primaryKey": { - "objectType": "PrimaryKey_MSSQL", - "name": "_copy_27_copy_1_copy_1", - "fields": [ - "ProductId" - ], - "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": "PaymentMethod", @@ -42788,442 +42543,6 @@ "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": "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": "Amount", - "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": "Amount", - "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": "None", - "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": "None", - "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": "datetime", - "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": "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": "UserAddressId", - "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": "UserAddressId", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "PaymentMethod", - "type": "enum", - "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": "PaymentMethod", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "TotalAmount", - "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": "TotalAmount", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "UserAddressText", - "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": "UserAddressText", - "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": [ - { - "objectType": "ForeignKey_MSSQL", - "name": "fk_GetUserOrderResponse_PaymentMethod_1", - "fields": [ - "PaymentMethod" - ], - "referencedSchema": "CMS", - "referencedTable": "PaymentMethod", - "referencedFields": [ - "IPG" - ], - "onDelete": "", - "onUpdate": "", - "isNotForReplication": false, - "isEnabled": true, - "comment": "", - "sourceCardinality": "NoneRelationship", - "targetCardinality": "NoneRelationship", - "oldName": "" - }, - { - "objectType": "ForeignKey_MSSQL", - "name": "fk_GetUserOrderResponse_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": "UpdateUserOrderRequest", @@ -43600,442 +42919,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": "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": "Amount", - "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": "Amount", - "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": "None", - "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": "None", - "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": "datetime", - "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": "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": "UserAddressId", - "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": "UserAddressId", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "PaymentMethod", - "type": "enum", - "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": "PaymentMethod", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "UserAddressText", - "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": "UserAddressText", - "computedBaseType": "", - "isDefaultConstraint": false, - "defaultConstraint": "", - "isIdentity": false, - "isExistingField": false, - "identitySeed": 0, - "identityIncrement": 0, - "identityIsNotForReplication": false - }, - { - "objectType": "TableField_MSSQL", - "name": "TotalAmount", - "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": "TotalAmount", - "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": [ - { - "objectType": "ForeignKey_MSSQL", - "name": "fk_GetAllUserOrderByFilterResponseModel_PaymentMethod_1", - "fields": [ - "PaymentMethod" - ], - "referencedSchema": "CMS", - "referencedTable": "PaymentMethod", - "referencedFields": [ - "IPG" - ], - "onDelete": "", - "onUpdate": "", - "isNotForReplication": false, - "isEnabled": true, - "comment": "", - "sourceCardinality": "NoneRelationship", - "targetCardinality": "NoneRelationship", - "oldName": "" - }, - { - "objectType": "ForeignKey_MSSQL", - "name": "fk_GetAllUserOrderByFilterResponseModel_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": "UserOrder", @@ -45078,7 +43961,7 @@ "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MSSQL", - "name": "", + "name": "_copy_146", "fields": [ "Id" ], @@ -45323,7 +44206,7 @@ "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MSSQL", - "name": "", + "name": "_copy_145", "fields": [ "Id" ], @@ -45418,7 +44301,7 @@ "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MSSQL", - "name": "", + "name": "_copy_144", "fields": [ "Id" ], @@ -45513,7 +44396,7 @@ "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MSSQL", - "name": "", + "name": "_copy_143", "fields": [ "Id" ], @@ -45758,7 +44641,7 @@ "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MSSQL", - "name": "", + "name": "_copy_142", "fields": [ "Id" ], @@ -46151,7 +45034,7 @@ "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MSSQL", - "name": "", + "name": "_copy_141", "fields": [ "Id" ], @@ -46514,7 +45397,7 @@ "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MSSQL", - "name": "", + "name": "_copy_140", "fields": [ "Id" ], @@ -47215,7 +46098,7 @@ "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MSSQL", - "name": "", + "name": "_copy_139", "fields": [ "Id" ], @@ -47490,7 +46373,7 @@ "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MSSQL", - "name": "", + "name": "_copy_138", "fields": [ "Id" ], @@ -47626,7 +46509,7 @@ "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MSSQL", - "name": "", + "name": "_copy_55", "fields": [ "Id" ], @@ -47721,7 +46604,7 @@ "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MSSQL", - "name": "", + "name": "_copy_54", "fields": [ "Id" ], @@ -47996,7 +46879,7 @@ "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MSSQL", - "name": "", + "name": "_copy_53", "fields": [ "Id" ], @@ -48460,7 +47343,7 @@ "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MSSQL", - "name": "", + "name": "_copy_52", "fields": [ "Id" ], @@ -48894,7 +47777,7 @@ "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MSSQL", - "name": "", + "name": "_copy_51", "fields": [ "Id" ], @@ -49761,7 +48644,7 @@ "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MSSQL", - "name": "", + "name": "_copy_50", "fields": [], "fillFactor": 0, "oldName": "", @@ -51155,7 +50038,7 @@ "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MSSQL", - "name": "", + "name": "_copy_49", "fields": [], "fillFactor": 0, "oldName": "", @@ -51964,7 +50847,7 @@ }, { "objectType": "Table_MSSQL", - "name": "SubmitShopBuyOrderResponse", + "name": "GetUserOrderResponseFactorDetail", "comment": "خروجی ایجاد سفارش کاربر جدید", "owner": "", "isChangeTracking": false, @@ -51978,6 +50861,251 @@ "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": "ProductTitle", + "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": "ProductTitle", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductThumbnailPath", + "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": "ProductThumbnailPath", + "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": "", + "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": "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 + }, + { + "objectType": "TableField_MSSQL", + "name": "UnitDiscountPrice", + "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": "UnitDiscountPrice", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_27_copy_1_copy_1_copy_1", + "fields": [ + "ProductId" + ], + "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": "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", @@ -52003,6 +51131,96 @@ "computedBaseType": "", "isDefaultConstraint": false, "defaultConstraint": "", + "isIdentity": true, + "isExistingField": false, + "identitySeed": -2147483648, + "identityIncrement": -2147483648, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "Amount", + "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": "Amount", + "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": "None", + "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": "None", + "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, @@ -52016,7 +51234,7 @@ "size": -2147483648, "isNullable": "No", "scale": -2147483648, - "comment": "", + "comment": "وضعیت پرداخت", "computedExpression": "", "defaultValue": "", "defaultValueType": "None", @@ -52042,11 +51260,11 @@ { "objectType": "TableField_MSSQL", "name": "PaymentDate", - "type": "datetime2", + "type": "datetime", "size": -2147483648, "isNullable": "Yes", "scale": -2147483648, - "comment": "", + "comment": "تاریخ پرداخت", "computedExpression": "", "defaultValue": "", "defaultValueType": "None", @@ -52069,6 +51287,66 @@ "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": "UserAddressId", + "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": "UserAddressId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, { "objectType": "TableField_MSSQL", "name": "PaymentMethod", @@ -52131,8 +51409,8 @@ }, { "objectType": "TableField_MSSQL", - "name": "TotalAmount", - "type": "bigint", + "name": "FactorDetail", + "type": "Collection", "size": -2147483648, "isNullable": "Yes", "scale": -2147483648, @@ -52149,7 +51427,433 @@ "isPersisted": false, "isSparse": false, "isRowGUIDColumn": false, - "oldName": "TotalAmount", + "oldName": "FactorDetail", + "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": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_GetUserOrderResponse_PaymentMethod_1", + "fields": [ + "PaymentMethod" + ], + "referencedSchema": "CMS", + "referencedTable": "PaymentMethod", + "referencedFields": [ + "IPG" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_GetUserOrderResponse_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_GetUserOrderResponse_GetUserOrderResponseFactorDetail_1", + "fields": [ + "FactorDetail" + ], + "referencedSchema": "CMS", + "referencedTable": "GetUserOrderResponseFactorDetail", + "referencedFields": [ + "ProductId" + ], + "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": "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": "Amount", + "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": "Amount", + "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": "None", + "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": "None", + "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": "datetime", + "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": "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": "UserAddressId", + "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": "UserAddressId", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "PaymentMethod", + "type": "enum", + "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": "PaymentMethod", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "UserAddressText", + "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": "UserAddressText", "computedBaseType": "", "isDefaultConstraint": false, "defaultConstraint": "", @@ -52191,6 +51895,407 @@ } ], "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": [ + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_GetAllUserOrderByFilterResponseModel_PaymentMethod_1", + "fields": [ + "PaymentMethod" + ], + "referencedSchema": "CMS", + "referencedTable": "PaymentMethod", + "referencedFields": [ + "IPG" + ], + "onDelete": "", + "onUpdate": "", + "isNotForReplication": false, + "isEnabled": true, + "comment": "", + "sourceCardinality": "NoneRelationship", + "targetCardinality": "NoneRelationship", + "oldName": "" + }, + { + "objectType": "ForeignKey_MSSQL", + "name": "fk_GetAllUserOrderByFilterResponseModel_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_GetAllUserOrderByFilterResponseModel_GetAllUserOrderByFilterResponseModelFactorDetail_1", + "fields": [ + "FactorDetail" + ], + "referencedSchema": "CMS", + "referencedTable": "GetAllUserOrderByFilterResponseModelFactorDetail", + "referencedFields": [ + "ProductId" + ], + "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": "GetAllUserOrderByFilterResponseModelFactorDetail", + "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": "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": "ProductTitle", + "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": "ProductTitle", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + }, + { + "objectType": "TableField_MSSQL", + "name": "ProductThumbnailPath", + "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": "ProductThumbnailPath", + "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": "", + "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": "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 + }, + { + "objectType": "TableField_MSSQL", + "name": "UnitDiscountPrice", + "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": "UnitDiscountPrice", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], + "primaryKey": { + "objectType": "PrimaryKey_MSSQL", + "name": "_copy_27_copy_1_copy_1_copy_1_copy_1", + "fields": [ + "ProductId" + ], + "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": "SubmitShopBuyOrderResponse", + "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": "None", + "schema": "", + "userDefinedType": "", + "collate": "", + "isWithValues": false, + "isFilestream": false, + "isColumnSet": false, + "isPersisted": false, + "isSparse": false, + "isRowGUIDColumn": false, + "oldName": "Id", + "computedBaseType": "", + "isDefaultConstraint": false, + "defaultConstraint": "", + "isIdentity": false, + "isExistingField": false, + "identitySeed": 0, + "identityIncrement": 0, + "identityIsNotForReplication": false + } + ], + "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MSSQL", "name": "_copy_27_copy_1", @@ -56141,22 +56246,6 @@ "a": 1 } }, - { - "type": "table", - "schemaName": "CMS", - "tableName": "SubmitShopBuyOrderFactorDetail", - "x": 8260, - "y": 10510, - "width": 400, - "height": 237, - "isBold": false, - "titleColor": { - "r": 200, - "g": 255, - "b": 160, - "a": 1 - } - }, { "type": "table", "schemaName": "CMS", @@ -56524,6 +56613,38 @@ "b": 160, "a": 1 } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetUserOrderResponseFactorDetail", + "x": 9363, + "y": 6235, + "width": 400, + "height": 237, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } + }, + { + "type": "table", + "schemaName": "CMS", + "tableName": "GetAllUserOrderByFilterResponseModelFactorDetail", + "x": 4798, + "y": 6415, + "width": 400, + "height": 237, + "isBold": false, + "titleColor": { + "r": 200, + "g": 255, + "b": 160, + "a": 1 + } } ], "layers": [ @@ -64836,40 +64957,6 @@ "isVisible": false } }, - { - "name": "fk_SubmitShopBuyOrderResponse_SubmitShopBuyOrderFactorDetail_1", - "sourceTableName": "SubmitShopBuyOrderResponse", - "sourceSchemaName": "CMS", - "lineWidth": 1, - "visible": true, - "vertices": [ - { - "x": 8470, - "y": 10785 - }, - { - "x": 8470, - "y": 10762 - } - ], - "label": { - "x": 8478, - "y": 10763, - "width": 485, - "height": 32, - "fontName": "Sans", - "fontSize": 14, - "fontColor": { - "r": 51, - "g": 51, - "b": 51, - "a": 1 - }, - "isFontBold": false, - "isFontItalic": false, - "isVisible": false - } - }, { "name": "fk_SubmitShopBuyOrderResponse_PaymentMethod_1", "sourceTableName": "SubmitShopBuyOrderResponse", @@ -66541,6 +66628,82 @@ "isFontItalic": false, "isVisible": false } + }, + { + "name": "fk_GetUserOrderResponse_GetUserOrderResponseFactorDetail_1", + "sourceTableName": "GetUserOrderResponse", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 9565, + "y": 6670 + }, + { + "x": 9563, + "y": 6670 + }, + { + "x": 9563, + "y": 6487 + } + ], + "label": { + "x": 9131, + "y": 6630, + "width": 444, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } + }, + { + "name": "fk_GetAllUserOrderByFilterResponseModel_GetAllUserOrderByFilterResponseModelFactorDetail_1", + "sourceTableName": "GetAllUserOrderByFilterResponseModel", + "sourceSchemaName": "CMS", + "lineWidth": 1, + "visible": true, + "vertices": [ + { + "x": 5035, + "y": 6174 + }, + { + "x": 4998, + "y": 6174 + }, + { + "x": 4998, + "y": 6400 + } + ], + "label": { + "x": 4383, + "y": 6134, + "width": 662, + "height": 32, + "fontName": "Sans", + "fontSize": 14, + "fontColor": { + "r": 51, + "g": 51, + "b": 51, + "a": 1 + }, + "isFontBold": false, + "isFontItalic": false, + "isVisible": false + } } ], "viewRelations": []