Skip to content

Commit 88dc03a

Browse files
committed
problem entity revises
1 parent ede51fa commit 88dc03a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Entity/Problem.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ public class Problem
1212
public int ProblemId { get; set; }
1313
[MaxLength(50)]
1414
[Required(ErrorMessage = "Title is required.")]
15+
public string Number { get; set; }
1516
public string Title { get; set; }
1617
public string LtUrl { get; set; }
1718
public string CsdnAddress { get; set; }
1819
public string Content { get; set; }
19-
public virtual IList<Tag> Tags { get; set; }
20+
public string TagsCombine { get; set; }//it's separated by ';'
21+
public virtual IList<Tag> Tags { get; set; } //it's a navigation property
2022
}
2123
}

0 commit comments

Comments
 (0)