Changeset 11872 for extensions/PiwigoLib/PiwigoLib/DTO/PwgImage.cs
- Timestamp:
- Aug 1, 2011, 5:47:03 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PiwigoLib/PiwigoLib/DTO/PwgImage.cs
r11850 r11872 16 16 public Uri UrlHighDef { get; set; } 17 17 public Int64 Counter { get; set; } 18 public DateTime CreatingDate { get; set; } 19 public DateTime AvailableDate { get; set; } 18 20 19 21 public List<PwgTag> Tags { get; set; } 20 22 21 23 public List<PwgCategory> Categories { get; set; } 24 } 22 25 26 //<image 27 //tn_ext="jpg" author="bayral" filesize="62" date_metadata_update="2011-04-12" 28 //has_high="true" high_filesize="1667" level="0" md5sum="198c02a16d5f69c3def90908b33089c3" added_by="1" 29 //<name>P1120275</name> 30 //<rates count="0" average=""/> 31 //<comment_post author="bayral" key="1312204731.6:2:6f7f43b81bcf86540216c6f39b9122a6"/> 32 //<comments page="0" per_page="10" count="1" nb_comments="1"> 33 //<comment id="1" date="2011-08-01 13:37:59"> 34 // <author>bayral</author> 35 // <content>test[b] demod[/b]</content> 36 //</comment> 37 //</comments> 38 //</image> 39 public class PwgImageInfo : PwgImage 40 { 41 public String ExtThumbail { get; set; } 42 public String Author { get; set; } 43 public Int64 ImageFileSize { get; set; } 44 public DateTime DateupdateMetaData { get; set; } 45 public Boolean hasHighDef { get; set; } 46 public Int64 HighDefFileSize { get; set; } 47 public Int32 ConfidentialLevel { get; set; } 48 public String mdSum { get; set; } 49 public Int32 UserIdAddedBy { get; set; } 50 public String Name { get; set; } 51 52 public PwgImageRate ImageRate { get; set; } 53 public PwgCommentPage ImageComments { get; set; } 54 public PwgPostCommentSecurityInfo PostCommenSecurityData { get; set; } 55 } 56 57 public class PwgPostCommentSecurityInfo 58 { 59 public String Author { get; set; } 60 public String AllowPostKey { get; set; } 61 } 62 63 public class PwgCommentPage : List<PwgComment> 64 { 65 public Int32 Page { get; set; } 66 public Int32 PerPage { get; set; } 67 public Int32 CountOf { get; set; } 68 public Int32 TotalCommentNumber { get; set; } 69 } 70 71 public class PwgComment 72 { 73 public Int32 Id { get; set; } 74 public DateTime CommentDate { get; set; } 75 public String Author { get; set; } 76 public String Content { get; set; } 23 77 } 24 78 … … 26 80 { 27 81 public Int32 Count { get; set; } 28 public Double 82 public Double Average { get; set; } 29 83 public Double Stdev { get; set; } 30 84 } 85 86 public class PwgImageAdded 87 { 88 public Int32 Id { get; set; } 89 public Uri UrlElement { get; set; } 90 } 91 31 92 }
Note: See TracChangeset
for help on using the changeset viewer.