sonu gupta | 1bb37b8 | 2016-11-11 16:51:18 +0530 | [diff] [blame] | 1 | module Logistics-manager { |
| 2 | |
| 3 | yang-version 1; |
| 4 | |
| 5 | namespace "ydt.root"; |
| 6 | |
| 7 | prefix "root"; |
| 8 | |
| 9 | organization "ON-LAB"; |
| 10 | |
| 11 | description "This module defines for organisation."; |
| 12 | |
| 13 | revision "2016-05-24" { |
| 14 | description "Initial revision."; |
| 15 | } |
| 16 | |
| 17 | leaf Customs-supervisor { |
| 18 | type string; |
| 19 | description "name of the customs-supervisor."; |
| 20 | } |
| 21 | |
| 22 | leaf Merchandiser-supervisor { |
| 23 | type string; |
| 24 | description "name of merchandiser-supervisor"; |
| 25 | } |
| 26 | |
| 27 | list Material-supervisor { |
| 28 | key "name"; |
| 29 | leaf name { |
| 30 | type string; |
| 31 | description "name of logistics-supervisor"; |
| 32 | } |
| 33 | |
| 34 | leaf departmentId { |
| 35 | type string; |
| 36 | description "name of department"; |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | container Purchasing-supervisor { |
| 41 | leaf purchasing-specialist { |
| 42 | type string; |
| 43 | description "name of the purchasing-specialist person"; |
| 44 | } |
| 45 | |
| 46 | leaf support { |
| 47 | type string; |
| 48 | description "name of the support person"; |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | leaf-list Warehouse-supervisor { |
| 53 | type string; |
| 54 | description "name of the warehouse-supervisor's"; |
| 55 | } |
| 56 | |
| 57 | leaf trading-supervisor { |
| 58 | type string; |
| 59 | description "name of the trading-supervisor"; |
| 60 | } |
| 61 | |
| 62 | leaf-list employee-id { |
| 63 | type string; |
| 64 | description "list of the employee id"; |
| 65 | } |
| 66 | } |