1
0
forked from erp-dev/erp

fea: business completed

This commit is contained in:
2026-06-06 14:14:50 +08:00
parent b97e86257e
commit 3b2aacaa5c
12 changed files with 1270 additions and 92 deletions

View File

@@ -479,6 +479,14 @@ class Employee(ModelBase):
default=EmployeeStatusEnum.ACTIVE,
verbose_name='员工状态',
)
wecom_user_id = models.CharField(
max_length=128,
unique=True,
null=True,
blank=True,
verbose_name='企业微信用户ID',
help_text='企业微信 OAuth2 返回的 user_id',
)
@property
def job_type(self) -> str: