30 lines
967 B
Go
30 lines
967 B
Go
// Code generated by gormcol. DO NOT EDIT.
|
|
|
|
package dbmodel
|
|
|
|
import "git.ma-al.com/goc_marek/gormcol"
|
|
|
|
const TableNamePsConditionAdvice = "ps_condition_advice"
|
|
|
|
// PsConditionAdvice mapped from table <ps_condition_advice>
|
|
type PsConditionAdvice struct {
|
|
IDCondition int32 `gorm:"column:id_condition;primaryKey" json:"id_condition"`
|
|
IDAdvice int32 `gorm:"column:id_advice;primaryKey" json:"id_advice"`
|
|
Display bool `gorm:"column:display;not null" json:"display"`
|
|
}
|
|
|
|
// TableName PsConditionAdvice's table name
|
|
func (*PsConditionAdvice) TableName() string {
|
|
return TableNamePsConditionAdvice
|
|
}
|
|
|
|
var PsConditionAdviceCols = struct {
|
|
IDCondition gormcol.Field
|
|
IDAdvice gormcol.Field
|
|
Display gormcol.Field
|
|
}{
|
|
IDCondition: gormcol.Field{}.Set((&PsConditionAdvice{}).TableName(), "id_condition"),
|
|
IDAdvice: gormcol.Field{}.Set((&PsConditionAdvice{}).TableName(), "id_advice"),
|
|
Display: gormcol.Field{}.Set((&PsConditionAdvice{}).TableName(), "display"),
|
|
}
|