<commit_before>package kr.ac.ajou.dsd.kda.model;

import java.util.Arrays;
import java.util.UUID;

import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.Type;
import org.hibernate.validator.constraints.NotBlank;

@Entity
public class Meal  {
	
	@Id
	@GeneratedValue(generator = "uuid2")
	@GenericGenerator(name = "uuid2", strategy = "uuid2")
	@Type(type="org.hibernate.type.UUIDBinaryType")
	private UUID id;
	
	@NotBlank(message = "koreanName must not be blank!")
	private String koreanName;
	
	@NotBlank(message = "englishName must not be blank!")
	private String englishName;
	
	@NotBlank(message = "transliteratedName must not be blank!")<commit_msg>change uuid generating strategy<commit_after>package kr.ac.ajou.dsd.kda.model;

import java.util.Arrays;
import java.util.UUID;

import javax.persistence.Column;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.Type;
import org.hibernate.validator.constraints.NotBlank;

@Entity
public class Meal  {
	
	@Id
	@GeneratedValue(generator = "uuid")
	@GenericGenerator(name = "uuid", strategy = "uuid2")
	@Column( columnDefinition = "BINARY(16)", length = 16 )
	private UUID id;
	
	@NotBlank(message = "koreanName must not be blank!")
	private String koreanName;
	
	@NotBlank(message = "englishName must not be blank!")
	private String englishName;
	
	@NotBlank(message = "transliteratedName must not be blank!")
{'fraction_non_alphanumeric': 0.10868347338935574, 'fraction_numerical': 0.004481792717086834, 'mean_word_length': 5.9765625, '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': '364449', 'n_tokens_mistral': 580, 'n_tokens_neox': 556, 'n_words': 130}