33 lines
830 B
C#
33 lines
830 B
C#
using FreeSql.DataAnnotations;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace Store.ImageCache.Entities
|
|
{
|
|
[Table(Name = "images_0")]
|
|
public class ImageCacheEntity
|
|
{
|
|
[JsonIgnore]
|
|
[Column(Name = "id", IsIdentity = true, IsPrimary = true)]
|
|
public long id { get; set; }
|
|
|
|
[Column(Name = "platform")]
|
|
public byte platform { get; set; }
|
|
|
|
//[JsonProperty("md5")]
|
|
[Column(Name = "source_url_md5", StringLength = 32)]
|
|
public string source_url_md5 { get; set; }
|
|
|
|
[Column(Name = "platform_url", StringLength = 1000)]
|
|
public string platform_url { get; set; }
|
|
[JsonIgnore]
|
|
[Column(Name = "create_time")]
|
|
public DateTime create_time { get; set; }
|
|
[JsonIgnore]
|
|
[Column(Name = "update_time")]
|
|
public DateTime update_time { get; set; }
|
|
}
|
|
}
|