BuildFeed/RedisMongoMigration/Redis/RedisRole.cs
2015-08-05 12:28:16 +01:00

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; }
}
}