Skip to content

Instantly share code, notes, and snippets.

@ChrisTowles
Last active March 1, 2016 15:30
Show Gist options
  • Save ChrisTowles/8c2824f07e1d9d47b31a to your computer and use it in GitHub Desktop.
Save ChrisTowles/8c2824f07e1d9d47b31a to your computer and use it in GitHub Desktop.
Azure Mobile Sync Model - Server
using Microsoft.Azure.Mobile.Server;
using Microsoft.Azure.Mobile.Server.Tables;
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Ecrumbs.Models.DataObjects
{
public class ActivityProfileDto : ITableData
{
public string AccountId { get; set; }
public string ProfileName { get; set; }
public string StartMessage { get; set; }
public string EndMessage { get; set; }
public int ActivityTypeId { get; set; }
#region System properties
public string Id { get; set; }
public byte[] Version { get; set; }
public DateTimeOffset? CreatedAt { get; set; }
public DateTimeOffset? UpdatedAt { get; set; }
public bool Deleted { get; set; }
#endregion
public ActivityProfileDto()
{
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment