kra/internal/data/model/sys_export_template_conditi...

31 lines
1.5 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 TableNameSysExportTemplateCondition = "sys_export_template_condition"
// SysExportTemplateCondition mapped from table <sys_export_template_condition>
type SysExportTemplateCondition 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_sys_export_template_condition_deleted_at,priority:1" json:"deleted_at"`
TemplateID string `gorm:"column:template_id;type:varchar(191);comment:模板标识" json:"template_id"` // 模板标识
From string `gorm:"column:from;type:varchar(191);comment:条件取的key" json:"from"` // 条件取的key
Column string `gorm:"column:column;type:varchar(191);comment:作为查询条件的字段" json:"column"` // 作为查询条件的字段
Operator string `gorm:"column:operator;type:varchar(191);comment:操作符" json:"operator"` // 操作符
}
// TableName SysExportTemplateCondition's table name
func (*SysExportTemplateCondition) TableName() string {
return TableNameSysExportTemplateCondition
}