golang-im聊天
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

20 lines
283 B

  1. package friend
  2. import "time"
  3. const (
  4. FriendStatusApply = 0 // 申请
  5. FriendStatusAgree = 1 // 同意
  6. )
  7. type Friend struct {
  8. Id int64
  9. UserId int64
  10. FriendId int64
  11. Remarks string
  12. Extra string
  13. Status int
  14. CreateTime time.Time
  15. UpdateTime time.Time
  16. }