19 lines
421 B
C#
19 lines
421 B
C#
|
|
using System.ComponentModel.DataAnnotations;
|
||
|
|
|
||
|
|
namespace OtaFleet.Api.Data.Entities;
|
||
|
|
|
||
|
|
public class FirmwareUpdate
|
||
|
|
{
|
||
|
|
public int Id { get; set; }
|
||
|
|
|
||
|
|
[Required]
|
||
|
|
public string Version { get; set; } = string.Empty;
|
||
|
|
|
||
|
|
public string? Description { get; set; }
|
||
|
|
|
||
|
|
[Required]
|
||
|
|
public string FilePath { get; set; } = string.Empty;
|
||
|
|
|
||
|
|
public DateTime UploadedAt { get; set; } = DateTime.UtcNow;
|
||
|
|
}
|