package com.xueyi.system.api.resource.domain.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.xueyi.common.core.annotation.Excel;
import com.xueyi.common.core.web.tenant.base.TBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serial;

import static com.xueyi.common.core.constant.basic.EntityConstants.*;

/**
 * 静态资源 持久化对象
 *
 * @author xueyi
 */
@Data
@NoArgsConstructor
public class DmResourcesVo {

    @Serial
    private static final long serialVersionUID = 1L;

    public static final Integer TYPE_PIC = 1;
    public static final Integer TYPE_VIDEO = 2;

    protected Long id;
    protected String name;
    /** 资源tag */
    @Excel(name = "资源tag")
    protected String tag;


    /** url地址 */
    @Excel(name = "url地址")
    protected String url;

    protected Integer type;

}