# M3Forecast.java

    package cloud.wconnect.finance.entity.pl;

    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 java.io.Serializable;
    import java.math.BigDecimal;

    import lombok.Getter;
    import lombok.Setter;
    import lombok.ToString;
    import lombok.experimental.Accessors;

    /**
     * <p>
     * M3系统forecasts数据
     * </p>
     *
     * @author lichen
     * @since 2025-09-25
     */
    @Getter
    @Setter
    @ToString
    @Accessors(chain = true)
    @TableName("m3_forecast")
    public class M3Forecast implements Serializable {

        private static final long serialVersionUID = 1L;

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

        /**
         * 租户id
         */
        private Integer tenantId;

        /**
         * 资产id
         */
        private Integer propertyId;

        /**
         * 月份，如：202509
         */
        @TableField("`year_month`")
        private Integer yearMonth;

        /**
         * m3平台的预测id
         */
        private String m3ForecastId;

        private String accountNumber;

        private BigDecimal ptdForecast;

        private BigDecimal ytdForecast;
    }