TicketService.java 533 B

12345678910111213141516171819202122232425
  1. package com.example.cinema.bl;
  2. import com.example.cinema.po.Ticket;
  3. import com.example.cinema.vo.ResponseVO;
  4. import com.example.cinema.vo.TicketForm;
  5. /**
  6. * Created by liying on 2019/4/16.
  7. */
  8. public interface TicketService {
  9. ResponseVO addTicket(TicketForm ticketForm);
  10. ResponseVO completeTicket(int id,int couponId);
  11. ResponseVO getBySchedule(int scheduleId);
  12. ResponseVO getTicketByUser(int userId);
  13. ResponseVO completeByVIPCard(int ticketId,int couponId);
  14. ResponseVO cancelTicket(int ticketId);
  15. }