SUBD/ConsoleApp1/Models.cs

46 lines
634 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Database
{
public class User
{
public int Id;
public string name;
public string email;
public DateTime birthday;
}
public class Type
{
public int Id;
public string title;
}
public class Data
{
public int Id;
public DateTime dateTime;
public int userId;
public int typeId;
}
public class Description
{
public int Id;
public string title;
public string descript;
public string place;
}
public class Invited
{
public int userId;
public int typeId;
}
}