using System.ComponentModel; using TransportCompanyDataModels.Models; namespace TransportCompanyContracts.ViewModels { public class CargoViewModel : ICargoModel { public int Id { get; set; } [DisplayName("Груз")] public string CargoName { get; set; } = string.Empty; [DisplayName("Вес")] public int Weight { get; set; } } }