internal void SyncClerk(ClerkAuthority authority)
 {
     //TradeManage = authority.TradeManage;
     DeliverOrder = authority.DeliverOrder;
     TihuoOrder   = authority.TihuoOrder;
     HuiGouOrder  = authority.HuiGouOrder;
     JgjOrder     = authority.JgjOrder;
     //TiHuoShouLi = authority.TiHuoShouLi;
     BangDingUser = authority.BangDingUser;
     TiHuo        = authority.TiHuo;
     ShouLiMingXi = authority.ShouLiMingXi;
     CheckManage  = authority.CheckManage;
     CheckDel     = authority.CheckDel;
 }
        public ManagerAuthority(ClerkAuthority dealerAuthority)
        {
           
            AllowViewMarketOrder = false;
            AllowViewPendingOrder = false;
            AllowViewWarehousing = false;
            AllowViewChargebackRecord = false;
            AllowViewHedgingTransactions = false;
            AllowExportStatement = false;

            AccountManager = false;
            //IsTradeManagerEnabled = dealerAuthority.TradeManage;
            AdminAccountManager = false;
            IsSystemSettingsEnabled = false;
            IsDataManagerEnabled = false;
        }
 internal void SyncClerk(ClerkAuthority authority)
 {
     //TradeManage = authority.TradeManage;
     DeliverOrder = authority.DeliverOrder;
     TihuoOrder = authority.TihuoOrder;
     HuiGouOrder = authority.HuiGouOrder;
     JgjOrder = authority.JgjOrder;
     //TiHuoShouLi = authority.TiHuoShouLi;
     BangDingUser = authority.BangDingUser;
     TiHuo = authority.TiHuo;
     ShouLiMingXi = authority.ShouLiMingXi;
     CheckManage = authority.CheckManage;
     CheckDel = authority.CheckDel;
 }