MaterialPageVO.java 2.16 KB
package com.bs.reception.model.materials;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.v3.oas.annotations.media.Schema;

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

@Data
@Schema(name = "MaterialPageVO", description = "素材分页返回数据")
public class MaterialPageVO implements Serializable {
    @Schema(description = "素材ID")
    private Long id;
    @Schema(description = "素材名称")
    private String materialName;
    @Schema(description = "素材编码")
    private String materialCode;
    @Schema(description = "业务类型编码")
    private String typeCode;
    @Schema(description = "文件夹编码")
    private String folderCode;
    @Schema(description = "素材URL")
    private String materialUrl;
    @Schema(description = "素材路径")
    private String materialPath;
    @Schema(description = "素材类型")
    private Integer materialType;
    @Schema(description = "文件大小(字节)")
    private Long fileSize;
    @Schema(description = "文件扩展名")
    private String fileExtension;
    @Schema(description = "排序")
    private Integer sortOrder;
    @Schema(description = "是否首页展示:0-否,1-是")
    private Integer showOnHomepage;
    @Schema(description = "状态:0-启用,1-停用")
    private Integer status;
    @Schema(description = "创建人")
    private String createBy;
    @Schema(description = "创建人ID")
    private Long createById;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(description = "创建时间")
    private Date createTime;
    @Schema(description = "更新人")
    private String updateBy;
    @Schema(description = "更新人ID")
    private Long updateById;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(description = "更新时间")
    private Date updateTime;
    @Schema(description = "备注")
    private String remark;
    @Schema(description = "删除标记:0-正常,1-删除")
    private Integer delFlag;

    @Schema(description = "业务类型名称")
    private String typeName;
    @Schema(description = "文件夹名称")
    private String folderName;
}