You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mchsamples-.net-core/AlertSoftwareKit/AlertWebAPI/Models/User.cs

32 lines
970 B

// ========================================================================
//
// Copyright (C) 2017-2018 MARC CHEVALDONNE
// marc.chevaldonne.free.fr
//
// Module : User.cs
// Author : Marc Chevaldonné
// Creation date : 2018-02-12
//
// ========================================================================
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace AlertWebAPI.Models
{
/// <summary>
/// POCO class for User data and connection with the UserDbContext
/// </summary>
[Table("TableUsers")]
public class User
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int ID { get; set; }
public string Name { get; set; }
public string UserName { get; set; }
public string Password { get; set; }
public string Email { get; set; }
}
}