Ejemplo n.º 1
0
        public Bank(Firm firm, sl_firm sl_firm, bool firstTime)
        {
            Id = null;
            if (firstTime)
            {
                Name         = sl_firm.bank1 ?? "";
                DayCash      = sl_firm.kd1 ?? "";
                EveningCash  = sl_firm.kv1 ?? "";
                Mfo          = sl_firm.mfo1 ?? "";
                SplitAccount = sl_firm.rr1 ?? "";
                Person       = sl_firm.ch1 ?? "";
            }
            else
            {
                Name         = sl_firm.bank2 ?? "";
                DayCash      = sl_firm.kd2 ?? "";
                EveningCash  = sl_firm.kv2 ?? "";
                Mfo          = sl_firm.mfo2 ?? "";
                SplitAccount = sl_firm.rr2 ?? "";
                Person       = sl_firm.ch2 ?? "";
            }

            Firm = firm;
        }
Ejemplo n.º 2
0
 public Doctor(sl_likar likar, Firm firm)
 {
     Id       = likar.id_likar;
     FullName = likar.n_likar;
     Firm     = firm;
 }