檢測文件
Some checks failed
CI/CD Pipeline / test (3.10) (push) Has been cancelled
CI/CD Pipeline / test (3.11) (push) Has been cancelled
CI/CD Pipeline / test (3.8) (push) Has been cancelled
CI/CD Pipeline / test (3.9) (push) Has been cancelled
CI/CD Pipeline / security (push) Has been cancelled
CI/CD Pipeline / build (push) Has been cancelled
CI/CD Pipeline / deploy-staging (push) Has been cancelled
CI/CD Pipeline / deploy-production (push) Has been cancelled

This commit is contained in:
2025-10-28 18:14:51 +08:00
parent 9b70b34c7b
commit f690604c4a
4 changed files with 602 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ class User(db.Model):
full_name = db.Column(db.String(100), nullable=False)
department = db.Column(db.String(50), nullable=False)
position = db.Column(db.String(50), nullable=False)
employee_id = db.Column(db.String(50), unique=True)
password_hash = db.Column(db.String(255), nullable=False)
is_active = db.Column(db.Boolean, default=True)
created_at = db.Column(db.DateTime, default=datetime.utcnow)