package com.bcxin.tenant.open.domains.dtos;

import com.bcxin.tenant.open.infrastructures.enums.DispatchAccountType;

public class ReadInstructionSettingDTO {
    private final String deviceNo;

    private final DispatchAccountType deviceType;

    private final String operatorId;

    private final String operatorName;

    public ReadInstructionSettingDTO(String deviceNo, DispatchAccountType deviceType,
                                     String operatorId, String operatorName) {
        this.deviceNo = deviceNo;
        this.deviceType = deviceType;
        this.operatorId = operatorId;
        this.operatorName = operatorName;
    }

    public static ReadInstructionSettingDTO create(String deviceNo, DispatchAccountType deviceType,
                                                   String operatorId, String operatorName) {
        return new ReadInstructionSettingDTO(deviceNo, deviceType, operatorId, operatorName);
    }
}
