Updated Playlist, SearchHistory and Video
Changed all ints to longs for field datatypes dealing with Unix timestamp.
This commit is contained in:
parent
2e27078443
commit
a61362e9b5
3 changed files with 5 additions and 5 deletions
|
|
@ -11,8 +11,8 @@ public class Playlist
|
|||
public string playlistName { get; set; } = string.Empty;
|
||||
public bool @protected { get; set; }
|
||||
public List<Video> videos { get; set; } = [];
|
||||
public int createdAt { get; set; }
|
||||
public int lastUpdatedAt { get; set; }
|
||||
public long createdAt { get; set; }
|
||||
public long lastUpdatedAt { get; set; }
|
||||
|
||||
public void Update(Playlist other)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ public class SearchHistory
|
|||
{
|
||||
[Key]
|
||||
public string _id { get; set; } = string.Empty;
|
||||
public int lastUpdatedAt { get; set; }
|
||||
public long lastUpdatedAt { get; set; }
|
||||
|
||||
public void Update(SearchHistory other)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@ public class Video
|
|||
public string author { get; set; } = string.Empty;
|
||||
public string authorId { get; set; } = string.Empty;
|
||||
public string lengthSeconds { get; set; } = string.Empty;
|
||||
public int pubished { get; set; }
|
||||
public int timeAdded { get; set; }
|
||||
public string playlistItemId { get; set; } = string.Empty;
|
||||
public long pubished { get; set; }
|
||||
public long timeAdded { get; set; }
|
||||
public string type { get; set; } = string.Empty;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue