Job.php 822 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. namespace common\models;
  3. use Yii;
  4. /**
  5. * This is the model class for table "job".
  6. *
  7. * @property int $id id
  8. * @property string|null $job_name 岗位名称
  9. * @property int|null $job_status 岗位状态 0关闭 1启用
  10. * @property string|null $create_time 创建时间
  11. */
  12. class Job extends \yii\db\ActiveRecord
  13. {
  14. /**
  15. * {@inheritdoc}
  16. */
  17. public static function tableName()
  18. {
  19. return 'base_job';
  20. }
  21. /**
  22. * {@inheritdoc}
  23. */
  24. public function rules()
  25. {
  26. return [
  27. ];
  28. }
  29. /**
  30. * {@inheritdoc}
  31. */
  32. public function attributeLabels()
  33. {
  34. return [
  35. 'id' => 'ID',
  36. 'job_name' => '岗位名称',
  37. 'job_status' => '岗位状态',
  38. 'create_time' => '创建时间',
  39. ];
  40. }
  41. }