Created
April 20, 2018 06:16
-
-
Save davehax/654c87948e188c2cb607abecb9ed8657 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
namespace EventMate.Models | |
{ | |
/// <summary> | |
/// Proxy class that will be used facilitate populating or modifying multiple database rows | |
/// </summary> | |
[Serializable] | |
public class AttendanceProxy | |
{ | |
// Empty constructor for Serialisation | |
public AttendanceProxy() { } | |
public int eventId { get; set; } | |
public UserAttendanceProxy[] userAttendanceProxies { get; set; } | |
} | |
/// <summary> | |
/// Proxy class that will be used facilitate populating or modifying multiple database rows | |
/// </summary> | |
[Serializable] | |
public class UserAttendanceProxy | |
{ | |
public UserAttendanceProxy() { } | |
public int userId { get; set; } | |
public int statusId { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment