mirror of
				https://github.com/Kareadita/Kavita.git
				synced 2025-11-03 19:17:05 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
		
			835 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			835 B
		
	
	
	
		
			C#
		
	
	
	
	
	
using API.DTOs.Filtering.v2;
 | 
						|
using API.Entities;
 | 
						|
using API.Entities.Enums;
 | 
						|
 | 
						|
namespace API.DTOs.Dashboard;
 | 
						|
 | 
						|
public sealed record DashboardStreamDto
 | 
						|
{
 | 
						|
    public int Id { get; set; }
 | 
						|
    public required string Name { get; set; }
 | 
						|
    /// <summary>
 | 
						|
    /// Is System Provided
 | 
						|
    /// </summary>
 | 
						|
    public bool IsProvided { get; set; }
 | 
						|
    /// <summary>
 | 
						|
    /// Sort Order on the Dashboard
 | 
						|
    /// </summary>
 | 
						|
    public int Order { get; set; }
 | 
						|
    /// <summary>
 | 
						|
    /// If Not IsProvided, the appropriate smart filter
 | 
						|
    /// </summary>
 | 
						|
    /// <remarks>Encoded filter</remarks>
 | 
						|
    public string? SmartFilterEncoded { get; set; }
 | 
						|
    public int? SmartFilterId { get; set; }
 | 
						|
    /// <summary>
 | 
						|
    /// For system provided
 | 
						|
    /// </summary>
 | 
						|
    public DashboardStreamType StreamType { get; set; }
 | 
						|
    public bool Visible { get; set; }
 | 
						|
}
 |