parent
a966a59a95
commit
2c66266908
@ -1,6 +1,17 @@
|
||||
using Shared.Enum;
|
||||
|
||||
namespace Shared.DTOs;
|
||||
|
||||
public class ExerciceTemplateDto
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Description { get; set; }
|
||||
public ETarget Target { get; set; }
|
||||
public string ImageUrl { get; set; }
|
||||
public string VideoUrl { get; set; }
|
||||
|
||||
// Default value (UTC time because it's the most common format and it's the one used by postgres database)
|
||||
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
||||
public DateTime UpdatedAt { get; set; } = DateTime.UtcNow;
|
||||
}
|
Loading…
Reference in new issue