LabelGetOutputDto.cs 1.24 KB
namespace FoodLabeling.Application.Contracts.Dtos.Label;

public class LabelGetOutputDto
{
    public string Id { get; set; } = string.Empty;

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

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

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

    /// <summary>适用 Company Id(由所属门店反推)</summary>
    public string? PartnerId { get; set; }

    public List<string> PartnerIds { get; set; } = new();

    /// <summary>适用 Region Id(<c>fl_group.Id</c>)</summary>
    public List<string> RegionIds { get; set; } = new();

    /// <summary>与 <see cref="RegionIds"/> 相同</summary>
    public List<string> GroupIds { get; set; } = new();

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

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

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

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

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

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

    public bool State { get; set; }

    public object? LabelInfoJson { get; set; }

    public List<string> ProductIds { get; set; } = new();
}