package com.sikey.wa04.business.infrastructure.dto.response.alarmclock;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class GetallAlarmClockResponse {
    private List<GetallAlarmClock> alarmClocks;

    @Data
    @Accessors(chain = true)
    @EqualsAndHashCode(callSuper = false)
    public static class GetallAlarmClock {

        /**
         * 闹钟ID
         */
        private Long acid;

        /**
         * 小孩ID
         */
        private String cid;

        /**
         * 标签
         */
        private String label;

        /**
         * 重复天 eg: 1000000 周一开启 1111100 工作日开启
         */
        private String repeats;

        /**
         * 闹钟时间 格式: HH:mm
         */
        private String time;

        /**
         * 仅一次时间戳
         */
        private Long onceTime;

        /**
         * 闹钟状态
         */
        private Boolean status;
    }

}
