24 lines
550 B
C#
24 lines
550 B
C#
using RDBMS_lab4.Models;
|
|
|
|
namespace RDBMS_lab4.ViewModels;
|
|
public class TimetableViue
|
|
{
|
|
public TimetableViue() { }
|
|
public TimetableViue(Timetable timetable)
|
|
{
|
|
Id = timetable.Id;
|
|
Date = timetable.Date;
|
|
Buyerid = timetable.Buyerid;
|
|
Serviceid = timetable.Serviceid;
|
|
Workerid = timetable.Workerid;
|
|
}
|
|
public int? Id { get; set; }
|
|
|
|
public DateTime? Date { get; set; }
|
|
|
|
public int? Buyerid { get; set; }
|
|
|
|
public int? Serviceid { get; set; }
|
|
|
|
public int? Workerid { get; set; }
|
|
} |