mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 22:56:33 +02:00
Get attachment meta info
This commit is contained in:
@@ -33,7 +33,8 @@ import static android.arch.persistence.room.ForeignKey.CASCADE;
|
||||
@ForeignKey(childColumns = "message", entity = EntityMessage.class, parentColumns = "id", onDelete = CASCADE)
|
||||
},
|
||||
indices = {
|
||||
@Index(value = {"message"})
|
||||
@Index(value = {"message"}),
|
||||
@Index(value = {"message", "sequence"}, unique = true)
|
||||
}
|
||||
)
|
||||
public class EntityAttachment {
|
||||
@@ -44,7 +45,9 @@ public class EntityAttachment {
|
||||
@NonNull
|
||||
public Long message;
|
||||
@NonNull
|
||||
public String type;
|
||||
public Integer sequence;
|
||||
public String name;
|
||||
@NonNull
|
||||
public String type;
|
||||
public byte[] content;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user