27 lines
1.1 KiB
Go
27 lines
1.1 KiB
Go
// 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 TableNameAiBotDept = "ai_bot_dept"
|
||
|
||
// AiBotDept mapped from table <ai_bot_dept>
|
||
type AiBotDept struct {
|
||
DeptID int32 `gorm:"column:dept_id;primaryKey" json:"dept_id"`
|
||
DingtalkDeptID int32 `gorm:"column:dingtalk_dept_id;not null;comment:标记部门的唯一id,钉钉:钉钉侧提供的dept_id" json:"dingtalk_dept_id"` // 标记部门的唯一id,钉钉:钉钉侧提供的dept_id
|
||
Name string `gorm:"column:name;not null;comment:用户名称" json:"name"` // 用户名称
|
||
Status int32 `gorm:"column:status;not null" json:"status"`
|
||
DeleteAt time.Time `gorm:"column:delete_at" json:"delete_at"`
|
||
CreateAt time.Time `gorm:"column:create_at;default:CURRENT_TIMESTAMP" json:"create_at"`
|
||
}
|
||
|
||
// TableName AiBotDept's table name
|
||
func (*AiBotDept) TableName() string {
|
||
return TableNameAiBotDept
|
||
}
|