# ScheduleEmailConfig.java

    package cloud.wconnect.workperformance.entity.schedule;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

    import java.io.Serializable;

    /**
     * <p>
     * schedule 邮件配置
     * </p>
     *
     * @author yyt
     * @since 2023-06-28
     */
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    public class ScheduleEmailConfig implements Serializable {

        private static final long serialVersionUID = 1L;

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

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

        /**
         * 类型（1：history and forecast 报告缺失，2：申请部门权限通知）
         */
        private Integer type;

        /**
         * 主题
         */
        private String subject;

        /**
         * 状态（false：关闭，true：开启）
         */
        private Boolean status;

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

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

        public static final int TYPE_HISTORY_AND_FORECAST_MISSING = 1;

        public static final int TYPE_APPLY_PERMISSION_CONFIG = 2;

    }