You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
367 B
12 lines
367 B
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Entities;
|
|
|
|
public abstract class ContentLessonEntity
|
|
{
|
|
public int Id { get; set; }
|
|
public string ContentContent { get; set; }
|
|
public string ContentTitle { get; set; }
|
|
[ForeignKey(nameof(Lesson))] public int LessonId { get; set; }
|
|
public LessonEntity Lesson { get; set; } = null!;
|
|
} |