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.
WebServices/src/Shared/Entities/ExerciceTemplate.cs

22 lines
596 B

using Shared.Entities;
using Shared.Enum;
namespace CatalogService.Entities;
public class ExerciceTemplate : EntityBase
{
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;
}