cbmsgmodel.go 529 B

12345678910111213141516171819202122232425
  1. package model
  2. import "github.com/zeromicro/go-zero/core/stores/sqlx"
  3. var _ CbMsgModel = (*customCbMsgModel)(nil)
  4. type (
  5. // CbMsgModel is an interface to be customized, add more methods here,
  6. // and implement the added methods in customCbMsgModel.
  7. CbMsgModel interface {
  8. cbMsgModel
  9. }
  10. customCbMsgModel struct {
  11. *defaultCbMsgModel
  12. }
  13. )
  14. // NewCbMsgModel returns a model for the database table.
  15. func NewCbMsgModel(conn sqlx.SqlConn) CbMsgModel {
  16. return &customCbMsgModel{
  17. defaultCbMsgModel: newCbMsgModel(conn),
  18. }
  19. }