// 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 TableNameSysExportTemplateJoin = "sys_export_template_join"

// SysExportTemplateJoin mapped from table <sys_export_template_join>
type SysExportTemplateJoin 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_join_deleted_at,priority:1" json:"deleted_at"`
	TemplateID string         `gorm:"column:template_id;type:varchar(191);comment:模板标识" json:"template_id"` // 模板标识
	Joins      string         `gorm:"column:joins;type:varchar(191);comment:关联" json:"joins"`               // 关联
	TblName    string         `gorm:"column:table;type:varchar(191);comment:关联表" json:"table"`              // 关联表
	On         string         `gorm:"column:on;type:varchar(191);comment:关联条件" json:"on"`                   // 关联条件
}

// TableName SysExportTemplateJoin's table name
func (*SysExportTemplateJoin) TableName() string {
	return TableNameSysExportTemplateJoin
}
