using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace Shentun.Peis.BirthPlaces { public class UpdateBirthPlaceDto { /// /// 名称 /// [Required(ErrorMessage = "名称不能为空")] public string DisplayName { get; set; } /// /// 国家标准码 /// [Required(ErrorMessage = "国家标准码不能为空")] public string CountryCode { get; set; } } }