34 lines
1,007 B
C#
34 lines
1,007 B
C#
using System;
|
|
using Sozsoft.Platform.Enums;
|
|
|
|
namespace Sozsoft.Platform.Intranet;
|
|
|
|
/// <summary>
|
|
/// Dashboard'da yayinlanacak widget tanimi. Hangi widget'in nerede, hangi sirada ve hangi
|
|
/// yetkiyle gorunecegi bu kayittan gelir; koddaki kayit yalnizca render fonksiyonunu tasir.
|
|
/// </summary>
|
|
public class IntranetWidgetDto
|
|
{
|
|
public Guid Id { get; set; }
|
|
|
|
/// <summary>Builtin widget'ta koddaki kayit anahtari, Custom widget'ta tekil kod.</summary>
|
|
public string Code { get; set; }
|
|
|
|
public string Name { get; set; }
|
|
|
|
public string LabelKey { get; set; }
|
|
|
|
public IntranetWidgetSourceType SourceType { get; set; }
|
|
|
|
/// <summary>Custom widget'in CustomComponent adi.</summary>
|
|
public string ComponentName { get; set; }
|
|
|
|
public string PermissionName { get; set; }
|
|
|
|
public IntranetWidgetColumn Column { get; set; }
|
|
|
|
public int Order { get; set; }
|
|
|
|
/// <summary>Custom widget'a gecilecek prop'lar; JSON nesnesi.</summary>
|
|
public string Props { get; set; }
|
|
}
|