# HotelKpiScheduler.java

    package cloud.wconnect.workperformance.entity.hotelkpi;

    import com.baomidou.mybatisplus.annotation.IdType;
    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;

    /**
     * <p>
     * Hotel KPI scheduler
     * </p>
     *
     * @author zc
     * @since 2024-06-24
     */
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("hotel_kpi_scheduler")
    public class HotelKpiScheduler implements Serializable {

        private static final long serialVersionUID = 1L;

        /**
         * jobId
         */
        @TableId(value = "id", type = IdType.ASSIGN_UUID)
        private String id;

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

        /**
         * 任务类型
         */
        private Integer category;

        /**
         * 触发时间规则
         */
        private String scheduler;

        /**
         * 首次运行时间戳
         */
        private Long startDate;

        /**
         * 已执行次数
         */
        private Integer runTimes;

        /**
         * 0:停止；1:启动；2:删除中
         */
        private Integer status;

        /**
         * 是否同步到定时任务服务器
         */
        private Boolean syncState;

        /**
         * [{uid: 1, timestamp:11111},…]
         */
        private String updateLog;

        /**
         * 任务自定义参数(如：数据日期范围、数据过期条件，通知接受人等)
         */
        private String parameters;
    }