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.
API_SQLuedo/API_SQLuedo/EntityFramework/NotepadEntity.cs

16 lines
418 B

using System.ComponentModel.DataAnnotations.Schema;
namespace Entities;
[Table("Notepad")]
public class NotepadEntity
{
public int Id { get; set; }
[ForeignKey(nameof(User))] public int UserId { get; set; }
public UserEntity User { get; set; }
[ForeignKey(nameof(Inquiry))] public int InquiryId { get; set; }
public InquiryEntity Inquiry { get; set; }
public string Notes { get; set; }
}