package org.dromara.app.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.app.domain.AppWateringLog;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 浇水记录视图对象 app_watering_log
 *
 * @author Lion Li
 * @date 2026-04-25
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = AppWateringLog.class)
public class AppWateringLogVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @ExcelProperty(value = "")
    private Long id;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "用户ID")
    private Long userId;

    /**
     * 设备ID
     */
    @ExcelProperty(value = "设备ID")
    private String deviceNo;

    /**
     * 命令ID
     */
    @ExcelProperty(value = "命令ID")
    private String commandId;

    /**
     * 关联排程
     */
    @ExcelProperty(value = "关联排程")
    private Long scheduleId;

    /**
     * 开始时间
     */
    @ExcelProperty(value = "开始时间")
    private Date startTime;

    /**
     * 结束时间
     */
    @ExcelProperty(value = "结束时间")
    private Date endTime;

    /**
     * 持续时间
     */
    @ExcelProperty(value = "持续时间")
    private String durationMin;

    /**
     * 浇水区域
     */
    @ExcelProperty(value = "浇水区域")
    private String zones;

    /**
     * 0-排程 1-手动
     */
    @ExcelProperty(value = "0-排程 1-手动")
    private String triggerType;
    private String deviceName;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;
    private String status;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;


}
