RulesPoints.php 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. namespace common\models;
  3. use Yii;
  4. /**
  5. * This is the model class for table "Rules_points".
  6. *
  7. * @property int $id id
  8. * @property int $delete_time
  9. * @property string|null $rule_id 规章ID
  10. * @property string|null $point 知识点编号
  11. * @property string|null $name 知识点标题
  12. * @property string|null $content 知识点内容
  13. * @property string|null $rule_id_point 规章ID+知识点编号
  14. * @property string|null $dic 固化字典
  15. */
  16. class RulesPoints extends \yii\db\ActiveRecord
  17. {
  18. public $rule_id_point;
  19. /**
  20. * {@inheritdoc}
  21. */
  22. public static function tableName()
  23. {
  24. return 'rules_points';
  25. }
  26. /**
  27. * {@inheritdoc}
  28. */
  29. public function rules()
  30. {
  31. return [
  32. ];
  33. }
  34. /**
  35. * {@inheritdoc}
  36. */
  37. public function attributeLabels()
  38. {
  39. return [
  40. 'id' => 'ID',
  41. 'rule_id' => '规章ID',
  42. 'point' => '知识点编号',
  43. 'content' => '知识点内容',
  44. ];
  45. }
  46. }