-
Notifications
You must be signed in to change notification settings - Fork 0
/
Media.cs
105 lines (63 loc) · 2.36 KB
/
Media.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
using System;
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
namespace Canopy.Provider.Models
{
public class Media : BusinessObject
{
[JsonPropertyName("id")]
public string Id { get; set; }
[JsonPropertyName("type")]
public string Type { get; set; }
[JsonPropertyName("status")]
public Status? Status { get; set; }
[JsonPropertyName("thumb")]
public string ImgThumbURL { get; set; }
[JsonPropertyName("smallPreview")]
public string ImgSmallPreviewURL { get; set; }
[JsonPropertyName("preview")]
public string ImgPreviewURL { get; set; }
[JsonPropertyName("full")]
public string ImgFullURL { get; set; }
[JsonPropertyName("svg")]
public string ImgSVGURL { get; set; }
[JsonPropertyName("original")]
public string ImgOriginalURL { get; set; }
[MaxLength(100)]
[JsonPropertyName("originalFilename")]
public string OriginalFilename { get; set; }
[Required]
[JsonPropertyName("dateCreated")]
public DateTime? CreatedOn { get; set; }
[Required]
[MinLength(1)]
[MaxLength(100)]
[JsonPropertyName("code")]
public string Code { get; set; }
[JsonPropertyName("dateLastModified")]
public DateTime? LastModified { get; set; }
[Required]
[MinLength(1)]
[MaxLength(1)]
[JsonPropertyName("attchmentStatus")]
public string AttachmentStatus { get; set; }
[JsonPropertyName("themeTags")]
public string ThemeTags { get; set; }
[MaxLength(100)]
[JsonPropertyName("imageCodeA")]
public string ImageCodeA { get; set; }
[MaxLength(100)]
[JsonPropertyName("imageCodeB")]
public string ImageCodeB { get; set; }
[JsonPropertyName("extraTags")]
public string ExtraTags { get; set; }
[JsonPropertyName("dateShoot")]
public DateTime? ShootDate { get; set; }
[JsonPropertyName("exposureDate")]
public DateTime? ExposureDate { get; set; }
[JsonPropertyName("nodeReference")]
public string NodeReference { get; set; }
[JsonPropertyName("originalDistributionPermit")]
public string OriginalDistributionPermit { get; set; }
}
}