using MadRunFabric.Common; using MongoDB.Bson.Serialization.Attributes; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace SignTokenApi.Model { public class Sys_Role_Function : IBaseModel { /// /// id /// [Key] [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string id { get; set; } /// /// 角色id外键 /// public string role_id { get; set; } /// /// Role分类1-角色2-部门-3用户 /// public int role_type { get; set; } = 1; /// /// 类型1-模块2-按钮 /// public int function_type { get; set; } = 1; /// /// 功能id外键 /// public string function_id { get; set; } } }