public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            NotifyEN t = obj as NotifyEN;

            if (t == null)
            {
                return(false);
            }
            if (Id.Equals(t.Id))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
 public NotifyEN(NotifyEN notify)
 {
     this.init(Id, notify.Users, notify.Name, notify.Type, notify.ServiceType, notify.Description, notify.EntityArgument, notify.Entity, notify.RuleAction, notify.OriginState, notify.TargetState, notify.Triggers);
 }