21 lines
572 B
C#
21 lines
572 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Flexitime.DataAccess.Objects
|
|
{
|
|
public class ApplicationDb
|
|
{
|
|
public ApplicationDb()
|
|
{
|
|
Permissions = new List<PermissionDb>();
|
|
}
|
|
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public Guid Id { get; set; }
|
|
public string Name { get; set; }
|
|
public List<PermissionDb> Permissions { get; set; }
|
|
}
|
|
} |