# TrendSourceUrl.java

    package cloud.wconnect.rateshop.entity.rateshop;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.annotation.TableName;
    import java.io.Serializable;
    import lombok.Getter;
    import lombok.Setter;
    import lombok.experimental.Accessors;

    /**
     * <p>
     * 需求趋势的抓取url表。一个url只能对应一个location
     * </p>
     *
     * @author lichen
     * @since 2024-04-25
     */
    @Getter
    @Setter
    @Accessors(chain = true)
    @TableName("trend_source_url")
    public class TrendSourceUrl implements Serializable {

        private static final long serialVersionUID = 1L;

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

        /**
         * 需求趋势抓取地址
         */
        private String url;

        /**
         * 地区ID
         */
        private Integer locationId;

        /**
         * 数据源ID
         */
        private Integer datasourceId;

        /**
         * url类型 1: 指定地区注册的酒店总数 2:指定地区营业的酒店总数
         */
        private Integer type;
    }