In my project I have two classes: Article and News. Some fields in them are same. For example: Title, Text, Keyword, MemberID, Date.
I created an interface and put same field in that. Is it a correct?
interface ITextContext
{
    public int ID { get; set; }
    public int Title { get; set; }
    public string Text { get; set; }
    public DateTime Date { get; set; }
    List<Keyword> Keywords;
}
public class Article:ITextContext
{
    public int ArticleID { get; set; }
    public bool IsReady { get; set; }
}
public class NewsArchive:ITextContext
{
    public int NewsArchiveID { get; set; }
}
 
     
     
    