56 lines
1.0 KiB
Go
56 lines
1.0 KiB
Go
// Code generated by protoc-gen-coco. DO NOT EDIT.
|
|
// source: model/v1/pastebin_model.proto
|
|
// generate at: 2023-09-30 21:44:38
|
|
|
|
package modelv1
|
|
|
|
const TableNameModelPastebin = "pastebin"
|
|
|
|
func (t *ModelPastebin) TableName() string {
|
|
return "pastebin"
|
|
}
|
|
|
|
func (m *ModelPastebin) GetIdField() string {
|
|
return "_id"
|
|
}
|
|
|
|
func (m *ModelPastebin) GetCreatedAtField() string {
|
|
return "created_at"
|
|
}
|
|
|
|
func (m *ModelPastebin) GetExpiredAtField() string {
|
|
return "expired_at"
|
|
}
|
|
|
|
func (m *ModelPastebin) GetShortIdField() string {
|
|
return "short_id"
|
|
}
|
|
|
|
func (m *ModelPastebin) GetTitleField() string {
|
|
return "title"
|
|
}
|
|
|
|
func (m *ModelPastebin) GetAuthorField() string {
|
|
return "author"
|
|
}
|
|
|
|
func (m *ModelPastebin) GetContentField() string {
|
|
return "content"
|
|
}
|
|
|
|
func (m *ModelPastebin) GetLangField() string {
|
|
return "lang"
|
|
}
|
|
|
|
func (m *ModelPastebin) GetPasswordField() string {
|
|
return "password"
|
|
}
|
|
|
|
func (m *ModelPastebin) GetNeedPasswordField() string {
|
|
return "need_password"
|
|
}
|
|
|
|
func (m *ModelPastebin) GetEditableField() string {
|
|
return "editable"
|
|
}
|