Files
jinko.yikatong/Src/Dlhis.Basic/Appointment/Dto/AppointmentReceiveItemDto.cs

32 lines
730 B
C#

using System.ComponentModel.DataAnnotations;
namespace Dlhis.Basic.Appointment.Dto;
public class AppointmentReceiveItemDto
{
/// <summary>
/// 姓名
/// </summary>
[Required(ErrorMessage = "姓名必填")]
public string Name { get; set; }
/// <summary>
/// 手机号
/// </summary>
[StringLength(11, MinimumLength = 11)]
[Required(ErrorMessage = "手机号必填")]
public string Phone { get; set; }
/// <summary>
/// 身份证
/// </summary>
[StringLength(18, MinimumLength = 18)]
[Required(ErrorMessage = "身份证必填")]
public string IdNo { get; set; }
/// <summary>
/// 备注
/// </summary>
public string Remark { get; set; }
}