19 lines
402 B
C#
19 lines
402 B
C#
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 Traffic
|
|
{
|
|
[Key]
|
|
public int Id { get; set; }
|
|
public string Name { get; set; }
|
|
|
|
public virtual ICollection<Diary> Diaries { get; set; } = new List<Diary>();
|
|
}
|
|
}
|