package com.main.entities;

import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@Document
public class Loai {
	@Id
	private ObjectId idLoai;
	
	private String tenLoai;

	public Loai(String tenLoai) {
		super();
		this.tenLoai = tenLoai;
	}

	
}

{'avg_line_length': 15.961538461538462, 'max_line_length': 62, 'alphanum_fraction': 0.7710843373493976, 'licenses': ['Apache-2.0'], 'repository_name': 'quannguyen1999/manage-service-personal', 'path': 'service-english/src/main/java/com/main/entities/Loai.java', 'size': 415, 'lang': 'Java'}