You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

110 lines
2.1 KiB

3 years ago
package com.zh.project0512.model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.time.LocalDateTime;
/**
* <p>
*
* </p>
*
* @author zh
* @since 2022-05-18
*/
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Video extends Model {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
/**
*
*/
private String url;
/**
3 years ago
* 1234
3 years ago
*/
private Integer type;
/**
* id
*/
@TableField("tagId")
private Integer tagId;
/**
* id
*/
@TableField("userId")
private Integer userId;
/**
* id
*/
@TableField("taskId")
private Integer taskId;
3 years ago
/**
* 0123
*/
@TableField("status")
private Integer status;
3 years ago
/**
*
*/
3 years ago
@TableField("playNum")
3 years ago
private Integer playNum;
/**
*
*/
@TableField("commendNum")
private Integer commendNum;
/**
*
*/
@TableField("collectionNum")
private Integer collectionNum;
/**
*
*/
@TableField("commentNum")
private Integer commentNum;
3 years ago
/**
*
*/
@TableField("reSendNum")
private Integer reSendNum;
/**
3 years ago
*
3 years ago
*/
@TableField("recommendNum")
private Integer recommendNum;
3 years ago
@TableField("creatAt")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime creatAt;
@TableField("updateAt")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime updateAt;
}