Initial Commit
This commit is contained in:
18
OtaFleet.Api/Data/Entities/FirmwareUpdate.cs
Normal file
18
OtaFleet.Api/Data/Entities/FirmwareUpdate.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user