2026-03-02 21:09:03 +08:00

90 lines
2.0 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YD_Event.Core.Entities;
namespace YD_Event.Application.Certificate.Dtos
{
/// <summary>
/// 证书详情输出DTO
/// </summary>
public class CertificateDetailOutput
{
/// <summary>
/// 证书ID
/// </summary>
public long Id { get; set; }
/// <summary>
/// 证书名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 证书标题
/// </summary>
public string Title { get; set; }
/// <summary>
/// 发放规则
/// </summary>
public string IssueRule { get; set; }
/// <summary>
/// 证书模板内容
/// </summary>
public string TemplateContent { get; set; }
/// <summary>
/// 模板类型:0-图片,1-PDF
/// </summary>
public int TemplateType { get; set; }
/// <summary>
/// 模板宽度 (px)
/// </summary>
public int Width { get; set; }
/// <summary>
/// 模板高度 (px)
/// </summary>
public int Height { get; set; }
/// <summary>
/// 占位符配置 (JSON)
/// </summary>
public string Placeholders { get; set; }
/// <summary>
/// 二维码地址
/// </summary>
public string QrCodeUrl { get; set; }
/// <summary>
/// 证书状态
/// </summary>
public AvailabilityStatus Status { get; set; }
/// <summary>
/// 排序
/// </summary>
public int Sort { get; set; }
/// <summary>
/// 创建人ID
/// </summary>
public long CreatedUserId { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreatedTime { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public DateTime? UpdatedTime { get; set; }
}
}