First Initial
This commit is contained in:
24
Utils/Models/UserCredentialModel.cs
Normal file
24
Utils/Models/UserCredentialModel.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace TodoAPI2.Models
|
||||
{
|
||||
public class UserCredentialModel
|
||||
{
|
||||
[Required]
|
||||
public string UserName { get; set; }
|
||||
[Required]
|
||||
public string Password { get; set; }
|
||||
}
|
||||
|
||||
public class UserCredentialSocialModel
|
||||
{
|
||||
[Required]
|
||||
public string UserName { get; set; }
|
||||
[Required]
|
||||
public string SocialId { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user