Исправления
This commit is contained in:
@ -54,12 +54,12 @@ class FilterTypeInit(BaseModel):
|
||||
NeedClear: bool
|
||||
|
||||
|
||||
class FilterListInit(UserInit):
|
||||
class FilterListInit(BaseModel):
|
||||
IDUser: int = 1
|
||||
IDFilterType: int
|
||||
|
||||
|
||||
class ReportFilterSetInit(FilterListInit):
|
||||
class FilterSetInit(FilterListInit):
|
||||
IDFilterObject: int
|
||||
|
||||
|
||||
@ -95,10 +95,16 @@ class PAInit(BaseModel):
|
||||
IDPersonalAccount: int
|
||||
|
||||
|
||||
class PersonalAccountInit(CashboxInit):
|
||||
|
||||
class PersonalAccountInit(BaseModel):
|
||||
IDPersonalAccount: int
|
||||
|
||||
|
||||
class PAwUCInit(CashboxInit, PersonalAccountInit):
|
||||
pass
|
||||
|
||||
|
||||
|
||||
class GetTypeInit(BaseModel):
|
||||
GetType: bool
|
||||
|
||||
@ -291,7 +297,7 @@ class AddressDetailInfoSerializer(BaseModel):
|
||||
MeteringDeviceColdWater: bool
|
||||
IDFias: Optional[str] = None
|
||||
FloorNumber: int
|
||||
FullArea: float
|
||||
FullArea: float = None
|
||||
ObjectMeteringDeviceHeating: bool
|
||||
ObjectMeteringDeviceEl: bool
|
||||
ObjectMeteringDeviceGas: bool
|
||||
@ -439,14 +445,14 @@ class PersonalAccountTOServicesSerializer(BaseModel):
|
||||
ServiceName: Optional[str] = None
|
||||
ServiceSecondName: Optional[str] = None
|
||||
ProviderName: Optional[str] = None
|
||||
DateBegin: datetime
|
||||
DateEnd: datetime
|
||||
DateBegin: Optional[str] = None
|
||||
DateEnd: Optional[str] = None
|
||||
Spor: int
|
||||
Por: int
|
||||
IDTariffPopulation: int
|
||||
Tariff: float
|
||||
TariffProvider: float
|
||||
StandartVolume: float
|
||||
StandartVolume: float = None
|
||||
Volume: float
|
||||
AmountSaldo: float
|
||||
AmountAccrued: float
|
||||
|
Reference in New Issue
Block a user