using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Core.Commands;
using Tango.BL.Entities;
using Tango.MachineStudio.Common.Notifications;
using Tango.SharedUI;
namespace Tango.MachineStudio.DB.ViewModels
{
public class MachinesViewVM : DbTableViewModel<Machine>
{
public MachinesViewVM(INotificationProvider notification) : base(notification)
{
}
protected override void InitializeEntity(Machine entity)
{
base.InitializeEntity(entity);
entity.ProductionDate = DateTime.UtcNow;
}
}
}