File tree Expand file tree Collapse file tree
LeanKit.API.Client.Library/TransferObjects Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,6 +74,9 @@ public class Card
7474 public List < CardEvent > HistoryEvents { get ; set ; }
7575 public List < CardContextView > CardContexts { get ; set ; }
7676
77+ public virtual int ? ParentCardId { get ; set ; }
78+ public virtual int ? ParentBoardId { get ; set ; }
79+
7780 public CardView ToCardView ( )
7881 {
7982 var cardView = new CardView ( ) ;
@@ -102,6 +105,8 @@ public CardView ToCardView()
102105 cardView . LastActivity = LastActivity ;
103106 cardView . LastComment = LastComment ;
104107 cardView . DateArchived = DateArchived ;
108+ cardView . ParentBoardId = ParentBoardId ;
109+ cardView . ParentCardId = ParentCardId ;
105110
106111 return cardView ;
107112 }
Original file line number Diff line number Diff line change @@ -54,10 +54,13 @@ public virtual string PriorityText
5454 public virtual string DateArchived { get ; set ; }
5555 public virtual string LastComment { get ; set ; }
5656 public virtual int CommentsCount { get ; set ; }
57-
57+
5858 public List < Comment > Comments { get ; set ; }
5959 public List < CardEvent > HistoryEvents { get ; set ; }
6060
61+ public int ? ParentCardId { get ; set ; }
62+ public int ? ParentBoardId { get ; set ; }
63+
6164 public Card ToCard ( )
6265 {
6366 var card = new Card ( ) ;
@@ -88,6 +91,9 @@ public Card ToCard()
8891 card . LastActivity = LastActivity ;
8992 card . LastComment = LastComment ;
9093 card . DateArchived = DateArchived ;
94+ card . ParentCardId = ParentCardId ;
95+ card . ParentBoardId = ParentBoardId ;
96+
9197 return card ;
9298 }
9399 }
You can’t perform that action at this time.
0 commit comments