46c34f46e8
* WIP signalauth * Fist commit server config
28 lines
632 B
C#
28 lines
632 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("access_category")]
|
|
public class AccessCategoryModel
|
|
{
|
|
[Key]
|
|
[Column("id")]
|
|
public int RoleId { 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; }
|
|
}
|
|
}
|