namespace FoodLabeling.Application.Contracts.Dtos.Label;
public class LabelCreateInputVo
{
public string? LabelCode { get; set; }
public string LabelName { get; set; } = string.Empty;
public string TemplateCode { get; set; } = string.Empty;
///
/// 适用 Company(fl_partner.Id);与 合并,用于解析所属门店
///
public string? PartnerId { get; set; }
///
/// 适用 Company 多选(fl_partner.Id)
///
public List? PartnerIds { get; set; }
///
/// 适用 Region 范围:ALL(全选)/ SPECIFIED(按 )。传了有效 regionIds 时按 SPECIFIED 处理。
///
public string? AppliedRegionType { get; set; }
///
/// 适用 Region 多选(fl_group.Id);与 合并,落库 fl_label_region
///
public List? RegionIds { get; set; }
///
/// 适用 Region 多选(与 相同)
///
public List? GroupIds { get; set; }
///
/// 适用门店 Id 数组(location.Id,落库 fl_label_location);主字段
///
public List? LocationIds { get; set; }
///
/// 兼容旧入参:单门店 Id;与 合并,首项写入 fl_label.LocationId
///
public string? LocationId { get; set; }
public string LabelCategoryId { get; set; } = string.Empty;
/// 标签类型 Id(fl_label_type.Id);可选,未传时标签不绑定类型
public string? LabelTypeId { get; set; }
public List ProductIds { get; set; } = new();
public object? LabelInfoJson { get; set; }
public bool State { get; set; } = true;
}