// 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 TableNameTutorial = "tutorial"

// Tutorial 数字员工使用教程表
type Tutorial struct {
	ID             int64          `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
	EmployeeID     int64          `gorm:"column:employee_id;comment:员工ID" json:"employee_id"`             // 员工ID
	CreatedAt      time.Time      `gorm:"column:created_at;comment:Create Time | 创建日期" json:"created_at"` // Create Time | 创建日期
	UpdatedAt      time.Time      `gorm:"column:updated_at;comment:Update Time | 修改日期" json:"updated_at"` // Update Time | 修改日期
	DeletedAt      gorm.DeletedAt `gorm:"column:deleted_at;comment:Delete Time | 删除日期" json:"deleted_at"` // Delete Time | 删除日期
	Index          int64          `gorm:"column:index;comment:序号" json:"index"`                           // 序号
	Title          string         `gorm:"column:title;comment:标题" json:"title"`                           // 标题
	Content        string         `gorm:"column:content;comment:内容" json:"content"`                       // 内容
	OrganizationID int64          `gorm:"column:organization_id;comment:机构ID" json:"organization_id"`     // 机构ID
}

// TableName Tutorial's table name
func (*Tutorial) TableName() string {
	return TableNameTutorial
}
