Skip to content
This repository was archived by the owner on Feb 4, 2021. It is now read-only.

Commit 1db4253

Browse files
committed
Add department proto
1 parent 6e73f31 commit 1db4253

File tree

3 files changed

+125
-0
lines changed

3 files changed

+125
-0
lines changed

api/protos/type/department.proto

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
syntax = "proto3";
2+
3+
package programming_lab.prolab_accounts.type;
4+
5+
option go_package = "github.com/ProgrammingLab/prolab-accounts/api/type;type_pb";
6+
7+
message Department {
8+
uint32 id = 1;
9+
string name = 2;
10+
string short_name = 3;
11+
}

api/type/department.pb.go

Lines changed: 95 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/type/department.swagger.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"title": "department.proto",
5+
"version": "version not set"
6+
},
7+
"schemes": [
8+
"http",
9+
"https"
10+
],
11+
"consumes": [
12+
"application/json"
13+
],
14+
"produces": [
15+
"application/json"
16+
],
17+
"paths": {},
18+
"definitions": {}
19+
}

0 commit comments

Comments
 (0)