using System.ComponentModel.DataAnnotations; using ELTKasko; using ELTOsago; namespace ELT.Client.Models.Common; public class GetPreRequestDataInput { public string Kladr { get; set; } public string BrandId { get; set; } public string ModelId { get; set; } public SpecialMachinery SpecialMachinery { get; set; } } public class GetPreRequestDataOutput { public string Kladr { get; set; } [Required] public string Brand { get; set; } [Required] public string Model { get; set; } public string Modification { get; set; } } public class GetKaskoCalculationInput { [Required] public string CompanyId { get; set; } [Required] public PreliminaryKASKOCalculationParams Params { get; set; } [Required] public GetPreRequestDataInput Preparams { get; set; } } public class GetOsagoCalculationInput { [Required] public string CompanyId { get; set; } [Required] public OSAGOFullCalculationRequest Params { get; set; } [Required] public GetPreRequestDataInput Preparams { get; set; } }