TbDemoVideo.java 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. package com.ruoyi.asset.domain;
  2. import com.baomidou.mybatisplus.annotation.TableField;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import com.baomidou.mybatisplus.annotation.TableName;
  5. import com.fasterxml.jackson.annotation.JsonFormat;
  6. import lombok.Data;
  7. import lombok.EqualsAndHashCode;
  8. import org.apache.commons.lang3.builder.ToStringBuilder;
  9. import org.apache.commons.lang3.builder.ToStringStyle;
  10. import com.ruoyi.common.annotation.Excel;
  11. import com.ruoyi.common.core.domain.BaseEntity;
  12. import java.util.Date;
  13. /**
  14. * 演示视频对象 tb_demo_video
  15. *
  16. * @author 原动力
  17. * @date 2023-05-06
  18. */
  19. @EqualsAndHashCode(callSuper = true)
  20. @TableName("tb_demo_video")
  21. @Data
  22. public class TbDemoVideo extends BaseEntity
  23. {
  24. private static final long serialVersionUID = 1L;
  25. /** 编号 */
  26. @Excel(name = "编号")
  27. @TableId("id")
  28. @JsonFormat(shape = JsonFormat.Shape.STRING)
  29. private Long id;
  30. /** 视频名称 */
  31. @Excel(name = "视频名称")
  32. @TableField("name")
  33. private String name;
  34. /** 视频类型 */
  35. @Excel(name = "视频类型")
  36. @TableField("type")
  37. private String type;
  38. /** 视频大小 */
  39. @Excel(name = "视频大小")
  40. @TableField("size")
  41. private String size;
  42. /** 视频位置 */
  43. @Excel(name = "视频位置")
  44. @TableField("url")
  45. private String url;
  46. /** 是否公开 */
  47. @Excel(name = "是否公开")
  48. @TableField("is_public")
  49. private Integer isPublic;
  50. public TbDemoVideo() {
  51. }
  52. public TbDemoVideo(String name, String type, String size, String url, Integer isPublic) {
  53. this.name = name;
  54. this.type = type;
  55. this.size = size;
  56. this.url = url;
  57. this.isPublic = isPublic;
  58. }
  59. }