
export interface Comment {
  id: number,
  name: string,
  content: string,
  time: string,
  type: string,
  avator: string,
  replyTo?: string,
  reply: Array<Comment>
}

export const commentList: Array<Comment> = [
  {
    id: 1,
    name: '张三',
    content: '评论内容，可@人提醒，将任务内容，评估，总结，建议等写入评论，可追溯原因，帮助任务后期复盘。',
    time: '19-11-04 12:23',
    avator: '',
    type: 'creator',
    reply: []
  },
  {
    id: 2,
    name: '李四',
    content: '评论内容，可@人提醒，将任务内容，评估，总结，建议等写入评论，可追溯原因，帮助任务后期复盘。',
    time: '19-11-04 12:23',
    avator: '',
    type: 'participator',
    reply: [
      {
        id: 1,
        name: '张三',
        replyTo: '李四',
        content: '写入问题解决方案等回复。',
        time: '19-11-04 12:23',
        avator: '',
        type: 'creator',
        reply: []
      }
    ]
  },
  {
    id: 3,
    name: '王五',
    content: '评论内容，可@人提醒，将任务内容，评估，总结，建议等写入评论，可追溯原因，帮助任务后期复盘。',
    time: '19-11-04 12:23',
    avator: '',
    type: 'other',
    reply: [
      {
        id: 1,
        name: '张三',
        content: '写入问题解决方案等回复。',
        time: '19-11-04 12:23',
        avator: '',
        type: 'creator',
        reply: []
      },
      {
        id: 2,
        name: '李四',
        replyTo: '张三',
        content: '写入问题解决方案等回复。',
        time: '19-11-04 12:23',
        avator: '',
        type: 'participator',
        reply: []
      }
    ]
  }
]
