{ "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": "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 } ], "indexes": [], "primaryKey": { "objectType": "PrimaryKey_MSSQL", "name": "", "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": "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": "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 } ], "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": "" } ], "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": [] } } ], "views": [] } ] } ] }, "diagrams": [ { "name": "CMS", "paperWidth": 1, "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": 170, "y": 460, "width": 280, "height": 220, "isBold": false, "titleColor": { "r": 55, "g": 131, "b": 192, "a": 1 } }, { "type": "table", "schemaName": "CMS", "tableName": "UserAddress", "x": 150, "y": 730, "width": 310, "height": 220, "isBold": false, "titleColor": { "r": 55, "g": 131, "b": 192, "a": 1 } }, { "type": "table", "schemaName": "CMS", "tableName": "Package", "x": 860, "y": 480, "width": 310, "height": 170, "isBold": false, "titleColor": { "r": 55, "g": 131, "b": 192, "a": 1 } }, { "type": "table", "schemaName": "CMS", "tableName": "UserOrder", "x": 500, "y": 450, "width": 310, "height": 230, "isBold": false, "titleColor": { "r": 55, "g": 131, "b": 192, "a": 1 } }, { "type": "table", "schemaName": "CMS", "tableName": "Role", "x": 150, "y": 90, "width": 310, "height": 130, "isBold": false, "titleColor": { "r": 55, "g": 131, "b": 192, "a": 1 } }, { "type": "table", "schemaName": "CMS", "tableName": "UserRole", "x": 150, "y": 270, "width": 310, "height": 130, "isBold": false, "titleColor": { "r": 55, "g": 131, "b": 192, "a": 1 } } ], "layers": [ { "name": "Domain", "x": 100, "y": 40, "width": 1125, "height": 970, "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": 465, "y": 650 }, { "x": 480, "y": 650 }, { "x": 480, "y": 710 }, { "x": 420, "y": 710 }, { "x": 420, "y": 695 } ], "label": { "x": 455, "y": 612, "width": 104, "height": 30, "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": 310, "y": 715 }, { "x": 310, "y": 695 } ], "label": { "x": 155, "y": 685, "width": 157, "height": 30, "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": 310, "y": 255 }, { "x": 310, "y": 235 } ], "label": { "x": 318, "y": 265, "width": 135, "height": 30, "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": 310, "y": 415 }, { "x": 310, "y": 445 } ], "label": { "x": 178, "y": 365, "width": 134, "height": 30, "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": 825, "y": 570 }, { "x": 845, "y": 570 } ], "label": { "x": 647, "y": 532, "width": 168, "height": 30, "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": 485, "y": 570 }, { "x": 465, "y": 570 } ], "label": { "x": 353, "y": 532, "width": 142, "height": 30, "fontName": "Arial Unicode MS", "fontSize": 14, "fontColor": { "r": 51, "g": 51, "b": 51, "a": 1 }, "isFontBold": false, "isFontItalic": false, "isVisible": false } } ], "viewRelations": [] } ] }