# MorScheduler.java

    package cloud.wconnect.workperformance.entity.mor;

    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>
     * mor 功能的调度数据
     * </p>
     *
     * @author zc
     * @since 2024-03-14
     */
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("mor_scheduler")
    public class MorScheduler 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;
    }