Skip to content

Commit 93328ee

Browse files
committed
Resolves #6
1 parent c1c3c69 commit 93328ee

File tree

1 file changed

+11
-1
lines changed
  • src/Application/src/RazorPagesTestSample/Data

1 file changed

+11
-1
lines changed

src/Application/src/RazorPagesTestSample/Data/Message.cs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,17 @@ public class Message
77
{
88
public int Id { get; set; }
99

10-
[Required]
10+
/// <summary>
11+
/// Gets or sets the text of the message.
12+
/// </summary>
13+
/// <value>
14+
/// The text content of the message, limited to 200 characters.
15+
/// </value>
16+
/// <remarks>
17+
/// This property is required and must be a text data type.
18+
/// If the text exceeds 200 characters, an error message will be displayed.
19+
/// </remarks>
20+
/// /// /// /// /// /// /// /// /// /// [Required]
1121
[DataType(DataType.Text)]
1222
[StringLength(200, ErrorMessage = "There's a 200 character limit on messages. Please shorten your message.")]
1323
public string Text { get; set; }

0 commit comments

Comments
 (0)