RandomDBGenerator/pythonProject/sqlgenerator/ColumnValue.py
2024-04-17 16:22:16 +02:00

15 lines
313 B
Python

from enum import Enum
from sqlparse.SQLColumn import SQLColumn
class ValueType(Enum):
INT = 0,
STRING = 1
class ColumnValue:
def __init__(self, value, value_type: ValueType, sql_column: SQLColumn):
self.value = value
self.valueType = value_type
self.sqlColumn = sql_column