Files
moadiran/Shared/DTOs/VerificationCodeDto.cs

23 lines
746 B
C#
Raw Normal View History

2024-04-14 16:09:36 +03:30
using System;
using System.Collections.Generic;
2024-04-15 23:09:11 +03:30
using System.ComponentModel.DataAnnotations;
2024-04-14 16:09:36 +03:30
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Shared.DTOs
{
public class VerificationCodeDto
{
2024-04-15 23:31:24 +03:30
// [Required(ErrorMessage ="ID نمیتواند خالی باشد")]
2024-04-15 23:09:11 +03:30
public int ID { get; set; }
2024-04-15 23:31:24 +03:30
public int Code { get; set; }
// [Required(ErrorMessage = "prm نمیتواند خالی باشد")]
2024-04-14 16:09:36 +03:30
public string prm { get; set; }
2024-04-15 23:31:24 +03:30
// [Required(ErrorMessage = "val نمیتواند خالی باشد")]
2024-04-14 16:09:36 +03:30
public string val { get; set; }
2024-04-15 23:31:24 +03:30
// [Required(ErrorMessage = "Type نمیتواند خالی باشد")]
2024-04-14 16:09:36 +03:30
public string Type { get; set; }
}
}