36 lines
668 B
Go
36 lines
668 B
Go
|
// 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"
|
||
|
}
|