diff options
| author | 杨宇千 <crupest@outlook.com> | 2020-02-01 00:26:35 +0800 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-01 00:26:35 +0800 | 
| commit | d703269e06d4c9e254fe2d5589ff04cdd6a9b366 (patch) | |
| tree | f02f8d57440c777d4732bc4439f82e8b25c6732c /Timeline/Entities/UserAvatar.cs | |
| parent | 631731e5c2253116a53fdc435afca184251a34fc (diff) | |
| parent | bddf1d6eaac782672071df6527c40c81c3123f3a (diff) | |
| download | timeline-d703269e06d4c9e254fe2d5589ff04cdd6a9b366.tar.gz timeline-d703269e06d4c9e254fe2d5589ff04cdd6a9b366.tar.bz2 timeline-d703269e06d4c9e254fe2d5589ff04cdd6a9b366.zip | |
Merge pull request #56 from crupest/dev
Refactor API to be RESTful.
Diffstat (limited to 'Timeline/Entities/UserAvatar.cs')
| -rw-r--r-- | Timeline/Entities/UserAvatar.cs | 28 | 
1 files changed, 0 insertions, 28 deletions
| diff --git a/Timeline/Entities/UserAvatar.cs b/Timeline/Entities/UserAvatar.cs deleted file mode 100644 index 114246f3..00000000 --- a/Timeline/Entities/UserAvatar.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System;
 -using System.ComponentModel.DataAnnotations;
 -using System.ComponentModel.DataAnnotations.Schema;
 -
 -namespace Timeline.Entities
 -{
 -    [System.Diagnostics.CodeAnalysis.SuppressMessage("Performance", "CA1819:Properties should not return arrays", Justification = "This is data base entity.")]
 -    [Table("user_avatars")]
 -    public class UserAvatar
 -    {
 -        [Column("id"), Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
 -        public long Id { get; set; }
 -
 -        [Column("data")]
 -        public byte[]? Data { get; set; }
 -
 -        [Column("type")]
 -        public string? Type { get; set; }
 -
 -        [Column("etag"), MaxLength(30)]
 -        public string? ETag { get; set; }
 -
 -        [Column("last_modified"), Required]
 -        public DateTime LastModified { get; set; }
 -
 -        public long UserId { get; set; }
 -    }
 -}
 | 
