Files
YouTube-Manager/Manager.Data/Entities/LibraryContext/ChannelEntity.cs
2025-08-18 00:46:40 +02:00

17 lines
631 B
C#

using System.ComponentModel.DataAnnotations;
namespace Manager.Data.Entities.LibraryContext;
public class ChannelEntity : DateTimeBase
{
[MaxLength(DataConstants.DbContext.DefaultDbStringSize)]
public required string Id { get; set; }
[MaxLength(DataConstants.DbContext.DefaultDbStringSize)]
public string? Name { get; set; }
[MaxLength(DataConstants.DbContext.DefaultDbDescriptionStringSize)]
public string? Description { get; set; }
public DateTime JoinedDate { get; set; }
public long Subscribers { get; set; }
public long TotalVideos { get; set; }
public long TotalViews { get; set; }
}