summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/kbackupfabric/data/BackupMetadata.java
blob: 48670c6e21a450f9c819fc2b9627c4da749414f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.keuin.kbackupfabric.data;

import java.io.Serializable;

public class BackupMetadata implements Serializable {
    public static final String metadataFileName = "kbackup_metadata";
    private static final long serialVersionUID = 1L;
    private final long BackupTime;
    private final String backupName;

    public BackupMetadata(long backupTime, String backupName) {
        BackupTime = backupTime;
        this.backupName = backupName;
    }

    public long getBackupTime() {
        return BackupTime;
    }

    public String getBackupName() {
        return backupName;
    }
}