DC-40: added name and description to ContractTemplate and TermSetHierarchy (#147)

This commit is contained in:
Evgeny Levenets 2017-05-24 12:41:15 +03:00 committed by GitHub
parent e8c5cc5556
commit cffd00b4ca

View File

@ -318,6 +318,8 @@ struct ContractTemplateRef { 1: required ObjectID id }
/** Шаблон договора или поправки **/
struct ContractTemplate {
4: optional string name
5: optional string description
1: optional Lifetime valid_since
2: optional Lifetime valid_until
3: required TermSetHierarchyRef terms
@ -362,6 +364,8 @@ struct TimedTermSet {
}
struct TermSetHierarchy {
3: optional string name
4: optional string description
1: optional TermSetHierarchyRef parent_terms
2: required list<TimedTermSet> term_sets
}