30 lines
715 B
C#
30 lines
715 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace GWMS.Data.DatabaseModels
|
|
{
|
|
/// <summary>
|
|
/// Tabella User Authorizations
|
|
/// </summary>
|
|
[Table("UserAuth")]
|
|
public class UserAuth
|
|
{
|
|
#region Public Properties
|
|
|
|
[Column("AuthLevel", Order = 2)]
|
|
public int AuthLevel { get; set; } = 0;
|
|
|
|
[Column("Role", Order = 1)]
|
|
public string Role { get; set; } = "";
|
|
|
|
[Column("UserId", Order = 0)]
|
|
public int UserId { get; set; }
|
|
|
|
#endregion Public Properties
|
|
}
|
|
} |