Video.java 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. package com.cdf.entity;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableId;
  5. import com.baomidou.mybatisplus.annotation.TableLogic;
  6. import com.baomidou.mybatisplus.annotation.TableName;
  7. import java.io.Serializable;
  8. import java.util.Date;
  9. import lombok.Getter;
  10. import lombok.Setter;
  11. /**
  12. * <p>
  13. *
  14. * </p>
  15. *
  16. * @author
  17. * @since 2022-05-10
  18. */
  19. @Getter
  20. @Setter
  21. @TableName("t_video")
  22. public class Video implements Serializable {
  23. private static final long serialVersionUID = 1L;
  24. @TableId(value = "id", type = IdType.AUTO)
  25. private Integer id;
  26. /**
  27. * 视频名称
  28. */
  29. @TableField("video_name")
  30. private String videoName;
  31. /**
  32. * 视频链接
  33. */
  34. @TableField("video_url")
  35. private String videoUrl;
  36. /**
  37. * 显示状态 0显示,1不显示
  38. */
  39. @TableField("show_status")
  40. private Integer showStatus;
  41. @TableField("tb_status")
  42. @TableLogic
  43. private Boolean tbStatus;
  44. @TableField("create_time")
  45. private String createTime;
  46. @TableField("update_time")
  47. private String updateTime;
  48. }