dcDeviceBindModel.go 627 B

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