//
//  ReqChatModeMessage.swift
//  Sailassist
//
//  Created by 三浦薫巳 on 2023/11/23.
//

import Foundation

/**
 * モード変更
 * 通常モードとWarningモードを切り替えます
 */
struct ReqChatModeMessage : Codable {
    var shipId: Int = 0
    var time: String = ""       //投稿日時 2023-11-02T05:25:49.4362123Z
    var location: Int = 0       //1:Shore / 2:Ship
    var fromeId: String = ""    //ユーザーID
    var mode: Int = 0           //0:通常 / 1:Warning中

    init(shipId: Int) {
        self.shipId = shipId
    }
}
