From 0028179dc1e5b8b537060bd1597429256642c45a Mon Sep 17 00:00:00 2001 From: dengbiao Date: Tue, 25 Jun 2024 15:37:41 +0800 Subject: [PATCH] update --- ...er_cloud_issuance_user_robot_bind_circle_dao.go | 5 +++++ ...per_cloud_issuance_user_robot_bind_circle_db.go | 14 ++++++++++++++ .../super_cloud_issuance_user_robot_bind_circle.go | 11 +++++++++++ 3 files changed, 30 insertions(+) create mode 100644 src/dao/super_cloud_issuance_user_robot_bind_circle_dao.go create mode 100644 src/implement/super_cloud_issuance_user_robot_bind_circle_db.go create mode 100644 src/models/super_cloud_issuance_user_robot_bind_circle.go diff --git a/src/dao/super_cloud_issuance_user_robot_bind_circle_dao.go b/src/dao/super_cloud_issuance_user_robot_bind_circle_dao.go new file mode 100644 index 0000000..4eb0a62 --- /dev/null +++ b/src/dao/super_cloud_issuance_user_robot_bind_circle_dao.go @@ -0,0 +1,5 @@ +package dao + +type SuperCloudIssuanceUserRobotBindCircleDao interface { + //TODO:: You can add specific method definitions here +} diff --git a/src/implement/super_cloud_issuance_user_robot_bind_circle_db.go b/src/implement/super_cloud_issuance_user_robot_bind_circle_db.go new file mode 100644 index 0000000..bbd489e --- /dev/null +++ b/src/implement/super_cloud_issuance_user_robot_bind_circle_db.go @@ -0,0 +1,14 @@ +package implement + +import ( + "code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao" + "xorm.io/xorm" +) + +type SuperCloudIssuanceUserRobotBindCircleDb struct { + Db *xorm.Engine +} + +func NewSuperCloudIssuanceUserRobotBindCircleDb(engine *xorm.Engine) dao.SuperCloudIssuanceUserRobotBindCircleDao { + return &SuperCloudIssuanceUserRobotBindCircleDb{Db: engine} +} diff --git a/src/models/super_cloud_issuance_user_robot_bind_circle.go b/src/models/super_cloud_issuance_user_robot_bind_circle.go new file mode 100644 index 0000000..3abef30 --- /dev/null +++ b/src/models/super_cloud_issuance_user_robot_bind_circle.go @@ -0,0 +1,11 @@ +package models + +type SuperCloudIssuanceUserRobotBindCircle struct { + Id int `json:"id" xorm:"not null pk autoincr INT(11)"` + Uid int `json:"uid" xorm:"not null default 0 comment('uid') INT(11)"` + RobotId int `json:"robot_id" xorm:"not null default 0 comment('机器人id') INT(11)"` + GoodsCategoryId int `json:"goods_category_id" xorm:"not null default 0 comment('绑定的商品源分类id') INT(11)"` + State int `json:"state" xorm:"not null default 1 comment('状态(1正常 2暂停)') TINYINT(1)"` + CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('创建时间') DATETIME"` + UpdateAt string `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('更新时间') DATETIME"` +}