
interface Message {
    id?: number;
    senderId?: number;
    receiverId?: number;
    content: string;
    type: number;
    translatedContent?: string;
    language?: any;
    translationLanguage?: any;
    isRead?: any;
    isRetracted?: any;
    customerId?: number;
    username?: string;
    cid:string;
    isReceived?: boolean;
    status?:number;
  }

interface UserInfo {
    id?: number;
    username?: string;
    userType?: number;
    remark?: string;
    countryCode?: string;
    invitationCode?: string;
    memberLevel?: number;
    sex?: string;
    avatar?: string;
    status?: number;
    loginIp?: string;
    loginDate?: number;
    onlineStatus?: number;
    lastMessage?: string;
    lastMessageType?: number;
    unreadCount?: number
}

export  {Message, UserInfo}