mdbc/autogen_model_model.go

36 lines
668 B
Go

// Code generated by protoc-gen-coco. DO NOT EDIT.
// source: model.proto
// generate at: 2023-06-18 18:16:24
package mdbc
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"
}