package com.YuyeTech.HeartRate.game.imageInfo.projo;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.util.Date;

/**
 * @author:slambb
 * @date:2020/1/16
 */
@Data
@Entity
public class Pictures {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer pictureId;
    private Integer pictureType; //0:游戏列表，1:icon，2:cover，3:公共avatar，4:avatar
    private String pictureUrl;//图片url
    private String associatedId;//关联使用的id，如游戏id，用户id等
    private Date createTime;
    private Date updateTime;
}
