22 lines
774 B
Go
22 lines
774 B
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 prestadb
|
|
|
|
const TableNamePsAttachment = "ps_attachment"
|
|
|
|
// PsAttachment mapped from table <ps_attachment>
|
|
type PsAttachment struct {
|
|
IDAttachment int32 `gorm:"column:id_attachment;primaryKey;autoIncrement:true" json:"id_attachment"`
|
|
File string `gorm:"column:file;not null" json:"file"`
|
|
FileName string `gorm:"column:file_name;not null" json:"file_name"`
|
|
FileSize int64 `gorm:"column:file_size;not null" json:"file_size"`
|
|
Mime string `gorm:"column:mime;not null" json:"mime"`
|
|
}
|
|
|
|
// TableName PsAttachment's table name
|
|
func (*PsAttachment) TableName() string {
|
|
return TableNamePsAttachment
|
|
}
|