// Path: src/main/java/uk/kihira/tails/client/outfit/Outfit.java
// public final class Outfit
// {
//     public final UUID id;
//     public String name;
//     public String description;
//     public ArrayList<OutfitPart> parts;
// 
//     public Outfit()
//     {
//         id = UUID.randomUUID();
//         parts = new ArrayList<>();
//     }
// 
//     // todo make a client only multimap of mountpoint <-> outfitpart?
// }


import com.google.gson.annotations.Expose;
import uk.kihira.tails.client.outfit.Outfit;
import java.util.Calendar;
import java.util.UUID;
package uk.kihira.tails.common;



public class LibraryEntryData {
    @Expose public final Outfit outfit;
    @Expose public String entryName = "";
    @Expose public final String comment = "";
    @Expose public boolean favourite;
    @Expose public final long creationDate;
    @Expose public final UUID creatorUUID;
    /**
     * Name is used purely for display purposes.
     */
    @Expose public String creatorName;
    public boolean remoteEntry = false;

    public LibraryEntryData(UUID creatorUUID, String creatorName, String name, Outfit outfit) {
        this.entryName = name;
        this.outfit = outfit;
        this.creationDate = Calendar.getInstance().getTimeInMillis();
        this.creatorUUID = creatorUUID;
        this.creatorName = creatorName;
    }

    @SuppressWarnings("RedundantIfStatement")
    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
// Path: src/main/java/uk/kihira/tails/client/outfit/Outfit.java
// public final class Outfit
// {
//     public final UUID id;
//     public String name;
//     public String description;
//     public ArrayList<OutfitPart> parts;
// 
//     public Outfit()
//     {
//         id = UUID.randomUUID();
//         parts = new ArrayList<>();
//     }
// 
//     // todo make a client only multimap of mountpoint <-> outfitpart?
// }


// Path: src/main/java/uk/kihira/tails/common/LibraryEntryData.java
import com.google.gson.annotations.Expose;
import uk.kihira.tails.client.outfit.Outfit;
import java.util.Calendar;
import java.util.UUID;

package uk.kihira.tails.common;



public class LibraryEntryData {
    @Expose public final Outfit outfit;
    @Expose public String entryName = "";
    @Expose public final String comment = "";
    @Expose public boolean favourite;
    @Expose public final long creationDate;
    @Expose public final UUID creatorUUID;
    /**
     * Name is used purely for display purposes.
     */
    @Expose public String creatorName;
    public boolean remoteEntry = false;

    public LibraryEntryData(UUID creatorUUID, String creatorName, String name, Outfit outfit) {
        this.entryName = name;
        this.outfit = outfit;
        this.creationDate = Calendar.getInstance().getTimeInMillis();
        this.creatorUUID = creatorUUID;
        this.creatorName = creatorName;
    }

    @SuppressWarnings("RedundantIfStatement")
    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;