sdbc/autogen_model_model.go

36 lines
668 B
Go
Raw Permalink Normal View History

2023-09-10 16:07:03 +00:00
// Code generated by protoc-gen-coco. DO NOT EDIT.
// source: model.proto
// generate at: 2023-09-11 00:05:45
package sdbc
const TableNameModelArticles = "articles"
func (t *ModelArticles) TableName() string {
return "articles"
}
func (m *ModelArticles) GetIdField() string {
return "_id"
}
func (m *ModelArticles) GetTitleField() string {
return "title"
}
func (m *ModelArticles) GetAvatarUrlField() string {
return "avatar_url"
}
func (m *ModelArticles) GetPhoneField() string {
return "phone"
}
func (m *ModelArticles) GetCreateTimeField() string {
return "create_time"
}
func (m *ModelArticles) GetUpdateTimeField() string {
return "update_time"
}