// 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 TableNameSysExportTemplate = "sys_export_templates"

// SysExportTemplate mapped from table <sys_export_templates>
type SysExportTemplate 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_templates_deleted_at,priority:1" json:"deleted_at"`
	DbName       string         `gorm:"column:db_name;type:varchar(191);comment:数据库名称" json:"db_name"`        // 数据库名称
	Name         string         `gorm:"column:name;type:varchar(191);comment:模板名称" json:"name"`               // 模板名称
	TblName      string         `gorm:"column:table_name;type:varchar(191);comment:表名称" json:"table_name"`    // 表名称
	TemplateID   string         `gorm:"column:template_id;type:varchar(191);comment:模板标识" json:"template_id"` // 模板标识
	TemplateInfo string         `gorm:"column:template_info;type:text" json:"template_info"`
	Limit        int64          `gorm:"column:limit;type:bigint(20);comment:导出限制" json:"limit"` // 导出限制
	Order        string         `gorm:"column:order;type:varchar(191);comment:排序" json:"order"` // 排序
}

// TableName SysExportTemplate's table name
func (*SysExportTemplate) TableName() string {
	return TableNameSysExportTemplate
}
