| 12345678910111213141516171819202122232425 |
- package model
- import "github.com/zeromicro/go-zero/core/stores/sqlx"
- var _ CbMsgModel = (*customCbMsgModel)(nil)
- type (
- // CbMsgModel is an interface to be customized, add more methods here,
- // and implement the added methods in customCbMsgModel.
- CbMsgModel interface {
- cbMsgModel
- }
- customCbMsgModel struct {
- *defaultCbMsgModel
- }
- )
- // NewCbMsgModel returns a model for the database table.
- func NewCbMsgModel(conn sqlx.SqlConn) CbMsgModel {
- return &customCbMsgModel{
- defaultCbMsgModel: newCbMsgModel(conn),
- }
- }
|