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

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

@Getter
public class SyncDeviceCommand extends CommandAbstract {
    private final String userId;
    private final String cid;

    public SyncDeviceCommand(String userId, String cid) {
        this.cid = cid;
        this.userId = userId;
    }

    public static SyncDeviceCommand create(String userId, String cid) {
        return new SyncDeviceCommand(userId, cid);
    }
}
