<commit_before>package com.showka.common;

import javax.persistence.Column;
import javax.persistence.Version;

public abstract class AbstractEntity {
	@Version
	@Column(nullable = false)
	private int version = -666;

	public int getVersion() {
		return this.version;
	}

	public void setVersion(int version) {
		this.version = version;
	}
}<commit_msg>add base colulmns<commit_after>package com.showka.common;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Version;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

import lombok.Getter;
import lombok.Setter;

/**
 * Entity Base.
 *
 */
@MappedSuperclass
@Getter
@Setter
public abstract class AbstractEntity {

	/**
	 * version
	 */
	@Version
	@Column(name = "version", nullable = false)
	private Integer version = -666;

	/**
	 * id
	 */
	@Column(name = "id", unique = true, nullable = false, length = 255)
	private String id;

	/**
	 * create_user_id
	 */
	@Column(name = "create_user_id", unique = false, nullable = false, length = 255)
	private String create_user_id;

	/**
	 * create_user_name
	 */
	@Column(name = "create_user_name", unique = false, nullable = false, length = 255)
	private String create_user_name;

	/**
	 * create_timestamp
	 */
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "create_timestamp", unique = false, nullable = false, length = 255)
	private Date create_timestamp;

	/**
	 * update_user_id
	 */
	@Column(name = "update_user_id", unique = false, nullable = false, length = 255)
	private String update_user_id;

	/**
	 * update_user_name
	 */
	@Column(name = "update_user_name", unique = false, nullable = false, length = 255)
	private String update_user_name;

	/**
	 * update_timestamp
	 */
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "update_timestamp", unique = false, nullable = false, length = 255)
	private Date update_timestamp;

	/**
	 * 文字列化
	 */
	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}

}
{'fraction_non_alphanumeric': 0.12075471698113208, 'fraction_numerical': 0.013207547169811321, 'mean_word_length': 4.396946564885496, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5319953', 'n_tokens_mistral': 738, 'n_tokens_neox': 682, 'n_words': 162}