<commit_before>from django.db import models
import datetime
from django.utils import timezone

# Create your models here.

class Inventory(models.Model):
	modelNum = models.CharField(max_length=200)
	def __unicode__(self):
		return self.modelNum

class Serial(models.Model):
	inventory = models.ForeignKey(Inventory)
	serialNum = models.CharField(max_length=200)
	def __unicode__(self):
		return self.serialNum

class Description(models.Model):
	inventory = models.ForeignKey(Inventory)
	descript = models.CharField(max_length=255)
	def __unicode__(self):
		return self.descript

class Location(models.Model):
	inventory = models.ForeignKey(Inventory)
	room = models.CharField(max_length=3)
	building = models.CharField(max_length=2)
	def __unicode__(self):
		return self.building + self.room<commit_msg>Heading in the right direction<commit_after>from django.db import models
import datetime
from django.utils import timezone

# Create your models here.

class Equipment(models.Model):
	model_num = models.IntegerField()
	serial_num = models.IntegerField()
	equip_type = models.ForeignField()
	location = models.ForeignField()
	description = models.TextField()

	def __unicode__(self):
		return unicode(model_num)

class Location(models.Model):
	room = models.CharField(max_length=4)
	building = models.CharField(max_length=2)
	def __unicode__(self):
		return unicode(self.building + self.room)
{'fraction_non_alphanumeric': 0.0974910394265233, 'fraction_numerical': 0.00931899641577061, 'mean_word_length': 6.195876288659794, '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': '5968688', 'n_tokens_mistral': 447, 'n_tokens_neox': 424, 'n_words': 99}