School Commit Init
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user