HotelOrderBillEntity.java 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. package com.chuanghai.ihotel.entity;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import com.baomidou.mybatisplus.annotation.TableName;
  5. import lombok.Data;
  6. import java.io.Serializable;
  7. import java.math.BigDecimal;
  8. import java.time.LocalDateTime;
  9. /**
  10. * 订单账单表
  11. *
  12. * @author codingliang
  13. * @email codingliang@gmail.com
  14. * @date 2022-07-27 10:02:04
  15. */
  16. @Data
  17. @TableName("hotel_order_bill")
  18. public class HotelOrderBillEntity implements Serializable {
  19. private static final long serialVersionUID = -2516247656651418396L;
  20. /**
  21. * id
  22. */
  23. @TableId
  24. private Long id;
  25. /**
  26. * 订单id
  27. */
  28. private Long hotelOrderId;
  29. /**
  30. * 房间id
  31. */
  32. private Long roomId;
  33. /**
  34. * 水起码 单位:吨
  35. */
  36. private String startOfWater;
  37. /**
  38. * 水止码 单位:吨
  39. */
  40. private String endOfWater;
  41. /**
  42. * 电起码 单位:度
  43. */
  44. private String startOfElectric;
  45. /**
  46. * 电止码 单位:度
  47. */
  48. private String endOfElectric;
  49. /**
  50. * 水单价 单位:元/吨
  51. */
  52. private String priceOfWater;
  53. /**
  54. * 电单价 单位:元/度
  55. */
  56. private String priceOfElectric;
  57. /**
  58. * 总费用 单位:元
  59. */
  60. private BigDecimal totalFree;
  61. /**
  62. * 减免费用 单位:元
  63. */
  64. private BigDecimal discountFree;
  65. /**
  66. * 应缴费用 总费用-减免费用 单位:元
  67. */
  68. private BigDecimal shouldFree;
  69. /**
  70. * 补缴费用 应缴费用-预缴费用
  71. */
  72. private BigDecimal realFree;
  73. /**
  74. * 状态 1待处理、2计算完成、3处理完成
  75. */
  76. private String statu;
  77. /**
  78. * 完成时间
  79. */
  80. private LocalDateTime finishTime;
  81. /**
  82. * 备注
  83. */
  84. private String remark;
  85. }