using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; using VOL.Entity.Enum; using VOL.Entity.SystemModels; namespace VOL.Entity.DomainModels { [Table("G_Article")] [Entity(TableCnName = "公众号文章", TableName = "G_Article")] public class G_Article : BaseEntity { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] [Display(Description = "主键Id")] [Comment("Id")] public int Id { get; set; } /// ///文章标题 /// [Display(Name = "文章标题")] [Comment("文章标题")] [Column(TypeName = "nvarchar(1000)")] public string Title { get; set; } /// ///摘要 /// [Display(Name = "摘要")] [Comment("摘要")] [Column(TypeName = "nvarchar(2000)")] public string Abstract { get; set; } /// /// 封面图 /// [Display(Name = "封面图")] [Comment("封面图")] [Column(TypeName = "nvarchar(1000)")] public string CoverImage { get; set; } /// ///文章地址 /// [Display(Name = "文章地址")] [Comment("文章地址")] [Column(TypeName = "nvarchar(1000)")] public string ArticleUrl { get; set; } /// ///更新时间 /// [Display(Name = "更新时间")] [Comment("更新时间")] [Column(TypeName = "datetime")] public DateTime UpdateDate { get; set; } } }