Skip to content

Commit

Permalink
Created FileAttachment model
Browse files Browse the repository at this point in the history
  • Loading branch information
zHd4 committed Jan 9, 2022
1 parent 205997b commit 3aa76a7
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions app/src/main/java/com/notesr/models/FileAttachment.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package com.notesr.models;

public class FileAttachment {
private final String name;

private final byte[] data;

public FileAttachment(String name, byte[] data) {
this.name = name;
this.data = data;
}

public String getName() {
return name;
}

public byte[] getData() {
return data;
}
}

0 comments on commit 3aa76a7

Please sign in to comment.