17 lines
373 B
Protocol Buffer
17 lines
373 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package sdbc;
|
|
|
|
option go_package = "./;sdbc";
|
|
|
|
|
|
// @table_name: articles
|
|
message ModelArticles {
|
|
int64 id = 1; // 主键ID
|
|
string title = 2; // 标题
|
|
string avatar_url = 5; // 封面
|
|
string phone = 6; // 手机号码
|
|
int64 create_time = 12; // 创建时间
|
|
int64 update_time = 13; // 更新时间
|
|
}
|