package dao import "lone-services/pkg/utils" type Agreement struct { Id int64 `gorm:"column:id;primaryKey;autoIncrement" json:"id"` TypeId int32 `gorm:"column:type_id" json:"type_id"` Title string `gorm:"column:title" json:"title"` Content string `gorm:"column:content" json:"content"` Status int8 `gorm:"column:status" json:"status"` CreatedAt utils.CustomTime `gorm:"column:created_at" json:"created_at"` UpdatedAt utils.CustomTime `gorm:"column:updated_at" json:"updated_at"` } type AgreementInfo struct { Id int64 `json:"id"` TypeId int32 `json:"type_id"` Content string `json:"content"` CreatedAt utils.CustomTime `json:"created_at"` }