# BookingWeek.java

    package cloud.wconnect.rateshop.entity.booking;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableField;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.annotation.TableName;
    import lombok.Getter;
    import lombok.Setter;
    import lombok.experimental.Accessors;

    import java.io.Serializable;
    import java.math.BigDecimal;

    /**
     * <p>
     *
     * </p>
     *
     * @author yyt
     * @since 2024-07-29
     */
    @Getter
    @Setter
    @Accessors(chain = true)
    @TableName("booking_week")
    public class BookingWeek implements Serializable {

        private static final long serialVersionUID = 1L;

        @TableId(value = "id", type = IdType.AUTO)
        private Integer id;

        private Integer propertyId;

        @TableField("`year_month`")
        private Integer yearMonth;

        /**
         * 横坐标【1,2,3,4,5,6,7】（解释：1：对应横坐标周一，其他的以此类推）
         */
        private Integer abscissa;

        /**
         * 订单数量
         */
        private Integer count;

        /**
         * 收入
         */
        private BigDecimal revenue;

        /**
         * 入住天数
         */
        private Integer days;
    }