// 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 TableNameWorkExperience = "work_experience"

// WorkExperience 数字员工工作经验表
type WorkExperience 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 | 删除日期
	StartDate      time.Time      `gorm:"column:start_date;comment:开始时间" json:"start_date"`               // 开始时间
	EndDate        time.Time      `gorm:"column:end_date;comment:结束时间" json:"end_date"`                   // 结束时间
	Company        string         `gorm:"column:company;comment:公司名" json:"company"`                      // 公司名
	Experience     string         `gorm:"column:experience;comment:工作内容" json:"experience"`               // 工作内容
	OrganizationID int64          `gorm:"column:organization_id;comment:机构ID" json:"organization_id"`     // 机构ID
}

// TableName WorkExperience's table name
func (*WorkExperience) TableName() string {
	return TableNameWorkExperience
}
