package com.fs.watch.domain;

import lombok.Data;

import java.util.List;

@Data
public class DeviceSedentary {
    //是否打开 0:关闭 1:开启
    private Integer open = 0;
//    //true 重复, false 一次性
//    private boolean repeat = false;
//    //对应的那天是否打开
//
//    private boolean monday = false;
//    private boolean tuesday = false;
//    private boolean wednesday = false;
//    private boolean thursday = false;
//    private boolean friday = false;
//    private boolean saturday = false;
//    private boolean sunday = false;
//
//    // 久坐检查时间段，开始/结束小时 24小时
//    private Integer start_hour = 0;
//    private Integer end_hour = 24;
//    //设置累计久坐分钟数达到多少分钟提醒, 单位为5分钟，即设置1，等于5分钟
//    private Integer duration = 5;
//    //一分钟内步数少于多少，判断这一分钟为久坐，计数+1，单位步，默认40
//    private Integer threshold = 10;

    private List<SedentaryObject> sedentaries;
}
