// 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"
)

const TableNameAiAdviceAdvicer = "ai_advice_advicer"

// AiAdviceAdvicer mapped from table <ai_advice_advicer>
type AiAdviceAdvicer struct {
	AdvicerID    int32     `gorm:"column:advicer_id;primaryKey;autoIncrement:true" json:"advicer_id"`
	ProjectID    int32     `gorm:"column:project_id;not null" json:"project_id"`
	Name         string    `gorm:"column:name;not null;comment:姓名" json:"name"`                               // 姓名
	Birth        time.Time `gorm:"column:birth;not null;comment:用户名称" json:"birth"`                           // 用户名称
	Gender       int32     `gorm:"column:gender;not null;comment:1:男，2：女" json:"gender"`                      // 1:男，2：女
	WorkingYears int32     `gorm:"column:working_years;not null;default:1;comment:工作年限" json:"working_years"` // 工作年限
	CreateAt     time.Time `gorm:"column:create_at;default:CURRENT_TIMESTAMP" json:"create_at"`
}

// TableName AiAdviceAdvicer's table name
func (*AiAdviceAdvicer) TableName() string {
	return TableNameAiAdviceAdvicer
}
