19 lines
588 B
Go
19 lines
588 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 models
|
|
|
|
const TableNameResourcePps = "resource_pps"
|
|
|
|
// ResourcePps mapped from table <resource_pps>
|
|
type ResourcePps struct {
|
|
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:ID" json:"id"` // ID
|
|
ResourceID int32 `gorm:"column:resource_id;not null;comment:套餐ID" json:"resource_id"` // 套餐ID
|
|
}
|
|
|
|
// TableName ResourcePps's table name
|
|
func (*ResourcePps) TableName() string {
|
|
return TableNameResourcePps
|
|
}
|