26 lines
993 B
C#
26 lines
993 B
C#
using Sozsoft.Platform.Localization;
|
|
|
|
namespace Sozsoft.MailQueue.MailGeneration.Models;
|
|
|
|
public class MailTemplateTableColumnModel
|
|
{
|
|
public int SiraNo { get; set; }
|
|
public string SutunAdi { get; set; }
|
|
public string SutunBaslik { get; set; }
|
|
public Dictionary<string, string> BaslikCss { get; set; }
|
|
public Dictionary<string, string> Css { get; set; }
|
|
public Dictionary<string, string> AltBilgiCss { get; set; }
|
|
public string VeriTipi { get; set; }
|
|
public string VeriFormati { get; set; }
|
|
public bool Gizlimi { get; set; }
|
|
public bool Korumalimi { get; set; }
|
|
public string AltToplam { get; set; }
|
|
public int Genislik { get; set; }
|
|
|
|
/// <summary>
|
|
/// Hucre metni: <c>DataFormat</c> deseni aktif kulturde uygulanir (HTML/PDF/TXT ortak yol).
|
|
/// XLS bu yoldan gecmez; orada desen Excel bicim kodu olarak hucreye yazilir.
|
|
/// </summary>
|
|
public string FormatValue(object value) => CultureFormat.Value(value, VeriFormati);
|
|
}
|
|
|