mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
22 lines
448 B
C#
22 lines
448 B
C#
using NServiceKit.DataAnnotations;
|
|
using NServiceKit.DesignPatterns.Model;
|
|
using System;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace RedisMongoMigration.Redis
|
|
{
|
|
[DataObject]
|
|
public class RedisRole : IHasId<Guid>
|
|
{
|
|
[Key]
|
|
[Index]
|
|
public Guid Id { get; set; }
|
|
|
|
[Key]
|
|
public string RoleName { get; set; }
|
|
|
|
public Guid[] Users { get; set; }
|
|
}
|
|
}
|