|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Demo.Framework;
using System.ComponentModel;
namespace Demo.Core.Models
{
public class ApplicationUserGroupView : BaseObject
{
public ApplicationUserGroupView()
{
}
public ApplicationUserGroupView(int id)
{
this.Id = id;
}
#region Selected Properties
private ApplicationUserView _selectedApplicationUser;
[DisplayName("Added By")]
public ApplicationUserView SelectedApplicationUser
{
get { return _selectedApplicationUser; }
set { _selectedApplicationUser = value; }
}
private GroupView _selectedGroup;
[DisplayName("Group Name")]
public GroupView SelectedGroup
{
get { return _selectedGroup; }
set { _selectedGroup = value; }
}
#endregion
//private string _caption;
//public string Caption
//{
// get { return _caption; }
// set { _caption = value; }
//}
private bool _isOwner;
[DisplayName("Owner")]
public bool IsOwner
{
get { return _isOwner; }
set { _isOwner = value; }
}
private DateTime _joinedDateTime;
[DisplayName("Joined Date")]
public DateTime JoinedDateTime
{
get { return _joinedDateTime; }
set { _joinedDateTime = value; }
}
public override string ToString()
{
return this.SelectedGroup.Name;
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
In-depth coverage of Microsoft .Net, Cloud and many other cutting-edge Technologies.
-
The Mandelbrot set – someone has called it the thumb-print of God – is one of the most beautiful and remarkable discoveries in the entire history of mathematics. My profile picture is generated with that equation.
You may contact Nirosh for Consultations, Code Reviews and Architecture Guide Workshops via c_nir*o*sh@hotmail.com (Remove * to use)
View Nirosh L.W.C.'s profile on LinkedIn
Other Links