// 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 TableNameEmployeeConfig = "employee_config"

// EmployeeConfig mapped from table <employee_config>
type EmployeeConfig struct {
	ID             int64          `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
	CreatedAt      time.Time      `gorm:"column:created_at;not null;comment:Create Time | 创建日期" json:"created_at"` // Create Time | 创建日期
	UpdatedAt      time.Time      `gorm:"column:updated_at;not null;comment:Update Time | 修改日期" json:"updated_at"` // Update Time | 修改日期
	DeletedAt      gorm.DeletedAt `gorm:"column:deleted_at;comment:Delete Time | 删除日期" json:"deleted_at"`          // Delete Time | 删除日期
	Stype          string         `gorm:"column:stype;not null;comment:配置类型" json:"stype"`                         // 配置类型
	Title          string         `gorm:"column:title;comment:标题" json:"title"`                                    // 标题
	Photo          string         `gorm:"column:photo;comment:图片" json:"photo"`                                    // 图片
	OrganizationID int64          `gorm:"column:organization_id;default:1;comment:机构 ID" json:"organization_id"`   // 机构 ID
}

// TableName EmployeeConfig's table name
func (*EmployeeConfig) TableName() string {
	return TableNameEmployeeConfig
}
