public SaleHouse(int roomCount, int floorNumber, double houseSize, House.Type houseType, DateTime buildDate, bool isActive, bool isDelete, bool isArchive, double salePrice, Adress.Adress adress) : base(roomCount, floorNumber, houseSize, houseType, buildDate, isActive, isDelete, isArchive, adress) { this.SalePrice = salePrice; }
public House(int roomCount, int floorNumber, double houseSize, House.Type houseType, DateTime buildDate, bool isActive, bool isDelete, bool isArchive, Adress.Adress adress) { PrivateNumber = Guid.NewGuid().ToString(); logger = Logger.Logger.getInstance(); IO.InputOutput io = new IO.InputOutput(logger.AppPath, privateNumber); AppPath = logger.AppPath + @"\" + privateNumber; io.CreateDirectory(); this.RoomCount = roomCount; this.FloorNumber = floorNumber; this.HouseSize = houseSize; this.HouseType = houseType; this.BuildDate = buildDate; this.IsActive = isActive; this.IsDelete = isDelete; this.IsArchive = isArchive; this.Adress = adress; }
public RentHouse(int roomCount, int floorNumber, double houseSize, House.Type houseType, DateTime buildDate, bool isActive, bool isDelete, bool isArchive, double rentDeposit, Adress.Adress adress) : base(roomCount, floorNumber, houseSize, houseType, buildDate, isActive, isDelete, isArchive, adress) { this.RentDeposit = rentDeposit; FiyatHesapla(); }