add active ,onwer in domain
This commit is contained in:
@@ -143,13 +143,15 @@ class Flow(Base):
|
||||
class ConfigDict:
|
||||
orm_mode = True
|
||||
|
||||
class DomainBase(BaseModel):
|
||||
class DomainIn(BaseModel):
|
||||
id: int
|
||||
tenantid: str
|
||||
name: str
|
||||
url: str
|
||||
kintoneuser: str
|
||||
kintonepwd: str
|
||||
is_active: bool
|
||||
ownerid:int
|
||||
|
||||
def encrypt_kintonepwd(self):
|
||||
encrypted_pwd = chacha20Encrypt(self.kintonepwd)
|
||||
@@ -162,6 +164,8 @@ class Domain(Base):
|
||||
url: str
|
||||
kintoneuser: str
|
||||
kintonepwd: str
|
||||
is_active: bool
|
||||
owner:UserOut
|
||||
class ConfigDict:
|
||||
orm_mode = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user