src/Services/Identity/Identity.API/Models/ApplicationUser.cs
(完整代码) 1KBnamespace Microsoft.eShopOnContainers.Services.Identity.API.Models
{
// Add profile data for application users by adding properties to the ApplicationUser class
public class ApplicationUser : IdentityUser
{
[Required]
public string CardNumber { get; set; }
[Required]
public string SecurityNumber { get; set; }
[Required]
[RegularExpression(@"(0[1-9]|1[0-2])\/[0-9]{2}", ErrorMessage = "Expiration should match a valid MM/YY value")]
public string Expiration { get; set; }
[Required]
public string CardHolderName { get; set; }
public int CardType { get; set; }
[Required]
public string Street { get; set; }
[Required]
public string City { get; set; }
[Required]
public string State { get; set; }
[Required]
public string Country { get; set; }
[Required]
public string ZipCode { get; set; }
[Required]
public string Name { get; set; }
[Required]
public string LastName { get; set; }
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。