chore: 并入 iotlcm-app 历史到 app/(原提交 f40bda9)
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// TProduct is the golang structure for table t_product.
|
||||
type TProduct struct {
|
||||
ProductId int64 `json:"productId" orm:"product_id" description:"商品id"`
|
||||
ProductName string `json:"productName" orm:"product_name" description:"商品的名称"`
|
||||
ProductSn string `json:"productSn" orm:"product_sn" description:"商品的唯一货号"`
|
||||
ProductTsn string `json:"productTsn" orm:"product_tsn" description:"条形编码"`
|
||||
ProductStock uint `json:"productStock" orm:"product_stock" description:"商品库存数量"`
|
||||
ProductPrice float64 `json:"productPrice" orm:"product_price" description:"本店售价"`
|
||||
MarketPrice float64 `json:"marketPrice" orm:"market_price" description:"市场售价"`
|
||||
ProductStatus uint `json:"productStatus" orm:"product_status" description:"该商品状态 枚举"`
|
||||
ProductType int `json:"productType" orm:"product_type" description:"商品类型 枚举"`
|
||||
CategoryId int64 `json:"categoryId" orm:"category_id" description:"商品所属商品分类id"`
|
||||
BrandId int64 `json:"brandId" orm:"brand_id" description:"品牌id"`
|
||||
Keywords string `json:"keywords" orm:"keywords" description:"商品关键字,放在商品页的关键字中,为搜索引擎收录用"`
|
||||
CheckStatus uint `json:"checkStatus" orm:"check_status" description:"审核状态 枚举"`
|
||||
CheckReason string `json:"checkReason" orm:"check_reason" description:"审核失败原因"`
|
||||
ClickCount uint `json:"clickCount" orm:"click_count" description:"商品点击数"`
|
||||
ProductWeight float64 `json:"productWeight" orm:"product_weight" description:"商品的重量,以千克为单位"`
|
||||
IsPromote uint `json:"isPromote" orm:"is_promote" description:"是否特价促销 枚举yesno_enum"`
|
||||
PromotePrice float64 `json:"promotePrice" orm:"promote_price" description:"促销价格"`
|
||||
PromoteStartDate *gtime.Time `json:"promoteStartDate" orm:"promote_start_date" description:"促销价格开始日期"`
|
||||
PromoteEndDate *gtime.Time `json:"promoteEndDate" orm:"promote_end_date" description:"促销价格结束日期"`
|
||||
SeckillMaxNum uint `json:"seckillMaxNum" orm:"seckill_max_num" description:"最大秒杀库存"`
|
||||
ProductBrief string `json:"productBrief" orm:"product_brief" description:"商品的简短描述"`
|
||||
ProductDesc string `json:"productDesc" orm:"product_desc" description:"商品的详细描述"`
|
||||
PicUrl string `json:"picUrl" orm:"pic_url" description:"商品的实际大小图片,如进入该商品页时介绍商品属性所显示的大图片"`
|
||||
PicThumb string `json:"picThumb" orm:"pic_thumb" description:"商品在前台显示的微缩图片,如在分类筛选时显示的小图片"`
|
||||
PicOriginal string `json:"picOriginal" orm:"pic_original" description:"应该是上传的商品的原始图片"`
|
||||
CommentTag string `json:"commentTag" orm:"comment_tag" description:"标签"`
|
||||
FreeShipping uint `json:"freeShipping" orm:"free_shipping" description:"是否包邮 枚举yesno_enum"`
|
||||
SortOrder uint `json:"sortOrder" orm:"sort_order" description:"商品的显示顺序"`
|
||||
StoreSortOrder uint `json:"storeSortOrder" orm:"store_sort_order" description:"排序"`
|
||||
IsBest uint `json:"isBest" orm:"is_best" description:"是否是精品 枚举yesno_enum"`
|
||||
IsNew uint `json:"isNew" orm:"is_new" description:"是否是新品 枚举yesno_enum"`
|
||||
IsHot uint `json:"isHot" orm:"is_hot" description:"是否热销 枚举yesno_enum"`
|
||||
LastUpdate *gtime.Time `json:"lastUpdate" orm:"last_update" description:"最近一次更新商品配置的时间"`
|
||||
Remark string `json:"remark" orm:"remark" description:"商品的商家备注,仅商家可见"`
|
||||
VirtualSales uint `json:"virtualSales" orm:"virtual_sales" description:"虚拟销量"`
|
||||
LimitNumber uint `json:"limitNumber" orm:"limit_number" description:"限购数量"`
|
||||
ProductCare string `json:"productCare" orm:"product_care" description:"温馨提示"`
|
||||
ProductRelated string `json:"productRelated" orm:"product_related" description:"[JSON]关联的推荐商品Id"`
|
||||
ProductServiceIds string `json:"productServiceIds" orm:"product_service_ids" description:"[JSON]服务项ids"`
|
||||
IsSupportReturn uint `json:"isSupportReturn" orm:"is_support_return" description:"是否支持无理由退货 枚举yesno_enum"`
|
||||
IsSupportCod uint `json:"isSupportCod" orm:"is_support_cod" description:"是否支持货到付款 枚举yesno_enum"`
|
||||
ProductVideo string `json:"productVideo" orm:"product_video" description:"商品视频"`
|
||||
PrepayPrice float64 `json:"prepayPrice" orm:"prepay_price" description:"预付金额"`
|
||||
VirtualSample string `json:"virtualSample" orm:"virtual_sample" description:"虚拟商品"`
|
||||
PaidContent string `json:"paidContent" orm:"paid_content" description:"付费内容"`
|
||||
NoShipping int `json:"noShipping" orm:"no_shipping" description:"是否无需配送 枚举yesno_enum"`
|
||||
FixedShippingType int `json:"fixedShippingType" orm:"fixed_shipping_type" description:"运费类型 枚举"`
|
||||
FixedShippingFee float64 `json:"fixedShippingFee" orm:"fixed_shipping_fee" description:"固定运费金额"`
|
||||
DeptId int64 `json:"deptId" orm:"dept_id" description:"机构id"`
|
||||
TenantId string `json:"tenantId" orm:"tenant_id" description:"租户ID"`
|
||||
CreatedDept int64 `json:"createdDept" orm:"created_dept" description:"创建部门"`
|
||||
CreatedBy int64 `json:"createdBy" orm:"created_by" description:"创建者"`
|
||||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"`
|
||||
UpdatedBy int64 `json:"updatedBy" orm:"updated_by" description:"更新者"`
|
||||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
||||
}
|
||||
Reference in New Issue
Block a user