Drugi
This commit is contained in:
28
ZpcBulletinBoard/Models/IdentityApplicationUser.cs
Normal file
28
ZpcBulletinBoard/Models/IdentityApplicationUser.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
|
||||
namespace ZpcBulletinBoard.Models
|
||||
{
|
||||
public class IdentityApplicationUser : IdentityUser<int>
|
||||
{
|
||||
[Required]
|
||||
public string Name { get; set; }
|
||||
|
||||
[Required]
|
||||
public string Surname { get; set; }
|
||||
|
||||
[Required]
|
||||
public DateTime DateCreated { get; set; }
|
||||
|
||||
[Required]
|
||||
public DateTime DateValidUntil { get; set; }
|
||||
|
||||
[Required]
|
||||
public bool Active { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user