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

import Foundation

struct ReqAckMessage : Codable {
    var shipId: Int = 0
    var messageId: String = ""  //確認したMessageId
    var time: String = ""       //投稿日時 2023-11-02T05:25:49.4362123Z
    var location: Int = 2       //1:Shore / 2:Ship
    var fromId: String = ""    //ユーザーID

    init(shipId: Int, messageId: String) {
        self.shipId = shipId
        self.messageId = messageId
    }
}
