sozsoft-platform/api/modules/Sozsoft.MailQueue/Domain/MailGeneration/Models/MailTemplateTableColumnModel.cs

27 lines
993 B
C#
Raw Normal View History

2026-10-17 18:51:10 +00:00
using Sozsoft.Platform.Localization;
namespace Sozsoft.MailQueue.MailGeneration.Models;
2026-02-24 20:44:16 +00:00
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; }
2026-10-17 18:51:10 +00:00
/// <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);
2026-02-24 20:44:16 +00:00
}