You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
1011 B
Go
23 lines
1011 B
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
|
|
|
|
const TableNameCompanyMade = "company_made"
|
|
|
|
// CompanyMade mapped from table <company_made>
|
|
type CompanyMade struct {
|
|
ID int64 `gorm:"column:id;type:bigint;primaryKey" json:"id"`
|
|
CreatedAt int64 `gorm:"column:created_at;type:bigint;not null" json:"created_at"`
|
|
UpdatedAt int64 `gorm:"column:updated_at;type:bigint;not null" json:"updated_at"`
|
|
CompanyID int64 `gorm:"column:company_id;type:bigint;not null;uniqueIndex:uniq_company_id_mark,priority:1;comment:企业id" json:"company_id"`
|
|
Mark string `gorm:"column:mark;type:varchar(32);not null;uniqueIndex:uniq_company_id_mark,priority:2;comment:功能标识" json:"mark"`
|
|
Params string `gorm:"column:params;type:varchar(255);not null;comment:参数" json:"params"`
|
|
}
|
|
|
|
// TableName CompanyMade's table name
|
|
func (*CompanyMade) TableName() string {
|
|
return TableNameCompanyMade
|
|
}
|