package cn.lili.modules.lmk.domain.entity;
|
|
import cn.lili.mybatis.BaseEntity;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
import java.util.Date;
|
|
import lombok.Data;
|
|
/**
|
* 视频内容
|
*
|
* @author xp
|
* @since 2025-05-16
|
*/
|
@Data
|
@TableName("lmk_video")
|
public class Video extends BaseEntity {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableField("author_id")
|
/** 作者id */
|
private String authorId;
|
|
@TableField("cover_url")
|
/** 图片封面 */
|
private String coverUrl;
|
|
@TableField("video_file_key")
|
/** 视频地址 */
|
private String videoFileKey;
|
|
@TableField("video_fit")
|
/** 视频填充模式 */
|
private String videoFit;
|
|
@TableField("video_duration")
|
/** 视频长度(秒) */
|
private Long videoDuration;
|
|
@TableField("title")
|
/** 视频标题 */
|
private String title;
|
|
@TableField("video_content_type")
|
/** 视频内容类型:视频、图片 */
|
private String videoContentType;
|
|
@TableField("video_type")
|
/** 视频类型:视频、大健康、神厨 */
|
private String videoType;
|
|
@TableField("video_imgs")
|
/** 图片地址(json数组),对应video_type = 图片 */
|
private String videoImgs;
|
|
@TableField("goods_view_num")
|
/** 商品查看次数 */
|
private Long goodsViewNum;
|
|
@TableField("goods_order_num")
|
/** 商品下单次数 */
|
private Long goodsOrderNum;
|
|
@TableField("recommend")
|
/** 是否推荐 */
|
private Boolean recommend;
|
|
@TableField("status")
|
/** 状态 */
|
private String status;
|
|
@TableField("play_num")
|
/** 播放量 */
|
private Long playNum;
|
|
@TableField("collect_num")
|
/** 收藏数 */
|
private Long collectNum;
|
|
@TableField("comment_num")
|
/** 评论数 */
|
private Long commentNum;
|
|
@TableField("weight")
|
/** 权重 */
|
private Double weight;
|
|
@TableField("audit_pass_time")
|
/** 审核通过时间 */
|
private Date auditPassTime;
|
|
|
}
|