class ShiftType2DaysPattern extends Pattern {

    private ShiftType dayIndex0ShiftType;
    private ShiftType dayIndex1ShiftType;

    public ShiftType2DaysPattern() {
    }

    public ShiftType2DaysPattern(long id, String code) {
        super(id, code);
    }

    public ShiftType getDayIndex0ShiftType() {
        return dayIndex0ShiftType;
    }

    public void setDayIndex0ShiftType(ShiftType dayIndex0ShiftType) {
        this.dayIndex0ShiftType = dayIndex0ShiftType;
    }

    public ShiftType getDayIndex1ShiftType() {
        return dayIndex1ShiftType;
    }

    public void setDayIndex1ShiftType(ShiftType dayIndex1ShiftType) {
        this.dayIndex1ShiftType = dayIndex1ShiftType;
    }

    @Override
    public String toString() {<FILL_FUNCTION_BODY>}

}

        return "Work pattern: " + dayIndex0ShiftType + ", " + dayIndex1ShiftType;
    
<methods>public java.lang.String getCode() ,public int getWeight() ,public void setCode(java.lang.String) ,public void setWeight(int) ,public java.lang.String toString() <variables>protected java.lang.String code,protected int weight