package com.template.api; import com.template.model.dto.*; import com.template.model.pojo.LockRoomDto; import com.template.model.result.CommonResult; import com.template.model.vo.CleanRoomDtos; import com.template.model.vo.DirtyRoomDtos; import io.swagger.annotations.ApiOperation; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; @RequestMapping("/auto/house-number-state") public interface HouseNumberStateAPI { @GetMapping("/dayList") @ApiOperation(value = "房态管理-单日", notes = "房态管理-单日", httpMethod = "GET") CommonResult page(String keyWord, String houseType); @GetMapping("/calendarList") @ApiOperation(value = "房态管理-日历", notes = "房态管理-日历", httpMethod = "GET") CommonResult calendarPage(String dateTime, String keyWord, String houseType, int page, int size); @GetMapping("/particular") @ApiOperation(value = "房态管理-房间详情", notes = "房态管理-房间详情", httpMethod = "GET") CommonResult particular(String houseNumberId, String dateTime); @GetMapping("/reserveDay") @ApiOperation(value = "房态管理-管理端预定未来8天占用状态", notes = "房态管理-管理端预定未来8天占用状态", httpMethod = "GET") CommonResult reserveDay(String houseNumberId, String startTime, String endTime, int adminId); @GetMapping("/reservePrice") @ApiOperation(value = "房态管理-管理端预定需付总金额", notes = "房态管理-管理端预定需付总金额", httpMethod = "GET") CommonResult reservePrice(String houseId, String cardNumber, String liveTime, String leaveTime); @PostMapping("/reserve") @ApiOperation(value = "房态管理-管理端预定", notes = "房态管理-管理端预定", httpMethod = "POST") CommonResult reserve(@RequestBody ReserveDto reserveDto); @PostMapping("/checkIdCard") @ApiOperation(value = "房态管理-管理端入住", notes = "房态管理-管理端入住", httpMethod = "POST") CommonResult checkIdCard(@RequestBody CheckIdCardDto checkIdCardDto); @GetMapping("/roomChangePage") @ApiOperation(value = "房态管理-换房页面", notes = "房态管理-换房页面", httpMethod = "GET") CommonResult roomChangePage(String liveTime, String leaveTime, String houseNumberId, int adminId); @PostMapping("/roomChange") @ApiOperation(value = "房态管理-换房", notes = "房态管理-换房", httpMethod = "POST") CommonResult roomChange(@RequestBody RoomChangeDto roomChangeDto); @PostMapping("/checkOut") @ApiOperation(value = "房态管理-退房", notes = "房态管理-退房", httpMethod = "POST") CommonResult checkOut(@RequestBody CheckOutDto checkOutDto); @PostMapping("/refund") @ApiOperation(value = "房态管理-退款", notes = "房态管理-退款", httpMethod = "POST") CommonResult refund(); @PostMapping("/maintain") @ApiOperation(value = "房态管理-维修", notes = "房态管理-维修", httpMethod = "POST") CommonResult maintain(@RequestBody MaintainDto maintainDto); @PostMapping("/lockRoom") @ApiOperation(value = "房态管理-锁房", notes = "房态管理-锁房", httpMethod = "POST") CommonResult lockRoom(@RequestBody LockRoomDto lockRoomDto); @PostMapping("/dirtyRoom") @ApiOperation(value = "房态管理-置脏", notes = "房态管理-置脏", httpMethod = "POST") CommonResult dirtyRoom(@RequestBody DirtyRoomDto dirtyRoomDto); @PostMapping("/cleanRoom") @ApiOperation(value = "房态管理-置净", notes = "房态管理-置净", httpMethod = "POST") CommonResult cleanRoom(@RequestBody CleanRoomDto cleanRoomDto); @PostMapping("/dirtyRooms") @ApiOperation(value = "房态管理-批量置脏", notes = "房态管理-批量置脏", httpMethod = "POST") CommonResult dirtyRooms(@RequestBody DirtyRoomDtos dirtyRoomDtos); @PostMapping("/cleanRooms") @ApiOperation(value = "房态管理-批量置净", notes = "房态管理-批量置净", httpMethod = "POST") CommonResult cleanRooms(@RequestBody CleanRoomDtos cleanRoomDtos); @PostMapping("/lockRooms") @ApiOperation(value = "房态管理-批量锁房", notes = "房态管理-批量锁房", httpMethod = "POST") CommonResult lockRoom(@RequestBody LockRoomDtos lockRoomDtos); @PostMapping("/openRooms") @ApiOperation(value = "房态管理-批量开房", notes = "房态管理-批量开房", httpMethod = "POST") CommonResult openRooms(@RequestBody OpenRoomsDto openRoomsDto); @GetMapping("/reserveHour") @ApiOperation(value = "房态管理-管理端钟点房当天占用状态", notes = "房态管理-管理端钟点房当天占用状态", httpMethod = "GET") CommonResult reserveHour(String houseNumberId, String startTime, int liveTime, int adminId); }