示例#1
0
 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;
 }
示例#2
0
 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;
 }
示例#3
0
        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();
        }