Demo entry 6531385

1

   

Submitted by anonymous on Jun 01, 2017 at 04:10
Language: JSON. Code size: 1.7 kB.

{
	"DepositoryManager": {
		"Depository": {
			"id": "xyz",
			"name": "YSS",
			"description": "描述",
			
			"Table": [
				{
					"id": "6b9056c8ce52456b",
					"name": "T_DEMO_CONTRACT",
					"alias": "合同",
					"sid": "abc",
					"Field": [
						{
							"id": "f07f3367a097fee1",
							"name": "PRODUCT_ID",
							"alias": "产品ID",
							"type": "INT",
							"size": 11,
							"is_null": 1,
							"default_value": "",
							"MetaData": {},
							"Comment": "数据库备注(默认alias使用comment, 没有comment就用name)",
							"description": "描述"
						}, {
							"id": "f67418f75548e15b",
							"name": "ID",
							"alias": "合同ID",
							"type": "INT",
							"size": 11,
							"is_null": 1,
							"default_value": "",
							"MetaData": {},
							"description": "描述"
						}
					],
					"MetaData": {},
					"Comment": "数据库中备注",
					"description": "描述"
				}, {
					"id": "7b0b2f918c4cbc7e",
					"name": "T_DEMO_PRODUCT",
					"alias": "产品",
					"sid": "abc",
					"Field": {
						"ref_id": "f67418f75548e15b"
					},
					"MetaData": {},
					"description": ""
				}, {
					"id": "38c6ff34aecc91ac",
					"name": "T_DEMO_CAPITAL_RETURN",
					"alias": "回款",
					"sid": "abc",
					"Field": {
						"ref_id": "f67418f75548e15b"
					},
					"MetaData": {},
					"Comment": "数据库中备注",
					"description": "描述"
				}
			],
				
			"Relation": [
				{
					"id": "1id.Nid",
					"name": "总是记录从1到N",
					"alias": "xx",
					"from_sid": "",
					"to_sid": "",
					"from_tid": "1TableId",
					"to_tid": "NTableId",
					"from_fid": "1FieldId",
					"to_fid": "NFieldId",
					"is_custom": 0
				}
			]
		}
	}
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).