123456789101112131415161718192021222324 |
- package research_group_relation
- type ResearchGroupRelation struct {
- ID int `gorm:"primaryKey;column:id;type:int(10) unsigned;not null" json:"-"`
- ResearchGroupID int `gorm:"column:research_group_id;type:int(10) unsigned;not null;default:0" json:"researchGroupId"`
- AdminID int `gorm:"column:admin_id;type:int(10) unsigned;not null;default:0" json:"adminId"`
- }
- func (m *ResearchGroupRelation) TableName() string {
- return "research_group_relation"
- }
- var ResearchGroupRelationColumns = struct {
- ID string
- ResearchGroupID string
- AdminID string
- }{
- ID: "id",
- ResearchGroupID: "research_group_id",
- AdminID: "admin_id",
- }
|