a05c3aeb85
Added signalR auth
30 lines
777 B
C#
30 lines
777 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
|
|
{
|
|
[Table("functions_access")]
|
|
|
|
public class FunctionAccessModel
|
|
{
|
|
[Key]
|
|
[Column("id")]
|
|
public int FunctionAccessId { get; set; }
|
|
[Column("name")]
|
|
public string Name { get; set; }
|
|
[Column("write_level_min")]
|
|
public int WriteLevelMin { get; set; }
|
|
[Column("read_level_min")]
|
|
public int ReadLevelMin { get; set; }
|
|
[Column("area")]
|
|
public string Area { get; set; }
|
|
[Column("enabled")]
|
|
public bool Enabled { get; set; }
|
|
}
|
|
}
|