// 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 TableNameCategory = "category" // Category mapped from table type Category 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 | 删除日期 Name string `gorm:"column:name;comment:name | agent 名称" json:"name"` // name | agent 名称 OrganizationID int64 `gorm:"column:organization_id;comment:organization_id | 租户id" json:"organization_id"` // organization_id | 租户id } // TableName Category's table name func (*Category) TableName() string { return TableNameCategory }