feat: friends
This commit is contained in:
15
src/views/chat/model/Friend.ts
Normal file
15
src/views/chat/model/Friend.ts
Normal file
@ -0,0 +1,15 @@
|
||||
export default class Friend {
|
||||
public id: string
|
||||
public avatar: string
|
||||
public name: string
|
||||
public description: string
|
||||
public createTime: number
|
||||
|
||||
constructor(id, avatar, name, description, createTime) {
|
||||
this.id = id
|
||||
this.avatar = avatar
|
||||
this.name = name
|
||||
this.description = description
|
||||
this.createTime = createTime
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user