package com.lion.lionwebsite.Domain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

@Data
public class GalleryTask {

    public static byte DOWNLOADING = 1;

    public static byte DOWNLOAD_COMPLETE = 2;

    public static byte DOWNLOAD_QUEUED = 3;

    public static byte COMPRESS_COMPLETE = 4;

    public static byte COMPRESSING = 5;


    public static byte DOWNLOAD_ALL = 3;
    public static byte DOWNLOAD_PREVIEW = 2;
    public static byte DOWNLOAD_SOURCE = 1;

    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String name;

    private int gid;

    private int pages;

    private byte status;

    private int proceeding;

    private byte type;

    @JsonIgnore
    private String path;
}
