Update model.ndm2
This commit is contained in:
645
docs/model.ndm2
645
docs/model.ndm2
@@ -39465,36 +39465,6 @@
|
||||
"identitySeed": 0,
|
||||
"identityIncrement": 0,
|
||||
"identityIsNotForReplication": false
|
||||
},
|
||||
{
|
||||
"objectType": "TableField_MSSQL",
|
||||
"name": "ExtraInfo",
|
||||
"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": "ExtraInfo",
|
||||
"computedBaseType": "",
|
||||
"isDefaultConstraint": false,
|
||||
"defaultConstraint": "",
|
||||
"isIdentity": false,
|
||||
"isExistingField": false,
|
||||
"identitySeed": 0,
|
||||
"identityIncrement": 0,
|
||||
"identityIsNotForReplication": false
|
||||
}
|
||||
],
|
||||
"indexes": [],
|
||||
@@ -39620,42 +39590,12 @@
|
||||
"identitySeed": 0,
|
||||
"identityIncrement": 0,
|
||||
"identityIsNotForReplication": false
|
||||
},
|
||||
{
|
||||
"objectType": "TableField_MSSQL",
|
||||
"name": "ExtraInfo",
|
||||
"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": "ExtraInfo",
|
||||
"computedBaseType": "",
|
||||
"isDefaultConstraint": false,
|
||||
"defaultConstraint": "",
|
||||
"isIdentity": false,
|
||||
"isExistingField": false,
|
||||
"identitySeed": 0,
|
||||
"identityIncrement": 0,
|
||||
"identityIsNotForReplication": false
|
||||
}
|
||||
],
|
||||
"indexes": [],
|
||||
"primaryKey": {
|
||||
"objectType": "PrimaryKey_MSSQL",
|
||||
"name": "",
|
||||
"name": "_copy_105",
|
||||
"fields": [],
|
||||
"fillFactor": 0,
|
||||
"oldName": "",
|
||||
@@ -39696,6 +39636,477 @@
|
||||
"filestreamPartitionScheme": "",
|
||||
"dataCompressions": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"objectType": "Table_MSSQL",
|
||||
"name": "Contract",
|
||||
"comment": "قراردادها",
|
||||
"owner": "",
|
||||
"isChangeTracking": false,
|
||||
"isTrackColumnsUpdated": false,
|
||||
"oldName": "",
|
||||
"isSystemTable": false,
|
||||
"createTime": "",
|
||||
"modifyTime": "",
|
||||
"objectID": 0,
|
||||
"numberOfRows": 0,
|
||||
"identityCurrent": 0,
|
||||
"dataLength": 0,
|
||||
"indexLength": 0,
|
||||
"fields": [
|
||||
{
|
||||
"objectType": "TableField_MSSQL",
|
||||
"name": "Id",
|
||||
"type": "bigint",
|
||||
"size": -2147483648,
|
||||
"isNullable": "No",
|
||||
"scale": -2147483648,
|
||||
"comment": "شناسه",
|
||||
"computedExpression": "",
|
||||
"defaultValue": "",
|
||||
"defaultValueType": "None",
|
||||
"schema": "",
|
||||
"userDefinedType": "",
|
||||
"collate": "",
|
||||
"isWithValues": false,
|
||||
"isFilestream": false,
|
||||
"isColumnSet": false,
|
||||
"isPersisted": false,
|
||||
"isSparse": false,
|
||||
"isRowGUIDColumn": false,
|
||||
"oldName": "Id",
|
||||
"computedBaseType": "",
|
||||
"isDefaultConstraint": false,
|
||||
"defaultConstraint": "",
|
||||
"isIdentity": true,
|
||||
"isExistingField": false,
|
||||
"identitySeed": -2147483648,
|
||||
"identityIncrement": -2147483648,
|
||||
"identityIsNotForReplication": false
|
||||
},
|
||||
{
|
||||
"objectType": "TableField_MSSQL",
|
||||
"name": "Title",
|
||||
"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": "Title",
|
||||
"computedBaseType": "",
|
||||
"isDefaultConstraint": false,
|
||||
"defaultConstraint": "",
|
||||
"isIdentity": false,
|
||||
"isExistingField": false,
|
||||
"identitySeed": 0,
|
||||
"identityIncrement": 0,
|
||||
"identityIsNotForReplication": false
|
||||
},
|
||||
{
|
||||
"objectType": "TableField_MSSQL",
|
||||
"name": "Description",
|
||||
"type": "nvarchar",
|
||||
"size": -2147483648,
|
||||
"isNullable": "No",
|
||||
"scale": -2147483648,
|
||||
"comment": "توضیحات",
|
||||
"computedExpression": "",
|
||||
"defaultValue": "",
|
||||
"defaultValueType": "None",
|
||||
"schema": "",
|
||||
"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": "HtmlContent",
|
||||
"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": "HtmlContent",
|
||||
"computedBaseType": "",
|
||||
"isDefaultConstraint": false,
|
||||
"defaultConstraint": "",
|
||||
"isIdentity": false,
|
||||
"isExistingField": false,
|
||||
"identitySeed": 0,
|
||||
"identityIncrement": 0,
|
||||
"identityIsNotForReplication": false
|
||||
},
|
||||
{
|
||||
"objectType": "TableField_MSSQL",
|
||||
"name": "Type",
|
||||
"type": "enum",
|
||||
"size": -2147483648,
|
||||
"isNullable": "No",
|
||||
"scale": -2147483648,
|
||||
"comment": "نوع قرارداد",
|
||||
"computedExpression": "",
|
||||
"defaultValue": "",
|
||||
"defaultValueType": "None",
|
||||
"schema": "",
|
||||
"userDefinedType": "",
|
||||
"collate": "",
|
||||
"isWithValues": false,
|
||||
"isFilestream": false,
|
||||
"isColumnSet": false,
|
||||
"isPersisted": false,
|
||||
"isSparse": false,
|
||||
"isRowGUIDColumn": false,
|
||||
"oldName": "Type",
|
||||
"computedBaseType": "",
|
||||
"isDefaultConstraint": false,
|
||||
"defaultConstraint": "",
|
||||
"isIdentity": false,
|
||||
"isExistingField": false,
|
||||
"identitySeed": 0,
|
||||
"identityIncrement": 0,
|
||||
"identityIsNotForReplication": false
|
||||
}
|
||||
],
|
||||
"indexes": [],
|
||||
"primaryKey": {
|
||||
"objectType": "PrimaryKey_MSSQL",
|
||||
"name": "_copy_1_copy_1_copy_2_copy_2_copy_2",
|
||||
"fields": [
|
||||
"Id"
|
||||
],
|
||||
"fillFactor": 0,
|
||||
"oldName": "",
|
||||
"isClustered": true,
|
||||
"isPadded": false,
|
||||
"noRecomputeStatistics": false,
|
||||
"ignoreDuplicatedKeyValues": false,
|
||||
"allowRowLocks": true,
|
||||
"allowPageLocks": true,
|
||||
"storage": {
|
||||
"objectType": "Storage_MSSQL",
|
||||
"name": "",
|
||||
"oldName": "",
|
||||
"storageType": "Default",
|
||||
"filegroup": "",
|
||||
"textImageFilegroup": "",
|
||||
"filestreamFilegroup": "",
|
||||
"partitionScheme": "",
|
||||
"partitionColumn": "",
|
||||
"filestreamPartitionScheme": "",
|
||||
"dataCompressions": []
|
||||
}
|
||||
},
|
||||
"foreignKeys": [],
|
||||
"uniques": [],
|
||||
"checks": [],
|
||||
"triggers": [],
|
||||
"storage": {
|
||||
"objectType": "Storage_MSSQL",
|
||||
"name": "",
|
||||
"oldName": "",
|
||||
"storageType": "Default",
|
||||
"filegroup": "",
|
||||
"textImageFilegroup": "",
|
||||
"filestreamFilegroup": "",
|
||||
"partitionScheme": "",
|
||||
"partitionColumn": "",
|
||||
"filestreamPartitionScheme": "",
|
||||
"dataCompressions": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"objectType": "Table_MSSQL",
|
||||
"name": "UserContract",
|
||||
"comment": "قراردادها",
|
||||
"owner": "",
|
||||
"isChangeTracking": false,
|
||||
"isTrackColumnsUpdated": false,
|
||||
"oldName": "",
|
||||
"isSystemTable": false,
|
||||
"createTime": "",
|
||||
"modifyTime": "",
|
||||
"objectID": 0,
|
||||
"numberOfRows": 0,
|
||||
"identityCurrent": 0,
|
||||
"dataLength": 0,
|
||||
"indexLength": 0,
|
||||
"fields": [
|
||||
{
|
||||
"objectType": "TableField_MSSQL",
|
||||
"name": "Id",
|
||||
"type": "bigint",
|
||||
"size": -2147483648,
|
||||
"isNullable": "No",
|
||||
"scale": -2147483648,
|
||||
"comment": "شناسه",
|
||||
"computedExpression": "",
|
||||
"defaultValue": "",
|
||||
"defaultValueType": "None",
|
||||
"schema": "",
|
||||
"userDefinedType": "",
|
||||
"collate": "",
|
||||
"isWithValues": false,
|
||||
"isFilestream": false,
|
||||
"isColumnSet": false,
|
||||
"isPersisted": false,
|
||||
"isSparse": false,
|
||||
"isRowGUIDColumn": false,
|
||||
"oldName": "Id",
|
||||
"computedBaseType": "",
|
||||
"isDefaultConstraint": false,
|
||||
"defaultConstraint": "",
|
||||
"isIdentity": true,
|
||||
"isExistingField": false,
|
||||
"identitySeed": -2147483648,
|
||||
"identityIncrement": -2147483648,
|
||||
"identityIsNotForReplication": false
|
||||
},
|
||||
{
|
||||
"objectType": "TableField_MSSQL",
|
||||
"name": "UserId",
|
||||
"type": "bigint",
|
||||
"size": -2147483648,
|
||||
"isNullable": "No",
|
||||
"scale": -2147483648,
|
||||
"comment": "شناسه کاربر",
|
||||
"computedExpression": "",
|
||||
"defaultValue": "",
|
||||
"defaultValueType": "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": "ContractId",
|
||||
"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": "ContractId",
|
||||
"computedBaseType": "",
|
||||
"isDefaultConstraint": false,
|
||||
"defaultConstraint": "",
|
||||
"isIdentity": false,
|
||||
"isExistingField": false,
|
||||
"identitySeed": 0,
|
||||
"identityIncrement": 0,
|
||||
"identityIsNotForReplication": false
|
||||
},
|
||||
{
|
||||
"objectType": "TableField_MSSQL",
|
||||
"name": "SignGuid",
|
||||
"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": "SignGuid",
|
||||
"computedBaseType": "",
|
||||
"isDefaultConstraint": false,
|
||||
"defaultConstraint": "",
|
||||
"isIdentity": false,
|
||||
"isExistingField": false,
|
||||
"identitySeed": 0,
|
||||
"identityIncrement": 0,
|
||||
"identityIsNotForReplication": false
|
||||
},
|
||||
{
|
||||
"objectType": "TableField_MSSQL",
|
||||
"name": "SignedPdfFile",
|
||||
"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": "SignedPdfFile",
|
||||
"computedBaseType": "",
|
||||
"isDefaultConstraint": false,
|
||||
"defaultConstraint": "",
|
||||
"isIdentity": false,
|
||||
"isExistingField": false,
|
||||
"identitySeed": 0,
|
||||
"identityIncrement": 0,
|
||||
"identityIsNotForReplication": false
|
||||
}
|
||||
],
|
||||
"indexes": [],
|
||||
"primaryKey": {
|
||||
"objectType": "PrimaryKey_MSSQL",
|
||||
"name": "_copy_1_copy_1_copy_2_copy_2_copy_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_UserContract_User_1",
|
||||
"fields": [
|
||||
"UserId"
|
||||
],
|
||||
"referencedSchema": "CMS",
|
||||
"referencedTable": "User",
|
||||
"referencedFields": [
|
||||
"Id"
|
||||
],
|
||||
"onDelete": "",
|
||||
"onUpdate": "",
|
||||
"isNotForReplication": false,
|
||||
"isEnabled": true,
|
||||
"comment": "",
|
||||
"sourceCardinality": "NoneRelationship",
|
||||
"targetCardinality": "NoneRelationship",
|
||||
"oldName": ""
|
||||
},
|
||||
{
|
||||
"objectType": "ForeignKey_MSSQL",
|
||||
"name": "fk_UserContract_Contract_1",
|
||||
"fields": [
|
||||
"ContractId"
|
||||
],
|
||||
"referencedSchema": "CMS",
|
||||
"referencedTable": "Contract",
|
||||
"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": []
|
||||
@@ -42693,6 +43104,38 @@
|
||||
"b": 147,
|
||||
"a": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "table",
|
||||
"schemaName": "CMS",
|
||||
"tableName": "Contract",
|
||||
"x": 19261,
|
||||
"y": 8492,
|
||||
"width": 310,
|
||||
"height": 258,
|
||||
"isBold": false,
|
||||
"titleColor": {
|
||||
"r": 55,
|
||||
"g": 131,
|
||||
"b": 192,
|
||||
"a": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "table",
|
||||
"schemaName": "CMS",
|
||||
"tableName": "UserContract",
|
||||
"x": 18917,
|
||||
"y": 8464,
|
||||
"width": 310,
|
||||
"height": 258,
|
||||
"isBold": false,
|
||||
"titleColor": {
|
||||
"r": 55,
|
||||
"g": 131,
|
||||
"b": 192,
|
||||
"a": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"layers": [
|
||||
@@ -49476,6 +49919,86 @@
|
||||
"isFontItalic": false,
|
||||
"isVisible": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "fk_UserContract_User_1",
|
||||
"sourceTableName": "UserContract",
|
||||
"sourceSchemaName": "CMS",
|
||||
"lineWidth": 1,
|
||||
"visible": true,
|
||||
"vertices": [
|
||||
{
|
||||
"x": 18902,
|
||||
"y": 8593
|
||||
},
|
||||
{
|
||||
"x": 18700,
|
||||
"y": 8593
|
||||
},
|
||||
{
|
||||
"x": 18700,
|
||||
"y": 8665
|
||||
}
|
||||
],
|
||||
"label": {
|
||||
"x": 18747,
|
||||
"y": 8553,
|
||||
"width": 165,
|
||||
"height": 32,
|
||||
"fontName": "Sans",
|
||||
"fontSize": 14,
|
||||
"fontColor": {
|
||||
"r": 51,
|
||||
"g": 51,
|
||||
"b": 51,
|
||||
"a": 1
|
||||
},
|
||||
"isFontBold": false,
|
||||
"isFontItalic": false,
|
||||
"isVisible": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "fk_UserContract_Contract_1",
|
||||
"sourceTableName": "UserContract",
|
||||
"sourceSchemaName": "CMS",
|
||||
"lineWidth": 1,
|
||||
"visible": true,
|
||||
"vertices": [
|
||||
{
|
||||
"x": 19242,
|
||||
"y": 8593
|
||||
},
|
||||
{
|
||||
"x": 19244,
|
||||
"y": 8593
|
||||
},
|
||||
{
|
||||
"x": 19244,
|
||||
"y": 8621
|
||||
},
|
||||
{
|
||||
"x": 19246,
|
||||
"y": 8621
|
||||
}
|
||||
],
|
||||
"label": {
|
||||
"x": 19232,
|
||||
"y": 8553,
|
||||
"width": 191,
|
||||
"height": 32,
|
||||
"fontName": "Sans",
|
||||
"fontSize": 14,
|
||||
"fontColor": {
|
||||
"r": 51,
|
||||
"g": 51,
|
||||
"b": 51,
|
||||
"a": 1
|
||||
},
|
||||
"isFontBold": false,
|
||||
"isFontItalic": false,
|
||||
"isVisible": false
|
||||
}
|
||||
}
|
||||
],
|
||||
"viewRelations": []
|
||||
|
||||
Reference in New Issue
Block a user