You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
551 B

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entity_Framework.Entity
{
public class Images
{
public int Id { get; set; }
public string Base64 { get; set; }
// ----- Relation ------ //
[Required]
public int IdPilote { get; set; }
[ForeignKey(nameof(IdPilote))]
public Pilotes Pilote { get; set; }
}
}