2
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
// BaseAgreement 基础-协议
|
||||
type BaseAgreement struct {
|
||||
AgreementId int64 `gorm:"column:agreement_id;type:bigint(19);primary_key;comment:主键id" json:"agreement_id"`
|
||||
AgreementTitle string `gorm:"column:agreement_title;type:varchar(255);comment:协议标题" json:"agreement_title"`
|
||||
AgreementType int `gorm:"column:agreement_type;type:tinyint(1);comment:协议类型(1:大赛介绍 2:投票规则);NOT NULL" json:"agreement_type"`
|
||||
AgreementContent string `gorm:"column:agreement_content;type:text;comment:协议内容" json:"agreement_content"`
|
||||
Model
|
||||
|
||||
Reference in New Issue
Block a user