mirror of https://github.com/abpframework/abp.git
14 changed files with 67 additions and 16 deletions
@ -1,7 +1,10 @@ |
|||
namespace Volo.Blogging.Comments.Dtos |
|||
using System.ComponentModel.DataAnnotations; |
|||
|
|||
namespace Volo.Blogging.Comments.Dtos |
|||
{ |
|||
public class UpdateCommentDto |
|||
{ |
|||
[Required] |
|||
public string Text { get; set; } |
|||
} |
|||
} |
|||
} |
|||
|
|||
@ -1,11 +1,13 @@ |
|||
using System; |
|||
using System.ComponentModel.DataAnnotations; |
|||
|
|||
namespace Volo.Blogging.Posts |
|||
namespace Volo.Blogging.Posts |
|||
{ |
|||
public class GetPostInput |
|||
{ |
|||
[Required] |
|||
public string Url { get; set; } |
|||
|
|||
public Guid BlogId { get; set; } |
|||
} |
|||
} |
|||
} |
|||
|
|||
Loading…
Reference in new issue