ResourceTypeObject.cs 508 Bytes
Newer Older
1 2
using Coscine.ApiCommons.ReturnObjects;
using System;
3 4 5 6

namespace Coscine.Api.Project.ReturnObjects
{
    [Serializable]
7
    public class ResourceTypeObject : IReturnObject
8 9 10 11 12
    {
        public Guid Id { get; set; }

        public string DisplayName { get; set; }

13 14 15
        public bool Enabled { get; set; }

        public ResourceTypeObject(Guid id, string displayName, bool enabled)
16 17 18
        {
            Id = id;
            DisplayName = displayName;
19
            Enabled = enabled;
20 21 22 23
        }

    }
}