Interface ISafeTeam
Inherited Members
Namespace: LemonEdge.API.Entities.Data
Assembly: LemonEdge.API.dll
Syntax
[EntityDefinition(EntityID.SafeTeams, "dbo.LT_SafeTeams", "SafeTeam", IsStandingDataEntity = false, CustomToString = true)]
[MultipleUnique(new string[] { "TeamID", "ParentSafeID" })]
[DefaultEntityIcon(ImageType.SafeOk)]
[EntityIndex(Name = "TeamSafe", ColumnNames = new string[] { "TeamID", "ParentSafeID" }, IndexOrder = new IndexOrder[] { IndexOrder.Ascending, IndexOrder.Ascending }, IsClustered = false, IsUnique = true)]
public interface ISafeTeam : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties
Properties
CanMoveItemsIntoSafe
Indicates the team is allowed to move items into the safe
Declaration
[EntityDescription("Indicates the team is allowed to move items into the safe.")]
[EntityProperty(SQLType.Bit, false, "0")]
bool CanMoveItemsIntoSafe { get; set; }
Property Value
Type | Description |
---|---|
bool |
CanMoveItemsOutOfSafe
Indicates the team is allowed to move items out of the safe
Declaration
[EntityDescription("Indicates the team is allowed to move items out of the safe.")]
[EntityProperty(SQLType.Bit, false, "0")]
bool CanMoveItemsOutOfSafe { get; set; }
Property Value
Type | Description |
---|---|
bool |
DefaultSafeForTeam
Indicates this safe is the default safe for the team, meaning new items created by the team by default will belong to this safe
Declaration
[EntityDescription("Indicates this safe is the default safe for the team, meaning new items created by the team by default will belong to this safe.")]
[EntityProperty(SQLType.Bit, false, "0")]
bool DefaultSafeForTeam { get; set; }
Property Value
Type | Description |
---|---|
bool |
ParentSafeID
[Key] Links to ISafe. The Safe you want to provide access to the user.
Declaration
[EntityDescription("The Safe you want to provide access to the user.")]
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityKeyProperty]
[EntityRelationship(EntityID.Safe, "ID", SingleJoinType.One, "Safe", "Teams", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false, InheritPermissions = true)]
[RequiredNoDefaultIDValidation]
Guid ParentSafeID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
TeamID
[Key] Links to ITeam. The Team you want to provide with access to the safe.
Declaration
[EntityDescription("The Team you want to provide with access to the safe.")]
[EntityProperty(SQLType.UniqueIdentifier, false)]
[EntityKeyProperty]
[EntityRelationship(EntityID.Teams, "ID", SingleJoinType.One, "Team", "Safes", DeleteWithRelationship = true, PartOfParentSet = true, LinkToItemInSet = false)]
[RequiredNoDefaultIDValidation]
Guid TeamID { get; set; }
Property Value
Type | Description |
---|---|
Guid |