using foodmarket.Domain.Common;

namespace foodmarket.Domain.Catalog;

public class ProductBarcode : TenantEntity
{
    public Guid ProductId { get; set; }
    public Product? Product { get; set; }
    public string Code { get; set; } = null!;
    public BarcodeType Type { get; set; } = BarcodeType.Ean13;
    public bool IsPrimary { get; set; }
}
