...
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
@@ -8,8 +9,15 @@ namespace Shared.DTOs
|
||||
{
|
||||
public class VerificationCodeDto
|
||||
{
|
||||
[Required(ErrorMessage ="ID نمیتواند خالی باشد")]
|
||||
public int ID { get; set; }
|
||||
[Required(ErrorMessage = "کد نمیتواند خالی باشد")]
|
||||
public string Code { get; set; }
|
||||
[Required(ErrorMessage = "prm نمیتواند خالی باشد")]
|
||||
public string prm { get; set; }
|
||||
[Required(ErrorMessage = "val نمیتواند خالی باشد")]
|
||||
public string val { get; set; }
|
||||
[Required(ErrorMessage = "Type نمیتواند خالی باشد")]
|
||||
public string Type { get; set; }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user