package domain type ArticleQuery struct { Id int64 `xorm:"id" json:"id"` // id ArticleTitle string `xorm:"article_title" json:"articleTitle"` // 文章名称 ArticleContent string `xorm:"article_content" json:"articleContent"` // 文章内容 State string `xorm:"state" json:"state"` // 状态 ArticleTagIds string `xorm:"article_tag_ids" json:"articleTagIds"` // 文章标签 ArticleTopicId int64 `xorm:"article_topic_id" json:"articleTopicId"` // 文章主题id Image string `xorm:"image" json:"image"` // 图片 PublishTimeStart string `xorm:"publish_time" json:"publishTime"` // 发表时间 PublishTimeEnd string `xorm:"publish_time" json:"publishTime"` // 发表时间 EyeFillStart int64 `xorm:"eye_fill" json:"eyeFill"` // 浏览量 EyeFillEnd int64 `xorm:"eye_fill" json:"eyeFill"` // 浏览量 LikeCountStart int64 `xorm:"like_count" json:"likeCount"` // 点赞量 LikeCountEnd int64 `xorm:"like_count" json:"likeCount"` // 点赞量 CreateBy string `xorm:"create_by" json:"createBy"` // 创建人 CreateTime string `xorm:"create_time" json:"createTime"` // 创建时间 UpdateBy string `xorm:"update_by" json:"updateBy"` // 更新人 UpdateTime string `xorm:"update_time" json:"updateTime"` // 更新时间 ArticleDesc string `xorm:"article_desc" json:"articleDesc"` // 文章简介 } type ArticleTagQuery struct { Id int64 `xorm:"id" json:"id"` // TagName string `xorm:"tag_name" json:"tagName"` // 标签名 TagDesc string `xorm:"tag_desc" json:"tagDesc"` // 标签描述 TagTextColor string `xorm:"tag_text_color" json:"tagTextColor"` // 标签字体颜色 TagBackgroundColor string `xorm:"tag_background_color" json:"tagBackgroundColor"` // 标签背景颜色 } type ArticleTopicQuery struct { Id int64 `xorm:"id" json:"id"` // Image string `xorm:"image" json:"image"` // 图片 TopicName string `xorm:"topic_name" json:"topicName"` // 主题名称 TopicDesc string `xorm:"topic_desc" json:"topicDesc"` // 主题描述 } type BackAuthorityQuery struct { Id int64 `xorm:"id" json:"id"` // id AuthorityName string `xorm:"authority_name" json:"authorityName"` // 接口名 AuthorityPath string `xorm:"authority_path" json:"authorityPath"` // 接口路径 Method string `xorm:"method" json:"method"` // 方法 State string `xorm:"state" json:"state"` // 接口是否启用(0关闭,1启用) AuthorityVerification string `xorm:"authority_verification" json:"authorityVerification"` // 权限校验 CreateTimeStart string `xorm:"create_time" json:"createTime"` // 创建时间 CreateTimeEnd string `xorm:"create_time" json:"createTime"` // 创建时间 } type BackMenuQuery struct { Id int64 `xorm:"id" json:"id"` // id BackMenuName string `xorm:"back_menu_name" json:"backMenuName"` // 菜单名称 BackMenuPater int64 `xorm:"back_menu_pater" json:"backMenuPater"` // 父级菜单 Sort int64 `xorm:"sort" json:"sort"` // 排序 Icon string `xorm:"icon" json:"icon"` // 图标 Remark string `xorm:"remark" json:"remark"` // 备注 BackRouterPath string `xorm:"back_router_path" json:"backRouterPath"` // 路由路径 State string `xorm:"state" json:"state"` // 状态 } type BackRoleQuery struct { Id int64 `xorm:"id" json:"id"` // RoleName string `xorm:"role_name" json:"roleName"` // } type BackRoleAuthorityQuery struct { Id int64 `xorm:"id" json:"id"` // RoleId int64 `xorm:"role_id" json:"roleId"` // 角色id AuthorityId int64 `xorm:"authority_id" json:"authorityId"` // 权限id } type BackRoleMenuQuery struct { Id int64 `xorm:"id" json:"id"` // RoleId int64 `xorm:"role_id" json:"roleId"` // 角色id MenuId int64 `xorm:"menu_id" json:"menuId"` // 枚舉id } type GenTableQuery struct { Id int64 `xorm:"id" json:"id"` // id TableName string `xorm:"table_name" json:"tableName"` // 数据库名 TableComment string `xorm:"table_comment" json:"tableComment"` // 数据库注释 Name string `xorm:"name" json:"name"` // 名字 RouterName string `xorm:"router_name" json:"routerName"` // 路由名 Remark string `xorm:"remark" json:"remark"` // 备注 } type GenTableColumnQuery struct { Id int64 `xorm:"id" json:"id"` // id TableId int64 `xorm:"table_id" json:"tableId"` // 表格id Sort int64 `xorm:"sort" json:"sort"` // 排序 ColumnComment string `xorm:"column_comment" json:"columnComment"` // 字段注释 ColumnType string `xorm:"column_type" json:"columnType"` // 字段类型 GoType string `xorm:"go_type" json:"goType"` // go类型 GoField string `xorm:"go_field" json:"goField"` // go字段名 IsKey string `xorm:"is_key" json:"isKey"` // 是否主键 IsIncrement string `xorm:"is_increment" json:"isIncrement"` // 是否自增 IsRequired string `xorm:"is_required" json:"isRequired"` // 是否未必填 QueryType string `xorm:"query_type" json:"queryType"` // 查询方式 VueShowType string `xorm:"vue_show_type" json:"vueShowType"` // 前端显示类型 DictType string `xorm:"dict_type" json:"dictType"` // 字典类型 ColumnName string `xorm:"column_name" json:"columnName"` // 字段名 } type GoodsQuery struct { Id int64 `xorm:"id" json:"id"` // id TypeId int64 `xorm:"type_id" json:"typeId"` // 分类id GoodsName string `xorm:"goods_name" json:"goodsName"` // 商品名字 ImageUrl string `xorm:"image_url" json:"imageUrl"` // 商品名字 IntroductionId int64 `xorm:"introduction_id" json:"introductionId"` // 商品介绍id SalesVolumeStart int64 `xorm:"sales_volume" json:"salesVolume"` // 近30天销量 SalesVolumeEnd int64 `xorm:"sales_volume" json:"salesVolume"` // 近30天销量 TagIds string `xorm:"tag_ids" json:"tagIds"` // 商品标签 } type GoodsCommodityAreaQuery struct { Id int64 `xorm:"id" json:"id"` // id GoodsId int64 `xorm:"goods_id" json:"goodsId"` // 商品id CommodityAreaName string `xorm:"commodity_area_name" json:"commodityAreaName"` // 商品属地名称 DetailImage string `xorm:"detail_image" json:"detailImage"` // 详情图片 DetailIntroductionId int64 `xorm:"detail_introduction_id" json:"detailIntroductionId"` // 相关文本详情id } type GoodsCouponQuery struct { Id int64 `xorm:"id" json:"id"` // id CouponName string `xorm:"coupon_name" json:"couponName"` // 优惠券名称 CouponDesc string `xorm:"coupon_desc" json:"couponDesc"` // 优惠券描述 CashBackPoint float64 `xorm:"cash_back_point" json:"cashBackPoint"` // 满x CashBackPrice float64 `xorm:"cash_back_price" json:"cashBackPrice"` // 减x ConditionByTopic string `xorm:"condition_by_topic" json:"conditionByTopic"` // 主题可用,id ConditionByType string `xorm:"condition_by_type" json:"conditionByType"` // 类型可用,id ConditionByGoods string `xorm:"condition_by_goods" json:"conditionByGoods"` // 商品可用,id GrantCount string `xorm:"grant_count" json:"grantCount"` // 发放数量 Count int64 `xorm:"count" json:"count"` // 优惠券余量 ReceiveType string `xorm:"receive_type" json:"receiveType"` // 领取条件 Validity string `xorm:"validity" json:"validity"` // 有效性,领取开始计时(ClaimTiming),固定时间(FixedTime) ValidityPeriodStart string `xorm:"validity_period" json:"validityPeriod"` // 有效期 ValidityPeriodEnd string `xorm:"validity_period" json:"validityPeriod"` // 有效期 } type GoodsCouponUserQuery struct { Id int64 `xorm:"id" json:"id"` // id UserId int64 `xorm:"user_id" json:"userId"` // 用户id CouponId int64 `xorm:"coupon_id" json:"couponId"` // 优惠券id CollectionTime string `xorm:"collection_time" json:"collectionTime"` // 领取时间 State string `xorm:"state" json:"state"` // 状态,已使用2,未使用1,已过期0 } type GoodsIntroductionQuery struct { Id int64 `xorm:"id" json:"id"` // 文章id GoodsArticleName string `xorm:"goods_article_name" json:"goodsArticleName"` // 商品文章名 GoodsArticle string `xorm:"goods_article" json:"goodsArticle"` // 商品文章 CreateBy string `xorm:"create_by" json:"createBy"` // 创建人 CreateTime string `xorm:"create_time" json:"createTime"` // 创建时间 UpdateBy string `xorm:"update_by" json:"updateBy"` // 更新人 UpdateTime string `xorm:"update_time" json:"updateTime"` // 更新时间 } type GoodsOrderQuery struct { Id int64 `xorm:"id" json:"id"` // id OrderName string `xorm:"order_name" json:"orderName"` // 订单名 SkuId int64 `xorm:"sku_id" json:"skuId"` // skuid CountStart int64 `xorm:"count" json:"count"` // 购买数量 CountEnd int64 `xorm:"count" json:"count"` // 购买数量 PriceStart float64 `xorm:"price" json:"price"` // 单价 PriceEnd float64 `xorm:"price" json:"price"` // 单价 TotalPriceStart float64 `xorm:"total_price" json:"totalPrice"` // 总价 TotalPriceEnd float64 `xorm:"total_price" json:"totalPrice"` // 总价 ContactInformation string `xorm:"contact_information" json:"contactInformation"` // 联系方式 CouponUserId int64 `xorm:"coupon_user_id" json:"couponUserId"` // 使用的优惠券 State string `xorm:"state" json:"state"` // 支付状态,0待支付,1待发货,2已发货,3订单完成,4订单异常 CreateBy int64 `xorm:"create_by" json:"createBy"` // 用户id CreateTime string `xorm:"create_time" json:"createTime"` // 订单创建时间 OtherData string `xorm:"other_data" json:"otherData"` // 其他数据 } type GoodsSkuQuery struct { Id int64 `xorm:"id" json:"id"` // SkuImage string `xorm:"sku_image" json:"skuImage"` // sku图片 SkuName string `xorm:"sku_name" json:"skuName"` // 商品sku名字 Price float64 `xorm:"price" json:"price"` // 现在价格 HistoricalPrices float64 `xorm:"historical_prices" json:"historicalPrices"` // 历史价格 InventoryNumber int64 `xorm:"inventory_number" json:"inventoryNumber"` // 库存 CommodityAreaId int64 `xorm:"commodity_area_id" json:"commodityAreaId"` // 属地id GoodsId int64 `xorm:"goods_id" json:"goodsId"` // 商品id CreateBy string `xorm:"create_by" json:"createBy"` // 创建人 CreateTimeStart string `xorm:"create_time" json:"createTime"` // 创建时间 CreateTimeEnd string `xorm:"create_time" json:"createTime"` // 创建时间 Sort int64 `xorm:"sort" json:"sort"` // 排序 SeoTitle string `xorm:"seo_title" json:"seoTitle"` // seo_标题 SeoKeywords string `xorm:"seo_keywords" json:"seoKeywords"` // seo_关键字 SeoDescription string `xorm:"seo_description" json:"seoDescription"` // seo_描述 } type GoodsSkuCardQuery struct { Id int64 `xorm:"id" json:"id"` // id CardName string `xorm:"card_name" json:"cardName"` // 卡种名称 State string `xorm:"state" json:"state"` // 状态,0未使用,1已用,2过期 Count int64 `xorm:"count" json:"count"` // 库存 TotalCount string `xorm:"total_count" json:"totalCount"` // 总数 CardKey string `xorm:"card_key" json:"cardKey"` // 卡密 Use string `xorm:"use" json:"use"` // 是否已用 UploadTimeStart string `xorm:"upload_time" json:"uploadTime"` // 入库时间 UploadTimeEnd string `xorm:"upload_time" json:"uploadTime"` // 入库时间 SkuId int64 `xorm:"sku_id" json:"skuId"` // 商品规格绑定 Sort string `xorm:"sort" json:"sort"` // 排序,出售优先级 } type GoodsTagQuery struct { Id int64 `xorm:"id" json:"id"` // id Name string `xorm:"name" json:"name"` // 名字 IconUrl string `xorm:"icon_url" json:"iconUrl"` // 图标路径 Tag string `xorm:"tag" json:"tag"` // 标签 } type GoodsTypeQuery struct { Id int64 `xorm:"id" json:"id"` // Sort int64 `xorm:"sort" json:"sort"` // 排序 TypeImage string `xorm:"type_image" json:"typeImage"` // 类型图片 TypeName string `xorm:"type_name" json:"typeName"` // 商品类别名称 CreateTimeStart string `xorm:"create_time" json:"createTime"` // 创建时间 CreateTimeEnd string `xorm:"create_time" json:"createTime"` // 创建时间 } type UserQuery struct { Id int64 `xorm:"id" json:"id"` // Username string `xorm:"username" json:"username"` // 账号 Password string `xorm:"password" json:"password"` // 密码 CreationTime int64 `xorm:"creation_time" json:"creationTime"` // 账号创建时间 LoginTime int64 `xorm:"login_time" json:"loginTime"` // 登录时间 Status string `xorm:"status" json:"status"` // 账号状态 RoleId int64 `xorm:"role_id" json:"roleId"` // 角色id Phone string `xorm:"phone" json:"phone"` // 手机 Email string `xorm:"email" json:"email"` // 邮箱 Name string `xorm:"name" json:"name"` // 用户名 Avatar string `xorm:"avatar" json:"avatar"` // 头像 RecommendCode string `xorm:"recommend_code" json:"recommendCode"` // 推荐码 InviterBy int64 `xorm:"inviter_by" json:"inviterBy"` // 邀请人 } type UserWalletQuery struct { Id int64 `xorm:"id" json:"id"` // id UserId int64 `xorm:"user_id" json:"userId"` // 用户id BalanceStart float64 `xorm:"balance" json:"balance"` // 余额 BalanceEnd float64 `xorm:"balance" json:"balance"` // 余额 PromotionAmountStart float64 `xorm:"promotion_amount" json:"promotionAmount"` // 推广获取总金额 PromotionAmountEnd float64 `xorm:"promotion_amount" json:"promotionAmount"` // 推广获取总金额 RechargeAmountStart float64 `xorm:"recharge_amount" json:"rechargeAmount"` // 充值金额 RechargeAmountEnd float64 `xorm:"recharge_amount" json:"rechargeAmount"` // 充值金额 } type DictDataQuery struct { Id int64 `xorm:"id" json:"id"` // 字典编码 Sort int64 `xorm:"sort" json:"sort"` // 排序 DictLabel string `xorm:"dict_label" json:"dictLabel"` // 字典标签 DictValue string `xorm:"dict_value" json:"dictValue"` // 字典键值 DictType string `xorm:"dict_type" json:"dictType"` // 字典类型 Status string `xorm:"status" json:"status"` // 状态 CssStyle string `xorm:"css_style" json:"cssStyle"` // 样式 IsDefault string `xorm:"is_default" json:"isDefault"` // 是否默认 Remark string `xorm:"remark" json:"remark"` // 备注 } type DictTypeQuery struct { Id int64 `xorm:"id" json:"id"` // DictName string `xorm:"dict_name" json:"dictName"` // 字典名称 DictType string `xorm:"dict_type" json:"dictType"` // 字典类型 Status string `xorm:"status" json:"status"` // 状态(1正常/0停用) Remark string `xorm:"remark" json:"remark"` // 备注 } type ShopTopicQuery struct { Id int64 `xorm:"id" json:"id"` // Sort string `xorm:"sort" json:"sort"` // 排序 ParentId int64 `xorm:"parent_id" json:"parentId"` // 父级id TopicPageImage string `xorm:"topic_page_image" json:"topicPageImage"` // 主题首页图片 TopicName string `xorm:"topic_name" json:"topicName"` // 主题名称 TopicDesc string `xorm:"topic_desc" json:"topicDesc"` // 主题描述 TypeIds string `xorm:"type_ids" json:"typeIds"` // 商品类型id } type ShopAdviceCarouselQuery struct { Id int64 `xorm:"id" json:"id"` // Name string `xorm:"name" json:"name"` // 广告名称 ToId int64 `xorm:"to_id" json:"toId"` // 目标id AdviceType string `xorm:"advice_type" json:"adviceType"` // 广告类型,用于跳转到对应的页面 Sort string `xorm:"sort" json:"sort"` // 排序 State string `xorm:"state" json:"state"` // 状态 ShowType string `xorm:"show_type" json:"showType"` // 显示类型,carousel轮播图,package,礼包 CreateBy string `xorm:"create_by" json:"createBy"` // 创建人 CreateTime string `xorm:"create_time" json:"createTime"` // 创建时间 UpdateBy string `xorm:"update_by" json:"updateBy"` // 更新人 UpdateTime string `xorm:"update_time" json:"updateTime"` // 更新时间 ImageUrl string `xorm:"image_url" json:"imageUrl"` // 图片 ToType string `xorm:"to_type" json:"toType"` // 目标类型 } type ShopTopicSkuQuery struct { Id int64 `xorm:"id" json:"id"` // TopicId int64 `xorm:"topic_id" json:"topicId"` // SkuId int64 `xorm:"sku_id" json:"skuId"` // }