|
a |
|
b/OSSEval/entity/models.py |
|
|
1 |
from django.db import models
|
|
|
2 |
|
|
|
3 |
class Entity(models.Model):
|
|
|
4 |
name = models.CharField(max_length=200)
|
|
|
5 |
search_ui = models.TextField()
|
|
|
6 |
|
|
|
7 |
class SearchConfiguration(models.Model):
|
|
|
8 |
proxy_url = models.CharField(max_length=300)
|
|
|
9 |
proxy_port = models.CharField(max_length=10)
|
|
|
10 |
proxy_user = models.CharField(max_length=50)
|
|
|
11 |
proxy_password = models.CharField(max_length=50)
|
|
|
12 |
# active_search = quale classe implementa la entity corrente
|
|
|
13 |
# http://stackoverflow.com/questions/372042/difference-between-abstract-class-and-interface-in-python
|
|
|
14 |
|
|
|
15 |
|