Xcoqproject.php 985 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. namespace frontend\models;
  3. use Yii;
  4. /**
  5. * This is the model class for table "bit_xcoqproject".
  6. *
  7. * @property integer $id
  8. * @property string $create_date
  9. * @property string $modify_date
  10. * @property string $content
  11. * @property string $title
  12. */
  13. class Xcoqproject extends \yii\db\ActiveRecord
  14. {
  15. /**
  16. * @inheritdoc
  17. */
  18. public static function tableName()
  19. {
  20. return 'bit_xcoqproject';
  21. }
  22. /**
  23. * @inheritdoc
  24. */
  25. public function rules()
  26. {
  27. return [
  28. [['create_date', 'modify_date'], 'safe'],
  29. [['content'], 'string', 'max' => 3000],
  30. [['title'], 'string', 'max' => 255],
  31. ];
  32. }
  33. /**
  34. * @inheritdoc
  35. */
  36. public function attributeLabels()
  37. {
  38. return [
  39. 'id' => 'ID',
  40. 'create_date' => 'Create Date',
  41. 'modify_date' => 'Modify Date',
  42. 'content' => 'Content',
  43. 'title' => 'Title',
  44. ];
  45. }
  46. }