SUBD_SportCompetitions/SportCompetitionsContracts/ViewModels/CompetitionViewModel.cs

22 lines
644 B
C#

using SportCompetitionsDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SportCompetitionsContracts.ViewModels
{
public class CompetitionViewModel : ICompetitionModel
{
public int Id { get; set; }
[DisplayName("Название соревнования")]
public string? CompetitionName { get; set; }
[DisplayName("Дата проведения")]
public DateTime CompetitionDateHolding { get; set; }
[DisplayName("Город проведения")]
public string? CompetitionCity { get; set; }
}
}