FlLabelTemplateDbEntity.cs 1.04 KB
using SqlSugar;

namespace FoodLabeling.Application.Services.DbModels;

[SugarTable("fl_label_template")]
public class FlLabelTemplateDbEntity
{
    [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 TemplateCode { get; set; } = string.Empty;

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

    public string? LabelType { get; set; }

    public string Unit { get; set; } = "inch";

    public decimal Width { get; set; }

    public decimal Height { get; set; }

    public string AppliedLocationType { get; set; } = "ALL";

    public bool ShowRuler { get; set; }

    public bool ShowGrid { get; set; }

    public int VersionNo { get; set; }

    public bool State { get; set; }
}