Rename to VAR.Focus
This commit is contained in:
24
VAR.Focus.Web/Code/Entities/Card.cs
Normal file
24
VAR.Focus.Web/Code/Entities/Card.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace VAR.Focus.Web.Code.Entities
|
||||
{
|
||||
public class Card
|
||||
{
|
||||
public int IDCard { get; set; }
|
||||
|
||||
public string Title { get; set; }
|
||||
public string Body { get; set; }
|
||||
|
||||
public int X { get; set; }
|
||||
public int Y { get; set; }
|
||||
|
||||
public bool Active { get; set; }
|
||||
public string CreatedBy { get; set; }
|
||||
public DateTime CreatedDate { get; set; }
|
||||
public string ModifiedBy { get; set; }
|
||||
public DateTime ModifiedDate { get; set; }
|
||||
}
|
||||
}
|
||||
85
VAR.Focus.Web/Code/Entities/CardEvents.cs
Normal file
85
VAR.Focus.Web/Code/Entities/CardEvents.cs
Normal 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
|
||||
}
|
||||
|
||||
}
|
||||
12
VAR.Focus.Web/Code/Entities/Message.cs
Normal file
12
VAR.Focus.Web/Code/Entities/Message.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
|
||||
namespace VAR.Focus.Web.Code.Entities
|
||||
{
|
||||
public class Message
|
||||
{
|
||||
public int IDMessage { get; set; }
|
||||
public string UserName { get; set; }
|
||||
public string Text { get; set; }
|
||||
public DateTime Date { get; set; }
|
||||
};
|
||||
}
|
||||
14
VAR.Focus.Web/Code/Entities/OperationStatus.cs
Normal file
14
VAR.Focus.Web/Code/Entities/OperationStatus.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace VAR.Focus.Web.Code.Entities
|
||||
{
|
||||
public class OperationStatus
|
||||
{
|
||||
public bool IsOK { get; set; }
|
||||
public string Message { get; set; }
|
||||
public string ReturnValue { get; set; }
|
||||
}
|
||||
}
|
||||
11
VAR.Focus.Web/Code/Entities/Session.cs
Normal file
11
VAR.Focus.Web/Code/Entities/Session.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace VAR.Focus.Web.Code.Entities
|
||||
{
|
||||
public class Session
|
||||
{
|
||||
public string UserName { get; set; }
|
||||
public string SessionToken { get; set; }
|
||||
public DateTime StartDate { get; set; }
|
||||
}
|
||||
}
|
||||
11
VAR.Focus.Web/Code/Entities/User.cs
Normal file
11
VAR.Focus.Web/Code/Entities/User.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
namespace VAR.Focus.Web.Code.Entities
|
||||
{
|
||||
public class User
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string Email { get; set; }
|
||||
public string PasswordHash { get; set; }
|
||||
public string PasswordSalt { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user