implemente un id commande de la vue sur ligne de commande

This commit is contained in:
2017-03-09 15:28:05 +01:00
parent 1afdcbfbd1
commit 0e99756577

View File

@ -1,15 +1,16 @@
using ZicMoove.Attributes;
using ZicMoove.Interfaces;
using ZicMoove.Model.Workflow;
using ZicMoove.ViewModels.Validation;

using System;
using System.Globalization;
using System.Windows.Input;
using System.ComponentModel;
using YavscLib.Billing;
namespace ZicMoove.ViewModels.EstimateAndBilling
{
public class BillingLineViewModel : EditingViewModel<BillingLine>, IBillingLine
using Attributes;
using Model.Workflow;
using Validation;
public class BillingLineViewModel : EditingViewModel<BillingLine>, ICommandLine
{
public ICommand RemoveCommand { get; set; }
public ICommand ValidateCommand { set; get; }
@ -67,6 +68,34 @@ namespace ZicMoove.ViewModels.EstimateAndBilling
Data.Count = count;
}
}
private long estimateId;
public long EstimateId
{
get
{
return estimateId;
}
set
{
SetProperty<long>(ref estimateId, value);
Data.EstimateId = estimateId;
}
}
private long id;
public long Id
{
get
{
return id;
}
set
{
SetProperty<long>(ref id, value);
Data.Id = id;
}
}
private string description;
public string Description
{