Compare commits

...

2 Commits

Author SHA1 Message Date
jiaji.H
35314d410a Merge branch 'feat-hjj-ReportsManage' into dev 2025-09-25 14:28:18 +08:00
jiaji.H
50bd0d0702 Updata:修改字段类型 2025-09-25 14:27:53 +08:00

View File

@ -12,7 +12,7 @@ type AnnualReport struct {
UpdatedAt time.Time
DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;index:idx_annual_report_deleted_at;"`
FileName string `gorm:"column:file_name;type:varchar(100);not null;default:'';comment:文件名称"`
Date int64 `gorm:"column:date;type:int;not null;default:0;comment:日期"`
Date int64 `gorm:"column:date;type:bigint;not null;default:0;comment:日期"`
FileUrl string `gorm:"column:file_url;type:varchar(1024);not null;default:'';comment:访问地址"`
Status int32 `gorm:"column:status;type:int;not null;default:2;comment:状态:1上架 2 下架"`
Sort int32 `gorm:"column:sort;type:int;not null;default:1;comment:排序"`