Files
cms_thermo_active/Step.Model/DatabaseModels/RoleModel.cs
T
Lucio Maranta 44dfe1753b Added session first implementation:
+ Added session in the database and added session controller
+ Added session in authorize attribute/Login
+ Added Logout function
* Refactor database models
2018-01-25 17:26:44 +01:00

23 lines
525 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 Step.Model.DatabaseModels
{
[Table("role")]
public class RoleModel
{
[Key]
[Column("id")]
public int RoleId { get; set; }
[Column("name")]
public string Name { get; set; }
[Column("level")]
public int Level { get; set; }
}
}