classdef Patients
    properties
        arrive %
        start %
        state %
        duration %
        pri %
    end
    
    methods
        function obj = Patients(arrive, start, state, duration, priority)
            if nargin > 0
                obj.arrive = arrive;
                obj.start = start;
                obj.state = state;
                obj.duration = duration;
                obj.pri = priority;
            end
        end
    end
end