using System;

namespace OnlineSalesAutoCrop.CoreAPI.Models.Responses.Integrations;

public class IntegrationMaterialFreeGoodsResponse : ResponseBase
{
    public int FreeGoodsId { get; set; }   // required for Update
    public string SalesOrg { get; set; }
    public string DistributionChannel { get; set; }
    public string? CustomerNumber { get; set; }   // nullable
    public string? CustomerPriceGroup { get; set; }
    public string MaterialCode { get; set; }
    public decimal MinOrderQuantity { get; set; }
    public decimal ForQuantity { get; set; }
    public string UnitOfMeasure { get; set; }
    public decimal FreeQuantity { get; set; }
    public string FocUnitOfMeasure { get; set; }
    public DateTime ValidFrom { get; set; }
    public DateTime ValidTo { get; set; }
    public string? Status { get; set; }   
}

public class MaterialFreeGoodsByReqResponse : ResponseBase
{
    public string SalesOrg { get; set; }
    public string DistributionChannel { get; set; }
    public string CustomerNumber { get; set; }
    public string CustomerPriceGroup { get; set; }
    public string MaterialCode { get; set; }
    public bool IsUpdated {  get; set; }
}