DocSpace-client/common/ASC.Core.Common/EF/Model/Feed/FeedLast.cs

23 lines
526 B
C#
Raw Normal View History

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-09-30 14:47:42 +00:00
public override object[] GetKeys()
{
return new object[] { LastKey };
}
2019-12-09 11:59:22 +00:00
}
}