Files
SergObsidian/WORK & PROJECTS/Mol/Планы и диаграммы/Схема связей юрлиц и адресов.canvas
2025-03-24 16:17:06 +05:00

51 lines
6.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"nodes":[
{"id":"d94f3e39735afb77","type":"group","x":-1440,"y":-440,"width":600,"height":620,"label":"ПРИВЯЗЫВАЮТСЯ ИЗ \"ТУРБО-ЗАПУСКА\""},
{"id":"4fd8d9baf0436d63","type":"text","text":"### Головная компания","x":-578,"y":-780,"width":378,"height":60},
{"id":"92da4483fb81e6c1","type":"text","text":"#### Филиал extends головная компания","x":-320,"y":-615,"width":378,"height":70},
{"id":"7530d1785d283b58","type":"text","text":"Модель Контрагенты","x":175,"y":-850,"width":250,"height":200,"color":"4"},
{"id":"e07a1078b5103884","type":"text","text":"#### Отделения","x":-578,"y":-220,"width":378,"height":60},
{"id":"dab260d20c3ea59f","type":"text","text":"#### Помещения","x":-800,"y":-50,"width":378,"height":60},
{"id":"15b8ff50fc2160bb","type":"text","text":"#### Оборудование","x":-800,"y":80,"width":378,"height":60},
{"id":"255d7f03c8b1fd50","type":"text","text":"#### Сотрудники","x":-340,"y":-50,"width":378,"height":60},
{"id":"46d782ca56f1d62e","type":"text","text":"###### ГОСТ (сущность для удобного поиска и фильтрации)","x":-1980,"y":300,"width":378,"height":60},
{"id":"eecf7ab6433cef42","type":"text","text":"#### Методы","x":-1300,"y":80,"width":378,"height":60},
{"id":"fd8f0fbf4a6597b0","type":"text","text":"#### Типы методов","x":-1300,"y":-50,"width":378,"height":60},
{"id":"575c818d4d640359","type":"text","text":"#### Методики","x":-1300,"y":300,"width":378,"height":60},
{"id":"9011aee8f0b19eaa","type":"text","text":"#### Методика/гост ВНЕ ОА\nвозможность В ЗАЯВКЕ искать методику по внешней базе ИЛИ написать её название вручную и назначить МЕТОД, из которого уже будет определяться отделение и заявка будет отправлена на согласование дальше (начальнику отделения или лаборатории).","x":-1300,"y":440,"width":378,"height":260},
{"id":"710428ebe0675514","type":"text","text":"При bvgjhnt помещений и отделений предлагать сразу привязать МЕТОДЫ или их ТИПЫ.","x":-1400,"y":-400,"width":520,"height":160},
{"id":"bd4881ae142255a5","type":"text","text":"#### …юзеры и роли…","x":175,"y":-130,"width":250,"height":220,"color":"4"},
{"id":"aa49eaec543d26bc","type":"text","text":"### contragents\nid\nname\ninn\ntype\n\nokpo\n","x":-460,"y":731,"width":250,"height":338},
{"id":"ae317f8ba70e265f","type":"text","text":"### affiliates\nid\nis_main\ncontragent_id\nogrn\nadd","x":460,"y":731,"width":250,"height":338},
{"id":"dcb3fe2f49183a2e","type":"text","text":"addresses","x":0,"y":1380,"width":250,"height":60},
{"id":"19bffddbc3adb843","type":"text","text":"addresses","x":0,"y":1320,"width":250,"height":60},
{"id":"2788e9f4ca561be0","type":"text","text":"#### addresses_contr_affil\ncontragent_id, affiliate_id, address_type_id, address_id, accreditation_id","x":-75,"y":1180,"width":400,"height":120},
{"id":"e1615a091652d9e6","type":"text","text":"bank requisuites","x":1240,"y":1440,"width":250,"height":60},
{"id":"446cefb84bb02588","type":"text","text":"#### Места осуществления деятельности (адреса)","x":-578,"y":-400,"width":378,"height":80},
{"id":"a3113e16dd6b405b","type":"text","text":"#### address_types\n1. Юридический\n2. Фактический\n3. Почтовый\n4. Место осуществл. деят.","x":0,"y":940,"width":250,"height":220},
{"id":"8587b0d5a100ab68","type":"text","text":"#### Address accreditation\nid\nact_num\nact_date\nact_file\n","x":460,"y":1261,"width":250,"height":209}
],
"edges":[
{"id":"54790b81ac62bf31","fromNode":"4fd8d9baf0436d63","fromSide":"bottom","toNode":"446cefb84bb02588","toSide":"top","label":"one2many"},
{"id":"c08b68a0207f8518","fromNode":"4fd8d9baf0436d63","fromSide":"bottom","toNode":"92da4483fb81e6c1","toSide":"top"},
{"id":"9caca5249f3c492e","fromNode":"92da4483fb81e6c1","fromSide":"bottom","toNode":"446cefb84bb02588","toSide":"top","label":"one2many"},
{"id":"152fb559399b7ce4","fromNode":"446cefb84bb02588","fromSide":"bottom","toNode":"e07a1078b5103884","toSide":"top","label":"one2many"},
{"id":"6e21094caf357f2c","fromNode":"e07a1078b5103884","fromSide":"bottom","toNode":"dab260d20c3ea59f","toSide":"top","label":"one2many"},
{"id":"be7c2ebcd572e2f2","fromNode":"dab260d20c3ea59f","fromSide":"bottom","toNode":"15b8ff50fc2160bb","toSide":"top","label":"many2many"},
{"id":"20122245165afed3","fromNode":"e07a1078b5103884","fromSide":"bottom","toNode":"255d7f03c8b1fd50","toSide":"top","label":"one2many"},
{"id":"b56765708ee3d6ba","fromNode":"bd4881ae142255a5","fromSide":"left","toNode":"255d7f03c8b1fd50","toSide":"right"},
{"id":"83dfe838809cbcf3","fromNode":"7530d1785d283b58","fromSide":"left","toNode":"4fd8d9baf0436d63","toSide":"right"},
{"id":"5a8b6b12d113a2e7","fromNode":"7530d1785d283b58","fromSide":"left","toNode":"92da4483fb81e6c1","toSide":"right"},
{"id":"d7266d6903130777","fromNode":"eecf7ab6433cef42","fromSide":"bottom","toNode":"575c818d4d640359","toSide":"top","label":"one2many"},
{"id":"da59a17b430c5a9f","fromNode":"46d782ca56f1d62e","fromSide":"right","toNode":"575c818d4d640359","toSide":"left","label":"one2many"},
{"id":"04133062853c1c67","fromNode":"fd8f0fbf4a6597b0","fromSide":"bottom","toNode":"eecf7ab6433cef42","toSide":"top","label":"one2many"},
{"id":"3065151db65dd603","fromNode":"fd8f0fbf4a6597b0","fromSide":"top","toNode":"e07a1078b5103884","toSide":"left","label":"many2many"},
{"id":"bf3486bbf4d33778","fromNode":"aa49eaec543d26bc","fromSide":"right","toNode":"ae317f8ba70e265f","toSide":"left","label":"o2m"},
{"id":"0bbfea68b6ed283d","fromNode":"aa49eaec543d26bc","fromSide":"bottom","toNode":"2788e9f4ca561be0","toSide":"left","label":"m2m_thru"},
{"id":"06d5aa1801dc7673","fromNode":"ae317f8ba70e265f","fromSide":"bottom","toNode":"2788e9f4ca561be0","toSide":"right","label":"m2m_thru"},
{"id":"582421a060ba435c","fromNode":"2788e9f4ca561be0","fromSide":"left","toNode":"19bffddbc3adb843","toSide":"left","label":"m2o"},
{"id":"8133978f902f4a61","fromNode":"2788e9f4ca561be0","fromSide":"right","toNode":"dcb3fe2f49183a2e","toSide":"right","label":"m2o"},
{"id":"f12b0ffd589ca0ad","fromNode":"a3113e16dd6b405b","fromSide":"bottom","toNode":"2788e9f4ca561be0","toSide":"top"},
{"id":"9872480c0fc8f389","fromNode":"2788e9f4ca561be0","fromSide":"right","toNode":"8587b0d5a100ab68","toSide":"left"}
]
}