You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
363 B
16 lines
363 B
using System.ComponentModel; |
|
using System.ComponentModel.DataAnnotations; |
|
|
|
namespace BookStore.Services.Dtos; |
|
|
|
public class BookCreateUpdateInput |
|
{ |
|
[Required] |
|
[StringLength(64)] |
|
[DisplayName("书籍名称")] |
|
public string BookName { get; set; } |
|
|
|
[StringLength(512)] |
|
[DisplayName("描述")] |
|
public string Description { get; set; } |
|
}
|
|
|