// ================================================================================= // Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity // Wallpaper is the golang structure for table wallpaper. type Wallpaper struct { Id uint64 `json:"id" orm:"id" description:""` // Title string `json:"title" orm:"title" description:"标题"` // 标题 Tags string `json:"tags" orm:"tags" description:"标签(英文逗号分隔)"` // 标签(英文逗号分隔) Category string `json:"category" orm:"category" description:"分类(自由文本)"` // 分类(自由文本) Orientation int `json:"orientation" orm:"orientation" description:"朝向 0未知 1横版 2竖版 3方形"` // 朝向 0未知 1横版 2竖版 3方形 Width int `json:"width" orm:"width" description:"原图宽度(px)"` // 原图宽度(px) Height int `json:"height" orm:"height" description:"原图高度(px)"` // 原图高度(px) Filesize int64 `json:"filesize" orm:"filesize" description:"原图字节数"` // 原图字节数 Mime string `json:"mime" orm:"mime" description:"原图MIME(image/jpeg等)"` // 原图MIME(image/jpeg等) Path string `json:"path" orm:"path" description:"原图相对路径(相对存储根)"` // 原图相对路径(相对存储根) ThumbPath string `json:"thumbPath" orm:"thumb_path" description:"缩略图相对路径(480px)"` // 缩略图相对路径(480px) PreviewPath string `json:"previewPath" orm:"preview_path" description:"预览图相对路径(长边1920)"` // 预览图相对路径(长边1920) Hash string `json:"hash" orm:"hash" description:"原图MD5(秒传去重)"` // 原图MD5(秒传去重) Enabled int `json:"enabled" orm:"enabled" description:"是否启用 0否 1是"` // 是否启用 0否 1是 Sort int `json:"sort" orm:"sort" description:"排序,小的在前"` // 排序,小的在前 ViewCount int `json:"viewCount" orm:"view_count" description:"浏览次数"` // 浏览次数 DownloadCount int `json:"downloadCount" orm:"download_count" description:"下载次数"` // 下载次数 Remark string `json:"remark" orm:"remark" description:"备注"` // 备注 CreatedAt string `json:"createdAt" orm:"created_at" description:""` // UpdatedAt string `json:"updatedAt" orm:"updated_at" description:""` // DeletedAt string `json:"deletedAt" orm:"deleted_at" description:""` // }