LabelGetOutputDto.cs 1.52 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 范围:ALL / SPECIFIED</summary>
    public string AppliedRegionType { get; set; } = "SPECIFIED";

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

    /// <summary>Region 展示名(列表用,逗号拼接)</summary>
    public string Region { get; set; } = string.Empty;

    /// <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();
}