Staff.php 776 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. namespace common\models;
  3. use Yii;
  4. /**
  5. * This is the model class for table "staff".
  6. *
  7. * @property int $id id
  8. * @property int $uid 用户ID
  9. * @property string $employee_card 工作证编号
  10. * @property string $name 姓名
  11. * @property int $phone 手机号码
  12. * @property int $seniority 工龄
  13. * @property int $department 所在部门
  14. * @property int $employment 在聘岗位
  15. */
  16. class Staff extends \yii\db\ActiveRecord
  17. {
  18. /**
  19. * {@inheritdoc}
  20. */
  21. public static function tableName()
  22. {
  23. return 'staff';
  24. }
  25. /**
  26. * {@inheritdoc}
  27. */
  28. public function rules()
  29. {
  30. return [
  31. ];
  32. }
  33. /**
  34. * {@inheritdoc}
  35. */
  36. public function attributeLabels()
  37. {
  38. return [
  39. ];
  40. }
  41. }