sign_up.proto 619 B

123456789101112131415161718
  1. syntax = "proto3";
  2. package archive.service.up.v1;
  3. import "github.com/gogo/protobuf/gogoproto/gogo.proto";
  4. option go_package = "v1";
  5. // SignUp 签约up
  6. message SignUp {
  7. // Mid 签约up主ID
  8. int64 Mid = 1 [(gogoproto.jsontag) = "mid"];
  9. // State 签约状态
  10. int32 State = 2 [(gogoproto.jsontag) = "state"];
  11. // BeginDate 经纪签约开始时间
  12. int64 BeginDate = 3 [(gogoproto.jsontag) = "begin_date", (gogoproto.casttype) = "go-common/library/time.Time"];
  13. // EndDate 经纪签约结束时间
  14. int64 EndDate = 4 [(gogoproto.jsontag) = "end_date", (gogoproto.casttype) = "go-common/library/time.Time"];
  15. }