2025-10-15 13:42:12 +02:00

44 lines
743 B
Java

package cz.trask.migration.model;
public class ZipEntryData {
private String name;
private FileType type;
private byte[] content;
public ZipEntryData(String name, FileType type, byte[] content) {
this.name = name;
this.type = type;
this.content = content;
}
// Gettery a settery
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public FileType getType() {
return type;
}
public void setType(FileType type) {
this.type = type;
}
public byte[] getContent() {
return content;
}
public void setContent(byte[] content) {
this.content = content;
}
@Override
public String toString() {
return "ZipEntryData{name='" + name + "', type=" + type + "}";
}
}