package com.ruoyi.asset.domain; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import lombok.EqualsAndHashCode; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; import com.ruoyi.common.annotation.Excel; import com.ruoyi.common.core.domain.BaseEntity; import java.util.Date; /** * 演示视频对象 tb_demo_video * * @author 原动力 * @date 2023-05-06 */ @EqualsAndHashCode(callSuper = true) @TableName("tb_demo_video") @Data public class TbDemoVideo extends BaseEntity { private static final long serialVersionUID = 1L; /** 编号 */ @Excel(name = "编号") @TableId("id") @JsonFormat(shape = JsonFormat.Shape.STRING) private Long id; /** 视频名称 */ @Excel(name = "视频名称") @TableField("name") private String name; /** 视频类型 */ @Excel(name = "视频类型") @TableField("type") private String type; /** 视频大小 */ @Excel(name = "视频大小") @TableField("size") private String size; /** 视频位置 */ @Excel(name = "视频位置") @TableField("url") private String url; /** 是否公开 */ @Excel(name = "是否公开") @TableField("is_public") private Integer isPublic; public TbDemoVideo() { } public TbDemoVideo(String name, String type, String size, String url, Integer isPublic) { this.name = name; this.type = type; this.size = size; this.url = url; this.isPublic = isPublic; } }