using System.ComponentModel.DataAnnotations;

namespace OnlineSalesAutoCrop.CoreAPI.Models.Responses.Integrations;

public class IntegrationMaterialResponse : ResponseBase
{
    public int MeterialId { get; set; }
    public string MaterialType { get; set; }
    public string MaterialTypeDescription { get; set; }
    public string MaterialCode { get; set; }
    public string MaterialDescription { get; set; }
    public string MaterialGroupCode { get; set; }
    public string MaterialGroupDescription { get; set; }
    public string BaseUnitOfMeasure { get; set; }
    public string SalesUnitOfMeasure { get; set; }
    public decimal UnitConversionWithBaseUoM { get; set; }
    public string PlantCode { get; set; }
    public string PlantDescription { get; set; }
    public string StorageLocationCode { get; set; }
    public string StorageLocationDescription { get; set; }
    public string SalesOrganization { get; set; }
    public string SalesOrganizationDescription { get; set; }
    public string BrandCode { get; set; }
    public string BrandName { get; set; }
}

public class MaterialIntegrationReqResponse : ResponseBase  
{
    public string MaterialCode { get; set; }
    public bool IsUpdated { get; set;  }
}