You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
LivreLand/ViewModels/BorrowingVM.cs

47 lines
789 B

using CommunityToolkit.Mvvm.ComponentModel;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ViewModels
{
[ObservableObject]
public partial class BorrowingVM
{
#region Fields
[ObservableProperty]
private string id;
[ObservableProperty]
private BookVM book;
[ObservableProperty]
private ContactVM owner;
[ObservableProperty]
private DateTime borrowedAt;
[ObservableProperty]
private DateTime returnedAt;
#endregion
#region Properties
#endregion
#region Constructor
public BorrowingVM(Borrowing b)
{
}
#endregion
}
}