package org.dromara.app.domain.bo;

import cn.hutool.json.JSON;
import org.dromara.app.domain.AppScheduleDetail;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

import java.time.LocalTime;
import java.util.Date;
import java.util.List;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 排程详情业务对象 app_schedule_detail
 *
 * @author Lion Li
 * @date 2026-04-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = AppScheduleDetail.class, reverseConvertGenerate = false)
public class AppScheduleDetailBo extends BaseEntity {

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 排程id
     */
    private Long scheduleId;

    /**
     * 周几 1-周一 2-周二 .... 7-周日
     */
    private String weekday;

    /**
     * 开始时间
     */
    private String  timeData;

    private String endTime;

    /**
     * 持续时间(分钟)
     */
    private String durationMin;

    /**
     * 浇水区域
     */
    private String zones;

    /**
     * 方式 0-排程  1-手动 
     */
    private String triggerType;


}
