friend update

This commit is contained in:
Gordon
2023-02-01 16:19:44 +08:00
parent 7c92de7899
commit 80bde864c1
3 changed files with 28 additions and 23 deletions
+13
View File
@@ -0,0 +1,13 @@
package table
import "time"
type FriendModel struct {
OwnerUserID string `gorm:"column:owner_user_id;primary_key;size:64"`
FriendUserID string `gorm:"column:friend_user_id;primary_key;size:64"`
Remark string `gorm:"column:remark;size:255"`
CreateTime time.Time `gorm:"column:create_time"`
AddSource int32 `gorm:"column:add_source"`
OperatorUserID string `gorm:"column:operator_user_id;size:64"`
Ex string `gorm:"column:ex;size:1024"`
}