Files
School/Anul 2/Semestrul 2/ISS/Lab6/UBB-SE-2024-922-2/ProfessionalProfile/domain/Endorsement.cs
T
2024-08-31 12:07:21 +03:00

27 lines
703 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;
namespace ProfessionalProfile.Domain
{
public class Endorsement
{
public int endorsementId { get; set; }
public int endorserId { get; set; }
public int recipientid { get; set; }
public int skillId { get; set; }
//navigation properties
[JsonIgnore]
public virtual User? Endorser { get; set; }
[JsonIgnore]
public virtual User? Recipient { get; set; }
}
}