package com.matrix.system.score.entity; 
 | 
  
 | 
import com.baomidou.mybatisplus.annotation.IdType; 
 | 
import com.baomidou.mybatisplus.annotation.TableId; 
 | 
import com.fasterxml.jackson.annotation.JsonFormat; 
 | 
  
 | 
import java.io.Serializable; 
 | 
import java.util.Date; 
 | 
  
 | 
/** 
 | 
 * @author wzy 
 | 
 * @date 2020-04-24 14:58 
 | 
 **/ 
 | 
public class BaseEntity implements Serializable { 
 | 
    private static final long serialVersionUID = 1L; 
 | 
  
 | 
    @TableId(value = "id",type = IdType.AUTO) 
 | 
    private Long id; 
 | 
  
 | 
    private String createBy; 
 | 
  
 | 
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") 
 | 
    private Date createTime; 
 | 
  
 | 
    private String updateBy; 
 | 
  
 | 
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") 
 | 
    private Date updateTime; 
 | 
  
 | 
    public Long getId() { 
 | 
        return id; 
 | 
    } 
 | 
  
 | 
    public void setId(Long id) { 
 | 
        this.id = id; 
 | 
    } 
 | 
  
 | 
    public String getCreateBy() { 
 | 
        return createBy; 
 | 
    } 
 | 
  
 | 
    public void setCreateBy(String createBy) { 
 | 
        this.createBy = createBy; 
 | 
    } 
 | 
  
 | 
    public Date getCreateTime() { 
 | 
        return createTime; 
 | 
    } 
 | 
  
 | 
    public void setCreateTime(Date createTime) { 
 | 
        this.createTime = createTime; 
 | 
    } 
 | 
  
 | 
    public String getUpdateBy() { 
 | 
        return updateBy; 
 | 
    } 
 | 
  
 | 
    public void setUpdateBy(String updateBy) { 
 | 
        this.updateBy = updateBy; 
 | 
    } 
 | 
  
 | 
    public Date getUpdateTime() { 
 | 
        return updateTime; 
 | 
    } 
 | 
  
 | 
    public void setUpdateTime(Date updateTime) { 
 | 
        this.updateTime = updateTime; 
 | 
    } 
 | 
} 
 |