Files
opensim/OpenSim/Data/NHibernate/UserFriend.cs
Charles Krinke 40f34aeffd Thank you kindly, Tlaukkan (Tommil) for a patch that:
Fixed all NHibernate unit tests by implementing missing persistency 
methods, tables, columns and fixing bugs in the existing implementation.
Two minor changes to classes outside NHibernate module: Added Scene 
instantiation for SceneObjectGroup in OpenSim.Data.Tests.BasicRegionTest 
as this was required by the NHibernate persistency. In the process added 
also mock constructor to Scene which only populates RegionInfo in the scene 
which is used by ScenePart.RegionUUID. NHibernate module is still in 
experimental state and has not been tested at opensim region or ugaim runtime 
configuration. Adding unit tests to build is not yet advisable nor using 
NHibernate module in any production setup.
2009-01-11 18:24:16 +00:00

29 lines
727 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using OpenMetaverse;
namespace OpenSim.Data.NHibernate
{
public class UserFriend
{
public UserFriend()
{
}
public UserFriend(UUID userFriendID, UUID ownerID, UUID friendID, uint friendPermissions)
{
this.UserFriendID = userFriendID;
this.OwnerID = ownerID;
this.FriendID = friendID;
this.FriendPermissions = friendPermissions;
}
public UUID UserFriendID { get; set; }
public UUID OwnerID { get; set; }
public UUID FriendID { get; set; }
public uint FriendPermissions { get; set; }
}
}