first commit
This commit is contained in:
BIN
app/modules/edos/__pycache__/models.cpython-311.pyc
Normal file
BIN
app/modules/edos/__pycache__/models.cpython-311.pyc
Normal file
Binary file not shown.
30
app/modules/edos/models.py
Normal file
30
app/modules/edos/models.py
Normal file
@@ -0,0 +1,30 @@
|
||||
from sqlalchemy import Column, Integer, String, Date, DateTime, Float, Boolean, Text, ForeignKey, Enum as SQLEnum
|
||||
from sqlalchemy.sql import func
|
||||
from sqlalchemy.orm import relationship
|
||||
from database import Base
|
||||
|
||||
import enum
|
||||
|
||||
#articulo 69-B-Bis del CFF
|
||||
# 69 article -B - Bis, of fiscal code of fedration of mexican united estates
|
||||
|
||||
class Situacion(str, enum.Enum):
|
||||
SENTENCIA_FAVORABLE ="sentencia_favorable"
|
||||
DEFINITIVO="definitivo"
|
||||
|
||||
class EDOS(Base):
|
||||
__tablename__="edos"
|
||||
|
||||
id = Column(Integer, primary_key=True, nullable=False)
|
||||
numero = Column(Integer, nullable=False)
|
||||
razon_social = Column(String(100), nullable=False)
|
||||
situacion = Column(SQLEnum(Situacion, name="situcion", create_type=False), nullable=False)
|
||||
numero_definitivo = Column(String(60), nullable=False)
|
||||
fecha_definitivo = Column(Date, nullable=False )
|
||||
publicaccion_sat = Column(Date, nullable=True)
|
||||
numero_def_dof = Column(String(100), nullable=True)
|
||||
fecha_def_dof = Column(Date, nullable=True)
|
||||
publicacion_dof = Column(Date, nullable=True)
|
||||
numero_fav_sat = Column(String(100), nullable=True)
|
||||
|
||||
|
||||
0
app/modules/edos/repository.py
Normal file
0
app/modules/edos/repository.py
Normal file
0
app/modules/edos/route.py
Normal file
0
app/modules/edos/route.py
Normal file
0
app/modules/edos/schema.py
Normal file
0
app/modules/edos/schema.py
Normal file
Reference in New Issue
Block a user