// 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;autoIncrement:true" 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"`                                               // 用户名称
	ToolList       string     `gorm:"column:tool_list;not null;comment:该部门支持的权限" json:"tool_list"`                                 // 该部门支持的权限
	Status         int32      `gorm:"column:status;not null;default:1" 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
}
