study-lib-backend/API/Models/Comment.cs
2020-12-12 14:47:20 +01:00

18 lines
332 B
C#

using StudyLib.Models;
using System.ComponentModel.DataAnnotations;
namespace StudyLib.API.Models
{
public class Comment
{
public long ID { get; set; }
[Required]
public string Text { get; set; }
public long SubjectId { get; set; }
public Subject Subject { get; set; }
}
}