Changeset b373fea for ChapterX.Application/Chapter/Commands/AddRequest.cs
- Timestamp:
- 06/23/26 15:20:39 (12 days ago)
- Branches:
- main
- Children:
- 0b502c2
- Parents:
- d300631
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ChapterX.Application/Chapter/Commands/AddRequest.cs
rd300631 rb373fea 1 1 using MediatR; 2 using System.ComponentModel.DataAnnotations; 2 3 3 4 namespace ChapterX.Application.Chapter.Commands 4 5 { 5 6 public record AddRequest( 6 int Number,7 string Name,8 string Title,9 string Content,7 [Range(1, int.MaxValue)] int Number, 8 [Required][MaxLength(200)] string Name, 9 [Required][MaxLength(300)] string Title, 10 [Required] string Content, 10 11 int StoryId 11 12 ) : IRequest<AddResponse>;
Note:
See TracChangeset
for help on using the changeset viewer.
