11package com.freerdp.freerdpcore.data;
13import androidx.annotation.NonNull;
14import androidx.room.ColumnInfo;
15import androidx.room.Entity;
16import androidx.room.PrimaryKey;
20@Entity(tableName =
"quick_connect_history") public class HistoryEntity
22 @PrimaryKey @ColumnInfo(name =
"item", defaultValue =
"") @NonNull
public String item;
24 @ColumnInfo(name =
"timestamp", defaultValue =
"0")
public long timestamp;
26 public HistoryEntity(@NonNull String item)
29 this.timestamp =
new Date().getTime();