diff --git a/src/dao/super_cloud_issuance_copy_writing_dao.go b/src/dao/super_cloud_issuance_copy_writing_dao.go new file mode 100644 index 0000000..f4d6bf8 --- /dev/null +++ b/src/dao/super_cloud_issuance_copy_writing_dao.go @@ -0,0 +1,5 @@ +package dao + +type SuperCloudIssuanceCopyWritingDao interface { + //TODO:: You can add specific method definitions here +} diff --git a/src/dao/super_cloud_issuance_goods_category_dao.go b/src/dao/super_cloud_issuance_goods_category_dao.go new file mode 100644 index 0000000..ee59c16 --- /dev/null +++ b/src/dao/super_cloud_issuance_goods_category_dao.go @@ -0,0 +1,5 @@ +package dao + +type SuperCloudIssuanceGoodsCategoryDao interface { + //TODO:: You can add specific method definitions here +} diff --git a/src/dao/super_cloud_issuance_goods_dao.go b/src/dao/super_cloud_issuance_goods_dao.go new file mode 100644 index 0000000..4dcb821 --- /dev/null +++ b/src/dao/super_cloud_issuance_goods_dao.go @@ -0,0 +1,5 @@ +package dao + +type SuperCloudIssuanceGoodsDao interface { + //TODO:: You can add specific method definitions here +} diff --git a/src/dao/super_cloud_issuance_keyword_reply_dao.go b/src/dao/super_cloud_issuance_keyword_reply_dao.go new file mode 100644 index 0000000..6fcbe8b --- /dev/null +++ b/src/dao/super_cloud_issuance_keyword_reply_dao.go @@ -0,0 +1,5 @@ +package dao + +type SuperCloudIssuanceKeywordReplyDao interface { + //TODO:: You can add specific method definitions here +} diff --git a/src/dao/super_cloud_issuance_package_ord_dao.go b/src/dao/super_cloud_issuance_package_ord_dao.go new file mode 100644 index 0000000..96eae0f --- /dev/null +++ b/src/dao/super_cloud_issuance_package_ord_dao.go @@ -0,0 +1,5 @@ +package dao + +type SuperCloudIssuancePackageOrdDao interface { + //TODO:: You can add specific method definitions here +} diff --git a/src/dao/super_cloud_issuance_robot_package_dao.go b/src/dao/super_cloud_issuance_robot_package_dao.go new file mode 100644 index 0000000..11722cc --- /dev/null +++ b/src/dao/super_cloud_issuance_robot_package_dao.go @@ -0,0 +1,5 @@ +package dao + +type SuperCloudIssuanceRobotPackageDao interface { + //TODO:: You can add specific method definitions here +} diff --git a/src/dao/super_cloud_issuance_sensitive_word_replace_dao.go b/src/dao/super_cloud_issuance_sensitive_word_replace_dao.go new file mode 100644 index 0000000..22cc5be --- /dev/null +++ b/src/dao/super_cloud_issuance_sensitive_word_replace_dao.go @@ -0,0 +1,5 @@ +package dao + +type SuperCloudIssuanceSensitiveWordReplaceDao interface { + //TODO:: You can add specific method definitions here +} diff --git a/src/dao/super_cloud_issuance_user_robot_bind_follow_dao.go b/src/dao/super_cloud_issuance_user_robot_bind_follow_dao.go new file mode 100644 index 0000000..c93e692 --- /dev/null +++ b/src/dao/super_cloud_issuance_user_robot_bind_follow_dao.go @@ -0,0 +1,5 @@ +package dao + +type SuperCloudIssuanceUserRobotBindFollowDao interface { + //TODO:: You can add specific method definitions here +} diff --git a/src/dao/super_cloud_issuance_user_robot_bind_follow_group_dao.go b/src/dao/super_cloud_issuance_user_robot_bind_follow_group_dao.go new file mode 100644 index 0000000..e168710 --- /dev/null +++ b/src/dao/super_cloud_issuance_user_robot_bind_follow_group_dao.go @@ -0,0 +1,5 @@ +package dao + +type SuperCloudIssuanceUserRobotBindFollowGroupDao interface { + //TODO:: You can add specific method definitions here +} diff --git a/src/dao/super_cloud_issuance_user_robot_bind_follow_user_dao.go b/src/dao/super_cloud_issuance_user_robot_bind_follow_user_dao.go new file mode 100644 index 0000000..41cbd96 --- /dev/null +++ b/src/dao/super_cloud_issuance_user_robot_bind_follow_user_dao.go @@ -0,0 +1,5 @@ +package dao + +type SuperCloudIssuanceUserRobotBindFollowUserDao interface { + //TODO:: You can add specific method definitions here +} diff --git a/src/dao/super_cloud_issuance_user_robot_bind_group_dao.go b/src/dao/super_cloud_issuance_user_robot_bind_group_dao.go new file mode 100644 index 0000000..920cf4c --- /dev/null +++ b/src/dao/super_cloud_issuance_user_robot_bind_group_dao.go @@ -0,0 +1,5 @@ +package dao + +type SuperCloudIssuanceUserRobotBindGroupDao interface { + //TODO:: You can add specific method definitions here +} diff --git a/src/dao/super_cloud_issuance_user_robot_bind_source_follow_group_warning_dao.go b/src/dao/super_cloud_issuance_user_robot_bind_source_follow_group_warning_dao.go new file mode 100644 index 0000000..176e27d --- /dev/null +++ b/src/dao/super_cloud_issuance_user_robot_bind_source_follow_group_warning_dao.go @@ -0,0 +1,5 @@ +package dao + +type SuperCloudIssuanceUserRobotBindSourceFollowGroupWarningDao interface { + //TODO:: You can add specific method definitions here +} diff --git a/src/dao/super_cloud_issuance_user_robot_dao.go b/src/dao/super_cloud_issuance_user_robot_dao.go new file mode 100644 index 0000000..043b008 --- /dev/null +++ b/src/dao/super_cloud_issuance_user_robot_dao.go @@ -0,0 +1,5 @@ +package dao + +type SuperCloudIssuanceUserRobotDao interface { + //TODO:: You can add specific method definitions here +} diff --git a/src/dao/super_cloud_issuance_user_robot_with_activate_group_dao.go b/src/dao/super_cloud_issuance_user_robot_with_activate_group_dao.go new file mode 100644 index 0000000..066ff69 --- /dev/null +++ b/src/dao/super_cloud_issuance_user_robot_with_activate_group_dao.go @@ -0,0 +1,5 @@ +package dao + +type SuperCloudIssuanceUserRobotWithActivateGroupDao interface { + //TODO:: You can add specific method definitions here +} diff --git a/src/implement/super_cloud_issuance_copy_writing_db.go b/src/implement/super_cloud_issuance_copy_writing_db.go new file mode 100644 index 0000000..4fc4ed9 --- /dev/null +++ b/src/implement/super_cloud_issuance_copy_writing_db.go @@ -0,0 +1,14 @@ +package implement + +import ( + "code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao" + "xorm.io/xorm" +) + +type SuperCloudIssuanceCopyWritingDb struct { + Db *xorm.Engine +} + +func NewSuperCloudIssuanceCopyWritingDb(engine *xorm.Engine) dao.SuperCloudIssuanceCopyWritingDao { + return &SuperCloudIssuanceCopyWritingDb{Db: engine} +} diff --git a/src/implement/super_cloud_issuance_goods_category_db.go b/src/implement/super_cloud_issuance_goods_category_db.go new file mode 100644 index 0000000..a92f92b --- /dev/null +++ b/src/implement/super_cloud_issuance_goods_category_db.go @@ -0,0 +1,14 @@ +package implement + +import ( + "code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao" + "xorm.io/xorm" +) + +type SuperCloudIssuanceGoodsCategoryDb struct { + Db *xorm.Engine +} + +func NewSuperCloudIssuanceGoodsCategoryDb(engine *xorm.Engine) dao.SuperCloudIssuanceGoodsCategoryDao { + return &SuperCloudIssuanceGoodsCategoryDb{Db: engine} +} diff --git a/src/implement/super_cloud_issuance_goods_db.go b/src/implement/super_cloud_issuance_goods_db.go new file mode 100644 index 0000000..4cf0c78 --- /dev/null +++ b/src/implement/super_cloud_issuance_goods_db.go @@ -0,0 +1,14 @@ +package implement + +import ( + "code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao" + "xorm.io/xorm" +) + +type SuperCloudIssuanceGoodsDb struct { + Db *xorm.Engine +} + +func NewSuperCloudIssuanceGoodsDb(engine *xorm.Engine) dao.SuperCloudIssuanceGoodsDao { + return &SuperCloudIssuanceGoodsDb{Db: engine} +} diff --git a/src/implement/super_cloud_issuance_keyword_reply_db.go b/src/implement/super_cloud_issuance_keyword_reply_db.go new file mode 100644 index 0000000..e618b79 --- /dev/null +++ b/src/implement/super_cloud_issuance_keyword_reply_db.go @@ -0,0 +1,14 @@ +package implement + +import ( + "code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao" + "xorm.io/xorm" +) + +type SuperCloudIssuanceKeywordReplyDb struct { + Db *xorm.Engine +} + +func NewSuperCloudIssuanceKeywordReplyDb(engine *xorm.Engine) dao.SuperCloudIssuanceKeywordReplyDao { + return &SuperCloudIssuanceKeywordReplyDb{Db: engine} +} diff --git a/src/implement/super_cloud_issuance_package_ord_db.go b/src/implement/super_cloud_issuance_package_ord_db.go new file mode 100644 index 0000000..1813909 --- /dev/null +++ b/src/implement/super_cloud_issuance_package_ord_db.go @@ -0,0 +1,14 @@ +package implement + +import ( + "code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao" + "xorm.io/xorm" +) + +type SuperCloudIssuancePackageOrdDb struct { + Db *xorm.Engine +} + +func NewSuperCloudIssuancePackageOrdDb(engine *xorm.Engine) dao.SuperCloudIssuancePackageOrdDao { + return &SuperCloudIssuancePackageOrdDb{Db: engine} +} diff --git a/src/implement/super_cloud_issuance_robot_package_db.go b/src/implement/super_cloud_issuance_robot_package_db.go new file mode 100644 index 0000000..52b8da0 --- /dev/null +++ b/src/implement/super_cloud_issuance_robot_package_db.go @@ -0,0 +1,14 @@ +package implement + +import ( + "code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao" + "xorm.io/xorm" +) + +type SuperCloudIssuanceRobotPackageDb struct { + Db *xorm.Engine +} + +func NewSuperCloudIssuanceRobotPackageDb(engine *xorm.Engine) dao.SuperCloudIssuanceRobotPackageDao { + return &SuperCloudIssuanceRobotPackageDb{Db: engine} +} diff --git a/src/implement/super_cloud_issuance_sensitive_word_replace_db.go b/src/implement/super_cloud_issuance_sensitive_word_replace_db.go new file mode 100644 index 0000000..553b5a6 --- /dev/null +++ b/src/implement/super_cloud_issuance_sensitive_word_replace_db.go @@ -0,0 +1,14 @@ +package implement + +import ( + "code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao" + "xorm.io/xorm" +) + +type SuperCloudIssuanceSensitiveWordReplaceDb struct { + Db *xorm.Engine +} + +func NewSuperCloudIssuanceSensitiveWordReplaceDb(engine *xorm.Engine) dao.SuperCloudIssuanceSensitiveWordReplaceDao { + return &SuperCloudIssuanceSensitiveWordReplaceDb{Db: engine} +} diff --git a/src/implement/super_cloud_issuance_user_robot_bind_follow_db.go b/src/implement/super_cloud_issuance_user_robot_bind_follow_db.go new file mode 100644 index 0000000..cf9b551 --- /dev/null +++ b/src/implement/super_cloud_issuance_user_robot_bind_follow_db.go @@ -0,0 +1,14 @@ +package implement + +import ( + "code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao" + "xorm.io/xorm" +) + +type SuperCloudIssuanceUserRobotBindFollowDb struct { + Db *xorm.Engine +} + +func NewSuperCloudIssuanceUserRobotBindFollowDb(engine *xorm.Engine) dao.SuperCloudIssuanceUserRobotBindFollowDao { + return &SuperCloudIssuanceUserRobotBindFollowDb{Db: engine} +} diff --git a/src/implement/super_cloud_issuance_user_robot_bind_follow_group_db.go b/src/implement/super_cloud_issuance_user_robot_bind_follow_group_db.go new file mode 100644 index 0000000..2d07114 --- /dev/null +++ b/src/implement/super_cloud_issuance_user_robot_bind_follow_group_db.go @@ -0,0 +1,14 @@ +package implement + +import ( + "code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao" + "xorm.io/xorm" +) + +type SuperCloudIssuanceUserRobotBindFollowGroupDb struct { + Db *xorm.Engine +} + +func NewSuperCloudIssuanceUserRobotBindFollowGroupDb(engine *xorm.Engine) dao.SuperCloudIssuanceUserRobotBindFollowGroupDao { + return &SuperCloudIssuanceUserRobotBindFollowGroupDb{Db: engine} +} diff --git a/src/implement/super_cloud_issuance_user_robot_bind_follow_user_db.go b/src/implement/super_cloud_issuance_user_robot_bind_follow_user_db.go new file mode 100644 index 0000000..236e0b8 --- /dev/null +++ b/src/implement/super_cloud_issuance_user_robot_bind_follow_user_db.go @@ -0,0 +1,14 @@ +package implement + +import ( + "code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao" + "xorm.io/xorm" +) + +type SuperCloudIssuanceUserRobotBindFollowUserDb struct { + Db *xorm.Engine +} + +func NewSuperCloudIssuanceUserRobotBindFollowUserDb(engine *xorm.Engine) dao.SuperCloudIssuanceUserRobotBindFollowUserDao { + return &SuperCloudIssuanceUserRobotBindFollowUserDb{Db: engine} +} diff --git a/src/implement/super_cloud_issuance_user_robot_bind_group_db.go b/src/implement/super_cloud_issuance_user_robot_bind_group_db.go new file mode 100644 index 0000000..c1db23f --- /dev/null +++ b/src/implement/super_cloud_issuance_user_robot_bind_group_db.go @@ -0,0 +1,14 @@ +package implement + +import ( + "code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao" + "xorm.io/xorm" +) + +type SuperCloudIssuanceUserRobotBindGroupDb struct { + Db *xorm.Engine +} + +func NewSuperCloudIssuanceUserRobotBindGroupDb(engine *xorm.Engine) dao.SuperCloudIssuanceUserRobotBindGroupDao { + return &SuperCloudIssuanceUserRobotBindGroupDb{Db: engine} +} diff --git a/src/implement/super_cloud_issuance_user_robot_bind_source_follow_group_warning_db.go b/src/implement/super_cloud_issuance_user_robot_bind_source_follow_group_warning_db.go new file mode 100644 index 0000000..7602d9b --- /dev/null +++ b/src/implement/super_cloud_issuance_user_robot_bind_source_follow_group_warning_db.go @@ -0,0 +1,14 @@ +package implement + +import ( + "code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao" + "xorm.io/xorm" +) + +type SuperCloudIssuanceUserRobotBindSourceFollowGroupWarningDb struct { + Db *xorm.Engine +} + +func NewSuperCloudIssuanceUserRobotBindSourceFollowGroupWarningDb(engine *xorm.Engine) dao.SuperCloudIssuanceUserRobotBindSourceFollowGroupWarningDao { + return &SuperCloudIssuanceUserRobotBindSourceFollowGroupWarningDb{Db: engine} +} diff --git a/src/implement/super_cloud_issuance_user_robot_db.go b/src/implement/super_cloud_issuance_user_robot_db.go new file mode 100644 index 0000000..2ae3bdd --- /dev/null +++ b/src/implement/super_cloud_issuance_user_robot_db.go @@ -0,0 +1,14 @@ +package implement + +import ( + "code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao" + "xorm.io/xorm" +) + +type SuperCloudIssuanceUserRobotDb struct { + Db *xorm.Engine +} + +func NewSuperCloudIssuanceUserRobotDb(engine *xorm.Engine) dao.SuperCloudIssuanceUserRobotDao { + return &SuperCloudIssuanceUserRobotDb{Db: engine} +} diff --git a/src/implement/super_cloud_issuance_user_robot_with_activate_group_db.go b/src/implement/super_cloud_issuance_user_robot_with_activate_group_db.go new file mode 100644 index 0000000..1046a2d --- /dev/null +++ b/src/implement/super_cloud_issuance_user_robot_with_activate_group_db.go @@ -0,0 +1,14 @@ +package implement + +import ( + "code.fnuoos.com/go_rely_warehouse/zyos_model.git/src/dao" + "xorm.io/xorm" +) + +type SuperCloudIssuanceUserRobotWithActivateGroupDb struct { + Db *xorm.Engine +} + +func NewSuperCloudIssuanceUserRobotWithActivateGroupDb(engine *xorm.Engine) dao.SuperCloudIssuanceUserRobotWithActivateGroupDao { + return &SuperCloudIssuanceUserRobotWithActivateGroupDb{Db: engine} +} diff --git a/src/models/super_cloud_issuance_basic.go b/src/models/super_cloud_issuance_basic.go new file mode 100644 index 0000000..5b46b82 --- /dev/null +++ b/src/models/super_cloud_issuance_basic.go @@ -0,0 +1,16 @@ +package models + +type SuperCloudIssuanceBasic struct { + Id int `json:"id" xorm:"not null pk autoincr INT(11)"` + IsOpenFreeAccess int `json:"is_open_free_access" xorm:"not null default 0 comment('是否开启-免费使用权限') TINYINT(3)"` + FreeAccess string `json:"free_access" xorm:"not null comment('免费使用权限') TEXT"` + UseAccess int `json:"use_access" xorm:"not null default 0 comment('使用权限(会员等级)') TINYINT(3)"` + TimeIntervalIssuanceOnCircleOfFriends int `json:"time_interval_issuance_on_circle_of_friends" xorm:"not null default 10 comment('朋友圈发单时间间隔(分钟)') TINYINT(3)"` + TimeIntervalIssuanceOnGroups int `json:"time_interval_issuance_on_groups" xorm:"not null default 10 comment('群发单时间间隔(分钟)') TINYINT(3)"` + TimeSlotIssuanceOnDefault string `json:"time_slot_issuance_on_default" xorm:"not null comment('默认发单时间段') TEXT"` + SendGroupFormat int `json:"send_group_format" xorm:"not null default 1 comment('发群格式(1:先商品图片后商品文案 2:先商品文案后商品图片)') TINYINT(1)"` + DefaultAddGroupWelcomeMessage string `json:"default_add_group_welcome_message" xorm:"not null default '' comment('默认加群欢迎语') VARCHAR(255)"` + DefaultNewFriendGreeted string `json:"default_new_friend_greeted" xorm:"not null default '' comment('默认新好友打招呼') VARCHAR(255)"` + 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"` +} diff --git a/src/models/super_cloud_issuance_copy_writing.go b/src/models/super_cloud_issuance_copy_writing.go new file mode 100644 index 0000000..211e103 --- /dev/null +++ b/src/models/super_cloud_issuance_copy_writing.go @@ -0,0 +1,11 @@ +package models + +type SuperCloudIssuanceCopyWriting struct { + Id int64 `json:"id" xorm:"pk autoincr BIGINT(20)"` + Provider string `json:"provider" xorm:"not null default '' comment('渠道key') VARCHAR(255)"` + ProviderName string `json:"provider_name" xorm:"not null default '' comment('渠道') VARCHAR(255)"` + CloudIssuanceCopyWritingForFriendsCircle string `json:"cloud_issuance_copy_writing_for_friends_circle" xorm:"comment('朋友圈文案') TEXT"` + CloudIssuanceCopyWritingForGroup string `json:"cloud_issuance_copy_writing_for_group" xorm:"comment('群组文案') TEXT"` + CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' DATETIME"` + UpdateAt string `json:"update_at" xorm:"not null default 'CURRENT_TIMESTAMP' DATETIME"` +} diff --git a/src/models/super_cloud_issuance_goods.go b/src/models/super_cloud_issuance_goods.go new file mode 100644 index 0000000..47fd848 --- /dev/null +++ b/src/models/super_cloud_issuance_goods.go @@ -0,0 +1,25 @@ +package models + +type SuperCloudIssuanceGoods struct { + Id int64 `json:"id" xorm:"pk autoincr BIGINT(20)"` + GoodsUrl string `json:"goods_url" xorm:"not null comment('传进来的商品链接') VARCHAR(255)"` + ItemUrl string `json:"item_url" xorm:"comment('搜索出来的商品链接') VARCHAR(255)"` + GoodsId string `json:"goods_id" xorm:"not null comment('商品id') VARCHAR(255)"` + Provider string `json:"provider" xorm:"comment('渠道key') VARCHAR(255)"` + ProviderName string `json:"provider_name" xorm:"comment('渠道') VARCHAR(255)"` + ProviderImgUrl string `json:"provider_img_url" xorm:"comment('渠道图片Url') VARCHAR(255)"` + GoodsTitle string `json:"goods_title" xorm:"comment('商品标题') VARCHAR(255)"` + GoodsPrice string `json:"goods_price" xorm:"comment('商品原价') VARCHAR(255)"` + WlGoodsPrice string `json:"wl_goods_price" xorm:"comment('商品卷后价') VARCHAR(255)"` + CouponPrice string `json:"coupon_price" xorm:"comment('优惠劵金额') VARCHAR(255)"` + CouponUrl string `json:"coupon_url" xorm:"comment('优惠劵Url') VARCHAR(255)"` + InOrderCount string `json:"in_order_count" xorm:"comment('销量') VARCHAR(255)"` + GoodsDesc string `json:"goods_desc" xorm:"comment('商品描述') VARCHAR(255)"` + GoodsContent string `json:"goods_content" xorm:"comment('商品文案(以json存)') LONGTEXT"` + GoodsImg string `json:"goods_img" xorm:"comment('商品主图') VARCHAR(255)"` + GoodsImgUrl string `json:"goods_img_url" xorm:"comment('商品主图URL') VARCHAR(255)"` + CreateAt string `json:"create_at" xorm:"not null DATETIME"` + UpdateAt string `json:"update_at" xorm:"not null DATETIME"` + CloudIssuanceCategoryId int `json:"cloud_issuance_category_id" xorm:"not null default 0 comment('云发单所属分类id') INT(11)"` + GoodsImgList string `json:"goods_img_list" xorm:"VARCHAR(5000)"` +} diff --git a/src/models/super_cloud_issuance_goods_category.go b/src/models/super_cloud_issuance_goods_category.go new file mode 100644 index 0000000..56e730c --- /dev/null +++ b/src/models/super_cloud_issuance_goods_category.go @@ -0,0 +1,9 @@ +package models + +type SuperCloudIssuanceGoodsCategory struct { + Id int64 `json:"id" xorm:"pk autoincr BIGINT(20)"` + Name string `json:"name" xorm:"not null default '' comment('分类名称') VARCHAR(255)"` + Sort int `json:"sort" xorm:"not null default 0 comment('排序') INT(11)"` + CreateAt string `json:"create_at" xorm:"not null DATETIME"` + UpdateAt string `json:"update_at" xorm:"not null DATETIME"` +} diff --git a/src/models/super_cloud_issuance_keyword_reply.go b/src/models/super_cloud_issuance_keyword_reply.go new file mode 100644 index 0000000..34c87e5 --- /dev/null +++ b/src/models/super_cloud_issuance_keyword_reply.go @@ -0,0 +1,10 @@ +package models + +type SuperCloudIssuanceKeywordReply struct { + Id int `json:"id" xorm:"not null pk autoincr comment('自增id') INT(11)"` + Keyword string `json:"keyword" xorm:"not null default '' comment('关键词内容') VARCHAR(255)"` + Kind int `json:"kind" xorm:"not null default 1 comment('回复类型(1:文字 2:图片)') TINYINT(1)"` + ReplyContent string `json:"reply_content" xorm:"not null comment('回复内容') TEXT"` + CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('创建时间') DATETIME"` + UpdateAt string `json:"update_at" xorm:"default 'CURRENT_TIMESTAMP' comment('更新时间') DATETIME"` +} diff --git a/src/models/super_cloud_issuance_package_ord.go b/src/models/super_cloud_issuance_package_ord.go new file mode 100644 index 0000000..4c4e595 --- /dev/null +++ b/src/models/super_cloud_issuance_package_ord.go @@ -0,0 +1,15 @@ +package models + +type SuperCloudIssuancePackageOrd struct { + Id int64 `json:"id" xorm:"pk autoincr comment('自增主键') BIGINT(20)"` + OrdNo string `json:"ord_no" xorm:"not null default '0' comment('订单号') VARCHAR(255)"` + TradeNo string `json:"trade_no" xorm:"not null default '0' comment('支付平台(支付宝/微信)订单号') VARCHAR(255)"` + PackageId int `json:"package_id" xorm:"not null default 0 comment('套餐id') INT(11)"` + Uid int `json:"uid" xorm:"not null default 0 comment('用户id') INT(11)"` + State int `json:"state" xorm:"not null default 0 comment('状态(0:未支付 1:已支付 2:支付失败)') TINYINT(1)"` + PayChannel int `json:"pay_channel" xorm:"not null default 1 comment('支付渠道(1:支付宝 2:微信 3:余额)') TINYINT(1)"` + Months int `json:"months" xorm:"not null default 0 comment('月份(次数)') INT(11)"` + Amount string `json:"amount" xorm:"not null default 0.00 comment('金额') DECIMAL(5,2)"` + 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"` +} diff --git a/src/models/super_cloud_issuance_robot_package.go b/src/models/super_cloud_issuance_robot_package.go new file mode 100644 index 0000000..d940a7a --- /dev/null +++ b/src/models/super_cloud_issuance_robot_package.go @@ -0,0 +1,15 @@ +package models + +type SuperCloudIssuanceRobotPackage struct { + Id int `json:"id" xorm:"not null pk autoincr comment('自增id') INT(11)"` + Name string `json:"name" xorm:"not null default '' comment('套餐名称') VARCHAR(255)"` + Price string `json:"price" xorm:"not null default '0' comment('单价(元)') VARCHAR(255)"` + OriginalPrice string `json:"original_price" xorm:"not null default '0' comment('原价(元)') VARCHAR(255)"` + Month int `json:"month" xorm:"not null default 1 comment('月份') TINYINT(1)"` + Type int `json:"type" xorm:"not null default 4 comment('类型(1 发单机器人 2转发机器人 3 返利机器人 4全能机器人 5小型机器人 6发圈机器人)') TINYINT(1)"` + Memo string `json:"memo" xorm:"not null default '' comment('备注') VARCHAR(255)"` + State int `json:"state" xorm:"not null default 1 comment('状态(0关闭,1开启)') TINYINT(2)"` + Sort int `json:"sort" xorm:"not null default 0 comment('排序') INT(11)"` + CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('创建时间') DATETIME"` + UpdateAt string `json:"update_at" xorm:"default 'CURRENT_TIMESTAMP' comment('更新时间') DATETIME"` +} diff --git a/src/models/super_cloud_issuance_sensitive_word_replace.go b/src/models/super_cloud_issuance_sensitive_word_replace.go new file mode 100644 index 0000000..063a6e5 --- /dev/null +++ b/src/models/super_cloud_issuance_sensitive_word_replace.go @@ -0,0 +1,9 @@ +package models + +type SuperCloudIssuanceSensitiveWordReplace struct { + Id int `json:"id" xorm:"not null pk autoincr comment('自增id') INT(11)"` + SensitiveWord string `json:"sensitive_word" xorm:"not null default '' comment('敏感词内容') VARCHAR(255)"` + ReplaceContent string `json:"replace_content" xorm:"not null comment('替换内容') TEXT"` + CreateAt string `json:"create_at" xorm:"not null default 'CURRENT_TIMESTAMP' comment('创建时间') DATETIME"` + UpdateAt string `json:"update_at" xorm:"default 'CURRENT_TIMESTAMP' comment('更新时间') DATETIME"` +} diff --git a/src/models/super_cloud_issuance_user_robot.go b/src/models/super_cloud_issuance_user_robot.go new file mode 100644 index 0000000..aec5d20 --- /dev/null +++ b/src/models/super_cloud_issuance_user_robot.go @@ -0,0 +1,23 @@ +package models + +type SuperCloudIssuanceUserRobot 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)"` + RobotKind int `json:"robot_kind" xorm:"not null default 1 comment('机器人种类(1 独享机器人 2 共享机器人)') TINYINT(1)"` + RobotType int `json:"robot_type" xorm:"not null default 4 comment('机器人类型(1 发单机器人 2转发机器人 3 返利机器人 4全能机器人 5小型机器人 6发圈机器人)') TINYINT(1)"` + WechatRobot string `json:"wechat_robot" xorm:"not null default '' comment('微信号') VARCHAR(255)"` + GroupNum int `json:"group_num" xorm:"not null default 5 comment('最大群数') TINYINT(3)"` + LoginStatus int `json:"login_status" xorm:"not null default 0 comment('登录状态(0:未登录 1:登录)') TINYINT(1)"` + EndTime string `json:"end_time" xorm:"not null default '' comment('到期时间') VARCHAR(255)"` + Remark string `json:"remark" xorm:"not null default '' comment('备注') VARCHAR(255)"` + WId string `json:"w_id" xorm:"not null default '' comment('机器人实例id') VARCHAR(255)"` + WcId string `json:"wc_id" xorm:"not null default '' comment('微信id') VARCHAR(255)"` + WcNickname string `json:"wc_nickname" xorm:"not null default '' comment('微信昵称') VARCHAR(255)"` + WcHeadUrl string `json:"wc_head_url" xorm:"not null default '' comment('微信头像') VARCHAR(255)"` + QrCodeUrl string `json:"qr_code_url" xorm:"not null default '' comment('登录二维码url') VARCHAR(255)"` + IsEnabled int `json:"is_enabled" xorm:"not null default 0 comment('机器人状态(0 正常 1暂停 3已过期)') TINYINT(1)"` + ClientIp string `json:"client_ip" xorm:"not null default '' comment('客户端ip') VARCHAR(50)"` + 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"` +} diff --git a/src/models/super_cloud_issuance_user_robot_bind_follow.go b/src/models/super_cloud_issuance_user_robot_bind_follow.go new file mode 100644 index 0000000..48dcd68 --- /dev/null +++ b/src/models/super_cloud_issuance_user_robot_bind_follow.go @@ -0,0 +1,16 @@ +package models + +type SuperCloudIssuanceUserRobotBindFollow 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)"` + Name string `json:"name" xorm:"not null default '' comment('群名称') VARCHAR(255)"` + RobotId int `json:"robot_id" xorm:"not null default 0 comment('机器人id') INT(11)"` + ChatRoomId string `json:"chat_room_id" xorm:"not null default '' comment('微信群id') VARCHAR(255)"` + ChatRoomOwner string `json:"chat_room_owner" xorm:"not null default '' comment('群所有者') VARCHAR(255)"` + MemberCount int `json:"member_count" xorm:"not null default 0 comment('群成员数') INT(11)"` + BigHeadImgUrl string `json:"big_head_img_url" xorm:"not null default '' comment('大的群头像') VARCHAR(255)"` + SmallHeadImgUrl string `json:"small_head_img_url" xorm:"not null default '' comment('小的群头像') VARCHAR(255)"` + 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"` +} diff --git a/src/models/super_cloud_issuance_user_robot_bind_follow_group.go b/src/models/super_cloud_issuance_user_robot_bind_follow_group.go new file mode 100644 index 0000000..4b4a22e --- /dev/null +++ b/src/models/super_cloud_issuance_user_robot_bind_follow_group.go @@ -0,0 +1,14 @@ +package models + +type SuperCloudIssuanceUserRobotBindFollowGroup struct { + Id int `json:"id" xorm:"not null pk autoincr INT(11)"` + BindId int `json:"bind_id" xorm:"not null default 0 comment('绑定id') INT(11)"` + Name string `json:"name" xorm:"not null default '' comment('跟发-群名称') VARCHAR(255)"` + FollowChatRoomId string `json:"follow_chat_room_id" xorm:"not null default '' comment('跟发-微信群id') VARCHAR(255)"` + FollowChatRoomOwner string `json:"follow_chat_room_owner" xorm:"not null default '' comment('跟发-群所有者') VARCHAR(255)"` + FollowChatMemberCount int `json:"follow_chat_member_count" xorm:"not null default 0 comment('跟发-群群成员数') INT(11)"` + FollowBigHeadImgUrl string `json:"follow_big_head_img_url" xorm:"not null default '' comment('跟发-大的群头像') VARCHAR(255)"` + FollowSmallHeadImgUrl string `json:"follow_small_head_img_url" xorm:"not null default '' comment('跟发-小的群头像') VARCHAR(255)"` + 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"` +} diff --git a/src/models/super_cloud_issuance_user_robot_bind_follow_user.go b/src/models/super_cloud_issuance_user_robot_bind_follow_user.go new file mode 100644 index 0000000..7e267d8 --- /dev/null +++ b/src/models/super_cloud_issuance_user_robot_bind_follow_user.go @@ -0,0 +1,11 @@ +package models + +type SuperCloudIssuanceUserRobotBindFollowUser struct { + Id int `json:"id" xorm:"not null pk autoincr INT(11)"` + BindId int `json:"bind_id" xorm:"not null default 0 comment('绑定id') INT(11)"` + MonitorHostWxId string `json:"monitor_host_wx_id" xorm:"not null default '' comment('监听主持人微信id') VARCHAR(255)"` + MonitorHostWxNickname string `json:"monitor_host_wx_nickname" xorm:"not null default '' comment('监听主持人微信昵称') VARCHAR(255)"` + MonitorHostWxHeadUrl string `json:"monitor_host_wx_head_url" xorm:"not null default '' comment('监听主持人微信头像') VARCHAR(255)"` + 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"` +} diff --git a/src/models/super_cloud_issuance_user_robot_bind_group.go b/src/models/super_cloud_issuance_user_robot_bind_group.go new file mode 100644 index 0000000..7f65619 --- /dev/null +++ b/src/models/super_cloud_issuance_user_robot_bind_group.go @@ -0,0 +1,17 @@ +package models + +type SuperCloudIssuanceUserRobotBindGroup 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)"` + Name string `json:"name" xorm:"not null default '' comment('群名称') VARCHAR(255)"` + RobotId int `json:"robot_id" xorm:"not null default 0 comment('机器人id') INT(11)"` + ChatRoomId string `json:"chat_room_id" xorm:"not null default '' comment('发送微信好友/群id') VARCHAR(255)"` + ChatRoomOwner string `json:"chat_room_owner" xorm:"not null default '' comment('群所有者') VARCHAR(255)"` + MemberCount int `json:"member_count" xorm:"not null default 0 comment('群成员数') INT(11)"` + BigHeadImgUrl string `json:"big_head_img_url" xorm:"not null default '' comment('大的群头像') VARCHAR(255)"` + SmallHeadImgUrl string `json:"small_head_img_url" xorm:"not null default '' comment('小的群头像') VARCHAR(255)"` + 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"` +} diff --git a/src/models/super_cloud_issuance_user_robot_bind_source.go b/src/models/super_cloud_issuance_user_robot_bind_source.go new file mode 100644 index 0000000..58ed28e --- /dev/null +++ b/src/models/super_cloud_issuance_user_robot_bind_source.go @@ -0,0 +1,18 @@ +package models + +type SuperCloudIssuanceUserRobotBindSource struct { + Id int `json:"id" xorm:"not null pk autoincr INT(11)"` + Name string `json:"name" xorm:"not null default '' comment('源头名称') VARCHAR(255)"` + ActivateGroupId string `json:"activate_group_id" xorm:"not null default '' comment('激活群id') VARCHAR(255)"` + IsSee int `json:"is_see" xorm:"not null default 1 comment('是否可见(1可见 2不可见)') TINYINT(1)"` + IsUse int `json:"is_use" xorm:"not null default 1 comment('是否可用(1正常转发 2暂停转发)') TINYINT(1)"` + SendOrderNums int `json:"send_order_nums" xorm:"not null default 0 comment('发单量') INT(11)"` + OutOrderNums int `json:"out_order_nums" xorm:"not null default 0 comment('出单量') INT(11)"` + TransactionAmount string `json:"transaction_amount" xorm:"not null default 0.0000 comment('成交金额') DECIMAL(8,4)"` + TransactionCommissionAmount string `json:"transaction_commission_amount" xorm:"not null default 0.0000 comment('成交佣金金额') DECIMAL(8,4)"` + FollowGroupNums int `json:"follow_group_nums" xorm:"not null default 0 comment('跟群数量') INT(11)"` + WarningNums int `json:"warning_nums" xorm:"not null default 0 comment('告警次数') INT(11)"` + Desc string `json:"desc" xorm:"not null comment('源头介绍') TEXT"` + 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"` +} diff --git a/src/models/super_cloud_issuance_user_robot_bind_source_follow_group_warning.go b/src/models/super_cloud_issuance_user_robot_bind_source_follow_group_warning.go new file mode 100644 index 0000000..441e170 --- /dev/null +++ b/src/models/super_cloud_issuance_user_robot_bind_source_follow_group_warning.go @@ -0,0 +1,10 @@ +package models + +type SuperCloudIssuanceUserRobotBindSourceFollowGroupWarning struct { + Id int `json:"id" xorm:"not null pk autoincr INT(11)"` + BindId int `json:"bind_id" xorm:"not null default 0 comment('绑定id') INT(11)"` + FollowId int `json:"follow_id" xorm:"not null default 0 comment('跟随id') INT(11)"` + Content string `json:"content" xorm:"not null default '' comment('内容') VARCHAR(255)"` + 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"` +} diff --git a/src/models/super_cloud_issuance_user_robot_with_activate_group.go b/src/models/super_cloud_issuance_user_robot_with_activate_group.go new file mode 100644 index 0000000..526ebaa --- /dev/null +++ b/src/models/super_cloud_issuance_user_robot_with_activate_group.go @@ -0,0 +1,17 @@ +package models + +type SuperCloudIssuanceUserRobotWithActivateGroup 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)"` + Name string `json:"name" xorm:"not null default '' comment('群名称') VARCHAR(255)"` + RobotId int `json:"robot_id" xorm:"not null default 0 comment('机器人id') INT(11)"` + ChatRoomOwnerWxNickname string `json:"chat_room_owner_wx_nickname" xorm:"not null default '' comment('群所有者微信昵称') VARCHAR(255)"` + ChatRoomOwnerWxHeadUrl string `json:"chat_room_owner_wx_head_url" xorm:"not null default '' comment('群所有者微信头像') VARCHAR(255)"` + ChatRoomOwner string `json:"chat_room_owner" xorm:"not null default '' comment('群所有者') VARCHAR(255)"` + MemberCount int `json:"member_count" xorm:"not null default 0 comment('群成员数') INT(11)"` + BigHeadImgUrl string `json:"big_head_img_url" xorm:"not null default '' comment('大的群头像') VARCHAR(255)"` + SmallHeadImgUrl string `json:"small_head_img_url" xorm:"not null default '' comment('小的群头像') VARCHAR(255)"` + 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"` +}