完善功能

This commit is contained in:
2025-07-16 15:16:40 +08:00
parent b2871ec0d2
commit f68a5b360b
123 changed files with 4643 additions and 931 deletions

View File

@ -10,10 +10,10 @@ import (
// Categories is the golang structure for table categories.
type Categories struct {
Id int64 `json:"id" orm:"id" description:"分类ID"` // 分类ID
Name string `json:"name" orm:"name" description:"分类名称"` // 分类名称
Type int `json:"type" orm:"type" description:"分类类型1=男频, 2=女频"` // 分类类型1=男频, 2=女频
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"` // 创建时间
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"软删除时间戳"` // 软删除时间戳
Id int64 `json:"id" orm:"id" description:"分类ID"` // 分类ID
Name string `json:"name" orm:"name" description:"分类名称"` // 分类名称
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"` // 创建时间
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"软删除时间"` // 软删除时间
Channel int `json:"channel" orm:"channel" description:"频道类型1=男频2=女频"` // 频道类型1=男频2=女频
}