intergartions XLabs.* WIP MVVM
This commit is contained in:
parent
24e13be888
commit
b6d3dc1a9b
49 changed files with 6236 additions and 2960 deletions
32
BookAStar/BookAStar/ViewModels/BookQueryViewModel.cs
Normal file
32
BookAStar/BookAStar/ViewModels/BookQueryViewModel.cs
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
using BookAStar.Model;
|
||||
using BookAStar.Model.Social;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BookAStar.ViewModels
|
||||
{
|
||||
class BookQueryViewModel : XLabs.Forms.Mvvm.ViewModel
|
||||
{
|
||||
public BookQueryViewModel()
|
||||
{
|
||||
|
||||
}
|
||||
public BookQueryViewModel(BookQueryData data)
|
||||
{
|
||||
Debug.Assert(data != null);
|
||||
Client=data.Client;
|
||||
Location = data.Location;
|
||||
EventDate = data.EventDate;
|
||||
Previsionnal = data.Previsionnal;
|
||||
}
|
||||
public ClientProviderInfo Client { get; set; }
|
||||
public Location Location { get; set; }
|
||||
public long Id { get; set; }
|
||||
public DateTime EventDate { get; set; }
|
||||
public decimal? Previsionnal { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue