FlLabelPrintDataDbEntity.cs 1.03 KB
using SqlSugar;

namespace FoodLabeling.Application.Services.DbModels;

/// <summary>
/// 标签打印数据明细(对应表:fl_label_print_data)
/// </summary>
[SugarTable("fl_label_print_data")]
public class FlLabelPrintDataDbEntity
{
    [SugarColumn(IsPrimaryKey = true)]
    public string Id { get; set; } = string.Empty;

    public bool IsDeleted { get; set; }

    public DateTime CreationTime { get; set; }

    public string? CreatorId { get; set; }

    public string? LastModifierId { get; set; }

    public DateTime? LastModificationTime { get; set; }

    public string ConcurrencyStamp { get; set; } = string.Empty;

    public string TaskId { get; set; } = string.Empty;

    public int? CopyIndex { get; set; }

    /// <summary>
    /// 原始打印输入(json 字段,直接保存为字符串)
    /// </summary>
    public string? PrintInputJson { get; set; }

    /// <summary>
    /// 解析后的可打印数据(建议保存为 json 字符串)
    /// </summary>
    public string? RenderDataJson { get; set; }
}