Rename to VAR.Focus

This commit is contained in:
2015-06-26 02:23:21 +02:00
parent 58d51ee3b7
commit 175fad80e4
52 changed files with 71 additions and 98 deletions

View File

@@ -0,0 +1,85 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace VAR.Focus.Web.Code.Entities
{
public interface ICardEvent
{
int IDCardEvent { get; set; }
string EventType { get; set; }
int IDCard { get; set; }
string UserName { get; set; }
DateTime Date { get; set; }
}
public class CardCreateEvent : ICardEvent
{
#region ICardEvent
public int IDCardEvent { get; set; }
private string _eventType="CardCreate";
public string EventType { get { return _eventType; } set { _eventType = value; } }
public int IDCard { get; set; }
public string UserName { get; set; }
public DateTime Date { get; set; }
#endregion
public string Title { get; set; }
public string Body { get; set; }
public int X { get; set; }
public int Y { get; set; }
}
public class CardMoveEvent : ICardEvent
{
#region ICardEvent
public int IDCardEvent { get; set; }
private string _eventType = "CardMove";
public string EventType { get { return _eventType; } set { _eventType = value; } }
public int IDCard { get; set; }
public string UserName { get; set; }
public DateTime Date { get; set; }
#endregion
public int X { get; set; }
public int Y { get; set; }
}
public class CardEditEvent : ICardEvent
{
#region ICardEvent
public int IDCardEvent { get; set; }
private string _eventType = "CardEdit";
public string EventType { get { return _eventType; } set { _eventType = value; } }
public int IDCard { get; set; }
public string UserName { get; set; }
public DateTime Date { get; set; }
#endregion
public string Title { get; set; }
public string Body { get; set; }
}
public class CardDeleteEvent : ICardEvent
{
#region ICardEvent
public int IDCardEvent { get; set; }
private string _eventType = "CardDelete";
public string EventType { get { return _eventType; } set { _eventType = value; } }
public int IDCard { get; set; }
public string UserName { get; set; }
public DateTime Date { get; set; }
#endregion
}
}