CourseWork_SchoolStudyAgain/SchoolAgainStudy/SchoolAgainStudyContracts/BindingModel/ProductBindingModel.cs

26 lines
676 B
C#
Raw Normal View History

using SchoolAgainStudyDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SchoolAgainStudyContracts.BindingModel
{
public class ProductBindingModel : IProduct
{
public string Title { get; set; } = string.Empty;
public string Description { get; set; } = string.Empty;
public DateTime DateCreate { get; set; }
public int StudentId { get; set; }
public string StudentName { get; set; } = string.Empty;
public Dictionary<int, IInterest> ProductInterests { get; set; } = new();
public int Id { get; set; }
}
}