// 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 TableNameSysDictionaryDetail = "sys_dictionary_details"

// SysDictionaryDetail mapped from table <sys_dictionary_details>
type SysDictionaryDetail 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_dictionary_details_deleted_at,priority:1" json:"deleted_at"`
	Label           string         `gorm:"column:label;type:varchar(191);comment:展示值" json:"label"`                                 // 展示值
	Value           string         `gorm:"column:value;type:varchar(191);comment:字典值" json:"value"`                                 // 字典值
	Extend          string         `gorm:"column:extend;type:varchar(191);comment:扩展值" json:"extend"`                               // 扩展值
	Status          bool           `gorm:"column:status;type:tinyint(1);comment:启用状态" json:"status"`                                // 启用状态
	Sort            int64          `gorm:"column:sort;type:bigint(20);comment:排序标记" json:"sort"`                                    // 排序标记
	SysDictionaryID int64          `gorm:"column:sys_dictionary_id;type:bigint(20) unsigned;comment:关联标记" json:"sys_dictionary_id"` // 关联标记
	ParentID        int64          `gorm:"column:parent_id;type:bigint(20) unsigned;comment:父级字典详情ID" json:"parent_id"`             // 父级字典详情ID
	Level           int64          `gorm:"column:level;type:bigint(20);comment:层级深度" json:"level"`                                  // 层级深度
	Path            string         `gorm:"column:path;type:varchar(191);comment:层级路径" json:"path"`                                  // 层级路径
}

// TableName SysDictionaryDetail's table name
func (*SysDictionaryDetail) TableName() string {
	return TableNameSysDictionaryDetail
}
