You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
569 B
17 lines
569 B
using Shared.Enum;
|
|
|
|
namespace CatalogService.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;
|
|
} |