package com.chuanghai.ihotel.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; import java.io.Serializable; import java.math.BigDecimal; import java.time.LocalDateTime; /** * 订单账单表 * * @author codingliang * @email codingliang@gmail.com * @date 2022-07-27 10:02:04 */ @Data @TableName("hotel_order_bill") public class HotelOrderBillEntity implements Serializable { private static final long serialVersionUID = -2516247656651418396L; /** * id */ @TableId private Long id; /** * 订单id */ private Long hotelOrderId; /** * 房间id */ private Long roomId; /** * 水起码 单位:吨 */ private String startOfWater; /** * 水止码 单位:吨 */ private String endOfWater; /** * 电起码 单位:度 */ private String startOfElectric; /** * 电止码 单位:度 */ private String endOfElectric; /** * 水单价 单位:元/吨 */ private String priceOfWater; /** * 电单价 单位:元/度 */ private String priceOfElectric; /** * 总费用 单位:元 */ private BigDecimal totalFree; /** * 减免费用 单位:元 */ private BigDecimal discountFree; /** * 应缴费用 总费用-减免费用 单位:元 */ private BigDecimal shouldFree; /** * 补缴费用 应缴费用-预缴费用 */ private BigDecimal realFree; /** * 状态 1待处理、2计算完成、3处理完成 */ private String statu; /** * 完成时间 */ private LocalDateTime finishTime; /** * 备注 */ private String remark; }