
package com.tmerclub.cloud.flow.vo;

import com.tmerclub.cloud.common.vo.BaseVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

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

/**
 * 数据表格VO
 *
 * @author TRACK
 */
@Data
@ToString
public class FormVO extends BaseVO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    private Long formId;

    @Schema(description = "店铺Id")
    private Long shopId;

    @Schema(description = "报表名称")
    private String formName;

    @Schema(description = "推荐报表介绍内容")
    private String content;

    @Schema(description = "报表类型 1:店铺报表  2：商品报表")
    private Integer fromType;

    @Schema(description = "时间类型 1:天 2:周 3:月")
    private Integer timeType;

    @Schema(description = "时间格式 1:固定时间区间 2:指定时间范围")
    private Integer timeFormat;

    @Schema(description = "报表项id数组")
    private String formItemIds;

    @Schema(description = "开始时间（固定时间区间）")
    private Date startTime;

    @Schema(description = "结束时间（固定时间区间）")
    private Date endTime;

    @Schema(description = "时间范围 1:近1天  2:近7天  3: 近30天")
    private Integer timeRange;

    @Schema(description = "序号")
    private Integer seq;

    @Schema(description = "报表项列表")
    private List<FormItemVO> formItemList;


}
