Skip to content

Commit

Permalink
removed switchedfor from json
Browse files Browse the repository at this point in the history
  • Loading branch information
Geertvdc committed Oct 14, 2019
1 parent cb2f7e5 commit 0d9d057
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Xpirit.BeerXchange/Model/Beer.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using Newtonsoft.Json;
using System;
using System.ComponentModel.DataAnnotations;

namespace Xpirit.BeerXchange.Model
Expand All @@ -19,6 +20,8 @@ public class Beer
public string RemovedBy { get; set; }

public int? SwitchedForId { get; set; }

[JsonIgnore]
public virtual Beer SwitchedFor { get; set; }
}
}

0 comments on commit 0d9d057

Please sign in to comment.