mirror of
https://github.com/samuelncui/yatm.git
synced 2025-12-23 06:15:22 +00:00
21 lines
412 B
Protocol Buffer
21 lines
412 B
Protocol Buffer
syntax = "proto3";
|
|
package tape;
|
|
option go_package = "github.com/samuelncui/yatm/entity";
|
|
|
|
message Tape {
|
|
int64 id = 1;
|
|
string barcode = 2;
|
|
string name = 3;
|
|
string encryption = 4;
|
|
|
|
int64 create_time = 17;
|
|
optional int64 destroy_time = 18;
|
|
int64 capacity_bytes = 19;
|
|
int64 writen_bytes = 20;
|
|
}
|
|
|
|
message TapeFilter {
|
|
optional int64 limit = 33;
|
|
optional int64 offset = 34;
|
|
}
|