# RevenueOtbRevenue.java

    package cloud.wconnect.rateshop.entity.revenue;

    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.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

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

    /**
     * <p>
     *
     * </p>
     *
     * @author yyt
     * @since 2023-10-26
     */
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("rvn_otb_revenue")
    public class RevenueOtbRevenue implements Serializable {

        private static final long serialVersionUID = 1L;

        /**
         * 主键id
         */
        @TableId(value = "id", type = IdType.AUTO)
        private Long id;

        /**
         * 资产id
         */
        @TableField("hotel_id")
        private Integer propertyId;

        /**
         * 日期
         */
        private Long theDate;

        /**
         * OTB Revenue
         */
        private BigDecimal otbRevenue;

        /**
         * Revenue for Next Month
         */
        private BigDecimal revenueNextMonth;

        /**
         * OTB Occ%
         */
        private BigDecimal otbOccPercent;

        /**
         * OTB ADR
         */
        private BigDecimal otbAdr;

        /**
         * RevPar
         */
        private BigDecimal otbRevpar;

        /**
         * Banquet Revenue
         */
        private BigDecimal banquetRevenue;

        /**
         * F&B OTB Revenue
         */
        private BigDecimal fbOtbRevenue;

        /**
         * 创建人id
         */
        private Integer createdBy;

        /**
         * 创建时间
         */
        private Long createdTime;

        /**
         * 更新人id
         */
        private Integer updatedBy;

        /**
         * 更新时间
         */
        private Long updatedTime;

        /**
         * 年月（格式：yyyy-MM）
         */
        @TableField(exist = false)
        private String yearMonth;
    }