presence/data/DAO/Diary.cs

33 lines
742 B
C#
Raw Permalink Normal View History

2024-11-26 05:09:12 +00:00
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace data.DAO
{
public class Diary
{
[Key]
public int Id { get; set; }
2024-12-10 05:26:38 +00:00
public string? DiaryText { get; set; }
2024-11-26 05:09:12 +00:00
public int TrafficId { get; set; }
public int StudentGroupSubjectId { get; set; }
2024-12-10 05:26:38 +00:00
public int StudentId { get; set; }
2024-11-26 05:09:12 +00:00
public virtual Traffic Traffic { get; set; }
public virtual StudentGroupSubject StudentGroupSubject { get; set; }
public virtual Student Student { get; set; }
public int NumberSubject { get; set; }
public DateOnly Date { get; set; }
}
}