-
Notifications
You must be signed in to change notification settings - Fork 0
/
Evidence.cs
49 lines (44 loc) · 1.26 KB
/
Evidence.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.WindowsAzure.StorageClient;
namespace HowMuchTo.Models
{
public class EvidenceDb : TableServiceEntity
{
public EvidenceDb()
{
}
public EvidenceDb(Evidence e)
{
this.CustomerID = e.CustomerID;
this.ChallengeID = e.ChallengeID;
this.Type = e.Type;
this.MediaURL = e.MediaURL;
this.UniqueID = e.UniqueID;
this.Content = e.Content;
}
public long CustomerID { get; set; }
public long ChallengeID { get; set; }
public string UniqueID { get; set; }
public long Type { get; set; }
public string MediaURL { get; set; }
public string Content { get; set; }
}
public class Evidence
{
public enum Types
{
Text,
Photo,
Video
}
public long CustomerID { get; set; }
public long ChallengeID { get; set; }
public string UniqueID { get; set; }
public long Type { get; set; }
public string MediaURL { get; set; }
public string Content { get; set; }
}
}