export class MessageModel {
  img?: ResourceStr
  title?: string
  content?: string
  time?: string
  isNew: boolean = true

  constructor(img?: ResourceStr, title?: string, content?: string, time?: string, isNew?: boolean) {
    this.img = img
    this.title = title
    this.content = content
    this.time = time
    this.isNew = isNew ? isNew : false
  }
}