Invoice Manager  2
 All Classes Namespaces Files Functions Variables Properties
Data.Person Class Reference

Trida reprezentujici osobu. Může se jednat o odběratele nebo dodavatele. More...

Public Member Functions

 Person (int companyId)
 Konstruktor More...
 
 Person (String name, String surname, int companyId)
 Konstruktor More...
 
 Person (String name, String surname, int companyId, String bankAccount)
 Konstruktor More...
 
 Person (String name, String surname, int companyId, String bankAccount, String street, int nr, int postCode)
 Kontruktor More...
 
 Person (String name, String surname, int companyId, String bankAccount, String street, int nr, int postCode, String taxId)
 Konstruktor ocekavajici jméno, příjmení, IČO, bankovní účet, ulici, číslo popisné, PSČ a DIČ Parametry name name, surname surname, bankAccount bankAccount, street street a taxId taxId jsou typu String Parametry companyId companyId, nr nr a postCode postCode jsou typu Int32 More...
 
int[] sepBankAccount ()
 
int[] sepBankAccount (String input)
 Ověří validitu bankovního účtu More...
 
string toSave ()
 Informace o osobě pro uložení do souboru More...
 
override string ToString ()
 Informace o osobě pro výpis More...
 
override bool Equals (object obj)
 Porovná dva objekty, jestli jsou stejné More...
 
override int GetHashCode ()
 Hashcode pro porovnávání More...
 

Properties

String Name [get, set]
 
String Surname [get, set]
 
int CompanyId [get, set]
 
String BankAccount [get, set]
 
String TaxId [get, set]
 
String Street [get, set]
 
int NR [get, set]
 
int PostCode [get, set]
 

Detailed Description

Trida reprezentujici osobu. Může se jednat o odběratele nebo dodavatele.

Constructor & Destructor Documentation

Data.Person.Person ( int  companyId)

Konstruktor

Parameters
companyIdIČO
Data.Person.Person ( String  name,
String  surname,
int  companyId 
)

Konstruktor

Parameters
nameJmeno osoby
surnamePrijmeni osoby
companyIdIČO
Data.Person.Person ( String  name,
String  surname,
int  companyId,
String  bankAccount 
)

Konstruktor

Parameters
nameJmeno osoby
surnamePrijmeni osoby
companyIdIČO
bankAccountBankovní účet
Data.Person.Person ( String  name,
String  surname,
int  companyId,
String  bankAccount,
String  street,
int  nr,
int  postCode 
)

Kontruktor

Parameters
nameJmeno osoby
surnamePrijmeni osoby
companyIdIČO
bankAccountBankovní účet
streetUlice
nrČíslo popisné
postCodePSČ
Data.Person.Person ( String  name,
String  surname,
int  companyId,
String  bankAccount,
String  street,
int  nr,
int  postCode,
String  taxId 
)

Konstruktor ocekavajici jméno, příjmení, IČO, bankovní účet, ulici, číslo popisné, PSČ a DIČ Parametry name name, surname surname, bankAccount bankAccount, street street a taxId taxId jsou typu String Parametry companyId companyId, nr nr a postCode postCode jsou typu Int32

Parameters
nameJmeno osoby
surnamePrijmeni osoby
companyIdIČO
bankAccountBankovní účet
streetUlice
nrČíslo popisné
postCodePSČ
taxIdDIČ

Member Function Documentation

override bool Data.Person.Equals ( object  obj)

Porovná dva objekty, jestli jsou stejné

Parameters
objobject
Returns
TRUE objekty jsou stejné, jinak FALSE
override int Data.Person.GetHashCode ( )

Hashcode pro porovnávání

Returns
int [] Data.Person.sepBankAccount ( )
int [] Data.Person.sepBankAccount ( String  input)

Ověří validitu bankovního účtu

Parameters
inputstring, číslo bankovního účtu
Returns
string Data.Person.toSave ( )

Informace o osobě pro uložení do souboru

Returns
string
override string Data.Person.ToString ( )

Informace o osobě pro výpis

Returns
string

Property Documentation

String Data.Person.BankAccount
getset

Číslo bankovního účtu

int Data.Person.CompanyId
getset

IČO (Identifikační číslo organizace)

String Data.Person.Name
getset

Jméno osoby

int Data.Person.NR
getset

Číslo popisné

int Data.Person.PostCode
getset

PSČ (Poštovní směrovací číslo)

String Data.Person.Street
getset

Ulice

String Data.Person.Surname
getset

Příjmení osoby

String Data.Person.TaxId
getset

DIČ (Daňové identifikační číslo) - slouží pro plátce DPH


The documentation for this class was generated from the following file: