using InABox.Core; namespace Comal.Classes { [UserTracking(typeof(Employee))] public class RoleActivity : Entity, IRemotable, IPersistent, IManyToMany, IManyToMany, ILicense { [EntityRelationship(DeleteAction.Cascade)] public RoleLink Role { get; set; } [EntityRelationship(DeleteAction.Cascade)] public ActivityLink Activity { get; set; } //[CheckBoxEditor(Visible = Visible.Optional)] //public bool Enabled { get; set; } protected override void Init() { base.Init(); Role = new RoleLink(); Activity = new ActivityLink(); //Enabled = true; } } }