package ru.pravvich.models;

import java.util.ArrayList;

public class Item {
    public String nameUser;
    public long create;
    public String header;
    public String description;
    public int id;
    public ArrayList<String> commit = new ArrayList<>();

    public Item() {
    }

    public Item(String nameUser, long create, String header, 
                String description, int id, ArrayList<String> commit) {
        this.nameUser = nameUser;
        this.create = create;
        this.header = header;
        this.description = description;
        this.id = id;
        this.commit = commit;
    }

    public void setNameUser(String nameUser) {
        this.nameUser = nameUser;
    }

    public void setCreate(long create) {
        this.create = create;
    }

    public void setHeader(String header) {
        this.header = header;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setCommit(ArrayList<String> commit) {
        this.commit = commit;
    }


    public String getNameUser() {
        return nameUser;
    }

    public long getCreate() {
        return create;
    }

    public String getHeader() {
        return header;
    }

    public String getDescription() {
        return description;
    }

    public int getId() {
        return id;
    }

    public ArrayList<String> getCommits() {
        return commit;
    }
}
@@ -276,32 +276,102 @@
 Item() %7B%0A    %7D%0A%0A
+    public Item(String header) %7B%0A        this.header = header;%0A    %7D%0A%0A
     public Item(
@@ -414,17 +414,16 @@
  header,
- 
 %0A       

add chapter_002/tracker/src/main/java/ru/pravvich/models/Item.java