2019-12-09 11:59:22 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
|
|
|
|
namespace ASC.Core.Common.EF.Model
|
|
|
|
|
{
|
|
|
|
|
[Table("feed_last")]
|
2019-12-23 13:36:37 +00:00
|
|
|
|
public class FeedLast : BaseEntity
|
2019-12-09 11:59:22 +00:00
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
[Column("last_key")]
|
|
|
|
|
public string LastKey { get; set; }
|
|
|
|
|
|
|
|
|
|
[Column("last_date")]
|
|
|
|
|
public DateTime LastDate { get; set; }
|
2019-12-23 13:36:37 +00:00
|
|
|
|
|
2020-02-21 12:38:04 +00:00
|
|
|
|
public override object[] GetKeys() => new object[] { LastKey };
|
2019-12-09 11:59:22 +00:00
|
|
|
|
}
|
|
|
|
|
}
|