Esempio n. 1
0
 public clsEmployee(int ID, string Code, string Fullname, enumGender Gender, enumCityzone Cityzone,
                    string Username, string Password, enumEmployeeType Employeetype, enumLang Lang,
                    string Pic, clsListHouses Houses = null)
 {
     this.ID           = ID;
     this.Fullname     = Fullname;
     this.Gender       = Gender;
     this.Cityzone     = Cityzone;
     this.Code         = Code;
     this.Username     = Username;
     this.Password     = Password;
     this.Employeetype = Employeetype;
     this.Lang         = Lang;
     this.Pic          = Pic;
     this.Houses       = new clsListHouses();
 }
Esempio n. 2
0
 public clsHouse(int vID, string vCode, float vAria, byte vRooms, byte vBathrooms, enumCityzone vCityZone, string vAddress,
                 float vPrice, string vDescription, enumHouseType vType, string vPic, enumHouseStatus vStatus,
                 DateTime vDatein = new DateTime(), clsClient vClient = null, int?employeeID = null)
 {
     this.ID          = vID;
     this.Code        = vCode;
     this.Aria        = vAria;
     this.Rooms       = vRooms;
     this.Bathrooms   = vBathrooms;
     this.CityZone    = vCityZone;
     this.Address     = vAddress;
     this.Price       = vPrice;
     this.Description = vDescription;
     this.Type        = vType;
     this.Pic         = vPic;
     this.Status      = vStatus;
     this.Datein      = vDatein;
     this.Client      = vClient;
     this.EmployeeID  = employeeID;
 }