mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 10:29:01 -07:00
26 lines
479 B
C#
26 lines
479 B
C#
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Jellyfin.Data.Entities
|
|
{
|
|
public class ImageInfo
|
|
{
|
|
public ImageInfo(string path)
|
|
{
|
|
Path = path;
|
|
LastModified = DateTime.UtcNow;
|
|
}
|
|
|
|
[Key]
|
|
[Required]
|
|
|
|
public int Id { get; protected set; }
|
|
|
|
[Required]
|
|
public string Path { get; set; }
|
|
|
|
[Required]
|
|
public DateTime LastModified { get; set; }
|
|
}
|
|
}
|