FInputRpsManInfo.php 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. namespace app\modules\car\models;
  3. use Yii;
  4. /**
  5. * This is the model class for table "{{%f_input_rps_man_info}}".
  6. *
  7. * @property int $id 序号
  8. * @property string|null $city 地市
  9. * @property string|null $sec_dpt 二级单位
  10. * @property string|null $grid 网格
  11. * @property string|null $name 姓名
  12. * @property string|null $num 电话
  13. */
  14. class FInputRpsManInfo extends \app\common\models\EActiveRecord
  15. {
  16. /**
  17. * {@inheritdoc}
  18. */
  19. public static function tableName()
  20. {
  21. return '{{%f_input_rps_man_info}}';
  22. }
  23. /**
  24. * {@inheritdoc}
  25. */
  26. public function rules()
  27. {
  28. return [
  29. [['city', 'sec_dpt', 'grid', 'name', 'num'], 'string', 'max' => 255],
  30. ];
  31. }
  32. /**
  33. * {@inheritdoc}
  34. */
  35. public function attributeLabels()
  36. {
  37. return [
  38. 'id' => '序号',
  39. 'city' => '地市',
  40. 'sec_dpt' => '二级单位',
  41. 'grid' => '网格',
  42. 'name' => '姓名',
  43. 'num' => '电话',
  44. ];
  45. }
  46. }