取名小程序开发
This commit is contained in:
12
DouyinApi.Model/Naming/SurnameValidationRequest.cs
Normal file
12
DouyinApi.Model/Naming/SurnameValidationRequest.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace DouyinApi.Model.Naming
|
||||
{
|
||||
public class SurnameValidationRequest
|
||||
{
|
||||
[Required]
|
||||
[MinLength(1)]
|
||||
[MaxLength(2)]
|
||||
public string Surname { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user