12345678910111213141516171819202122232425262728293031 |
- using InABox.Core;
- namespace Comal.Classes
- {
- [UserTracking(typeof(Employee))]
- public class RoleActivity :
- Entity,
- IRemotable,
- IPersistent,
- IManyToMany<Role, Activity>,
- IManyToMany<Activity, Role>,
- ILicense<CoreLicense>
- {
- [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;
- }
- }
- }
|