// Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. package model import ( "time" "gorm.io/gorm" ) const TableNameExaFile = "exa_files" // ExaFile mapped from table type ExaFile struct { ID int64 `gorm:"column:id;type:bigint(20) unsigned;primaryKey;autoIncrement:true" json:"id"` CreatedAt time.Time `gorm:"column:created_at;type:datetime(3)" json:"created_at"` UpdatedAt time.Time `gorm:"column:updated_at;type:datetime(3)" json:"updated_at"` DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;type:datetime(3);index:idx_exa_files_deleted_at,priority:1" json:"deleted_at"` FileName string `gorm:"column:file_name;type:varchar(191)" json:"file_name"` FileMd5 string `gorm:"column:file_md5;type:varchar(191)" json:"file_md5"` FilePath string `gorm:"column:file_path;type:varchar(191)" json:"file_path"` ChunkTotal int64 `gorm:"column:chunk_total;type:bigint(20)" json:"chunk_total"` IsFinish bool `gorm:"column:is_finish;type:tinyint(1)" json:"is_finish"` } // TableName ExaFile's table name func (*ExaFile) TableName() string { return TableNameExaFile }