/**
 * 运行信息查询参数
 */
export interface RRobotRunningInfoQuery {
  robotUuid?: string;
  robotAccount?: string;
  runningStatus?: number;
  currentBehavior?: number;
  liveRoomId?: string;
  anchorId?: string;
  loginTime?: string;
  logoutTime?: string;
  lastUpdateTime?: string;
  enterLiveRoomTime?: string;
  exitLiveRoomTime?: string;
  anchorName?: string;
  liveRoomName?: string;
  platform?: string;
  liveRoomStatus?: string;
  creator?: string;
  creatorUuid?: string;
  createTime?: string;
  updateTime?: string;
}

/**
 * 运行信息实体
 */
export interface RRobotRunningInfo {
  id?: number;
  uuid?: string;
  robotUuid?: string;
  robotAccount?: string;
  runningStatus?: number;
  currentBehavior?: number;
  liveRoomId?: string;
  anchorId?: string;
  loginTime?: string;
  logoutTime?: string;
  lastUpdateTime?: string;
  enterLiveRoomTime?: string;
  exitLiveRoomTime?: string;
  anchorName?: string;
  liveRoomName?: string;
  platform?: string;
  liveRoomStatus?: string;
  creator?: string;
  creatorUuid?: string;
  createTime?: string;
  updateTime?: string;
}

/**
 * 运行信息分页响应
 */
export interface RRobotRunningInfoPageResponse {
  list: RRobotRunningInfo[];
  total: number;
  current: number;
  size: number;
}

/**
 * 运行信息列表响应
 */
export interface RRobotRunningInfoListResponse {
  list: RRobotRunningInfo[];
}

/**
 * 运行信息创建请求
 */
export interface RRobotRunningInfoCreateRequest {
  robotUuid: string;
  robotAccount: string;
  runningStatus: number;
  currentBehavior: number;
  liveRoomId?: string;
  anchorId?: string;
  loginTime?: string;
  logoutTime?: string;
  lastUpdateTime?: string;
  enterLiveRoomTime?: string;
  exitLiveRoomTime?: string;
  anchorName?: string;
  liveRoomName?: string;
  platform?: string;
  liveRoomStatus?: string;
  creator: string;
  creatorUuid: string;
}

/**
 * 运行信息更新请求
 */
export interface RRobotRunningInfoUpdateRequest {
  uuid: string;
  robotUuid?: string;
  robotAccount?: string;
  runningStatus?: number;
  currentBehavior?: number;
  liveRoomId?: string;
  anchorId?: string;
  loginTime?: string;
  logoutTime?: string;
  lastUpdateTime?: string;
  enterLiveRoomTime?: string;
  exitLiveRoomTime?: string;
  anchorName?: string;
  liveRoomName?: string;
  platform?: string;
  liveRoomStatus?: string;
  creator?: string;
  creatorUuid?: string;
}

/**
 * 运行状态选项
 */
export const runningStatusOptions = [
  { label: '在线', value: 1 },
  { label: '离线', value: 2 },
  { label: '异常', value: 3 }
];

/**
 * 当前行为选项
 */
export const currentBehaviorOptions = [
  { label: '闲逛', value: 0 },
  { label: '在直播间', value: 1 },
  { label: '送礼', value: 2 },
  { label: '聊天', value: 3 },
  { label: '其他', value: 4 }
];

/**
 * 直播间状态选项
 */
export const liveRoomStatusOptions = [
  { label: '直播中', value: 'live' },
  { label: '未直播', value: 'offline' },
  { label: '异常', value: 'error' }
];