mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
20 lines
376 B
C#
20 lines
376 B
C#
using MongoDB.Bson.Serialization.Attributes;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace RedisMongoMigration.Mongo
|
|
{
|
|
public class MongoRole
|
|
{
|
|
[BsonId]
|
|
public Guid Id { get; set; }
|
|
|
|
public string RoleName { get; set; }
|
|
|
|
public Guid[] Users { get; set; }
|
|
}
|
|
}
|