dcEventBindModel.go 613 B

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