Project4 Adding entities
This commit is contained in:
13
PyroFetes/Models/Communication.cs
Normal file
13
PyroFetes/Models/Communication.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace PyroFetes.Models;
|
||||
|
||||
public class Communication
|
||||
{
|
||||
[Key] public int Id { get; set; }
|
||||
[Required] public string Calling { get; set; }
|
||||
[Required] public string Email { get; set; }
|
||||
[Required] public string Meeting { get; set; }
|
||||
|
||||
//REL
|
||||
}
|
Reference in New Issue
Block a user