package ru.job4j;

import java.util.Calendar;

public class UserM {
    private String name;
    private int children;
    private Calendar birthday;

    public UserM(String name, int children, Calendar birthday) {
        this.name = name;
        this.children = children;
        this.birthday = birthday;
    }

    public String getName() {
        return name;
    }

    public int getChildren() {
        return children;
    }

    public Calendar getBirthday() {
        return birthday;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setChildren(int children) {
        this.children = children;
    }

    public void setBirthday(Calendar birthday) {
        this.birthday = birthday;
    }
}

@@ -302,32 +302,279 @@
 irthday;%0A    %7D%0A%0A
+    @Override%0A    public int hashCode() %7B%0A        int result = name != null ? name.hashCode() : 0;%0A        result = 31 * result + children;%0A        result = 31 * result + (birthday != null ? birthday.hashCode() : 0);%0A        return result;%0A    %7D%0A%0A
     public Strin

task 1003