namespace YD_Event.Core.Certificate
{
///
/// 证书占位符配置
///
public class CertificatePlaceholder
{
///
/// 字段键名 (例如: UserName)
///
public string Key { get; set; }
///
/// 显示名称 (例如: 姓名)
///
public string Label { get; set; }
///
/// 数据类型: Text, Image, Date, Number, QRCode
///
public string Type { get; set; }
///
/// X坐标 (px)
///
public float X { get; set; }
///
/// Y坐标 (px)
///
public float Y { get; set; }
///
/// 宽度 (px)
///
public float Width { get; set; }
///
/// 高度 (px)
///
public float Height { get; set; }
///
/// 字体名称
///
public string FontFamily { get; set; }
///
/// 字体大小
///
public float FontSize { get; set; }
///
/// 字体颜色 (Hex)
///
public string Color { get; set; }
///
/// 对齐方式: Left, Center, Right
///
public string TextAlign { get; set; }
///
/// 格式化字符串 (例如日期格式 yyyy-MM-dd)
///
public string FormatString { get; set; }
}
}