PIbd-22_Bondarenko_M.S_SUBD/PersonnelDepartmentView/PersonnelDepartmentContracts/ViewModels/DepartmentViewModel.cs

21 lines
542 B
C#

using PersonnelDepartmentDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PersonnelDepartmentContracts.ViewModels
{
public class DepartmentViewModel : IDepartmentModel
{
[DisplayName("Название")]
public string Name { get; set; } = string.Empty;
[DisplayName("Контактный телефон")]
public long Telephone { get; set; }
[DisplayName("Код")]
public int Id { get; set; }
}
}