30 lines
1.2 KiB
Go
30 lines
1.2 KiB
Go
// 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 TableNameExaFileChunk = "exa_file_chunks"
|
|
|
|
// ExaFileChunk mapped from table <exa_file_chunks>
|
|
type ExaFileChunk 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_file_chunks_deleted_at,priority:1" json:"deleted_at"`
|
|
ExaFileID int64 `gorm:"column:exa_file_id;type:bigint(20) unsigned" json:"exa_file_id"`
|
|
FileChunkNumber int64 `gorm:"column:file_chunk_number;type:bigint(20)" json:"file_chunk_number"`
|
|
FileChunkPath string `gorm:"column:file_chunk_path;type:varchar(191)" json:"file_chunk_path"`
|
|
}
|
|
|
|
// TableName ExaFileChunk's table name
|
|
func (*ExaFileChunk) TableName() string {
|
|
return TableNameExaFileChunk
|
|
}
|