Duration as double

This commit is contained in:
2026-07-24 19:01:19 +02:00
parent 6412a657e7
commit 57ef2c6053
10 changed files with 1224 additions and 20 deletions
+2 -2
View File
@@ -36,10 +36,10 @@ namespace Musify.Domain.Entities
public string? ThumbnailUrl { get; set; }
[Required]
public int DurationSeconds { get; set; } = 0;
public double DurationSeconds { get; set; }
[Required]
public bool IsExplicit { get; set; } = false;
public bool IsExplicit { get; set; }
[ForeignKey(nameof(MixId))]
public Mix Mix { get; set; }
+1 -1
View File
@@ -19,7 +19,7 @@ namespace Musify.Domain.Entities
public required string NormalizedTitle { get; set; }
[Required]
public int DurationSeconds { get; set; }
public double DurationSeconds { get; set; }
[Required]
public LifeCycleStatus LifeCycleStatus { get; set; } = LifeCycleStatus.Active;