package com.bcxin.tenant.domain.services.commands;

import com.bcxin.Infrastructures.commands.CommandAbstract;
import lombok.Getter;

@Getter
public class SyncTenantUserLocationCommand extends CommandAbstract {
    private final String id;
    private final String latitude;
    private final String longitude;

    public SyncTenantUserLocationCommand(String id, String latitude, String longitude) {
        this.latitude = latitude;
        this.longitude = longitude;
        this.id = id;
    }

    public static SyncTenantUserLocationCommand create(String id, String latitude, String longitude) {
        return new SyncTenantUserLocationCommand(id, latitude, longitude);
    }
}
