export interface IListQuery {
  trainNo: string
  dutyLeader: string
  createTimeStart: string
  createTimeEnd: string
  offset: number
  limit: number
  sort?: string
  order?: string
}

export interface IStaffListQuery {
  id: string
  offset: number
  limit: number
}

export interface ITrainStaffInfo {
  id?: string
  staffId: string
  trainId?: string
  score: string
  editable?: boolean
}

export interface ITrainInfo {
  id: string
  trainNo: string
  trainSite: string
  trainSiteName?: string
  trainContent: string
  trainContentName?: string
  trainDate: string
  trainWay: string
  trainWayName?: string
  trainGroupArray?: Array<string>
  trainGroup: string
  trainGroupName?: string
  trainName?: string
  dutyLeader: string
  trainType: string
  trainText?: string
  trainLocation?: string
  shouldAttendCount?: number
  actualAttendCount?: number
  attendRate?: string
  score?: string
  consume?: string
  remark?: string
  createTime: string
  staffList?: Array<ITrainStaffInfo>
}
