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.

92 lines
1.7 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;
/**
* 12
*/
private Integer type;
/**
* id
*/
@TableField("tagId")
private Integer tagId;
/**
* id
*/
@TableField("userId")
private Integer userId;
/**
* id
*/
@TableField("taskId")
private Integer taskId;
/**
*
*/
@TableField("playTimes")
private Integer playNum;
/**
*
*/
@TableField("commendNum")
private Integer commendNum;
/**
*
*/
@TableField("collectionNum")
private Integer collectionNum;
/**
*
*/
@TableField("commentNum")
private Integer commentNum;
@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;
}