HistoryForm.php 846 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. namespace addons\Wechat\merchant\forms;
  3. use yii\base\Model;
  4. /**
  5. * Class HistoryForm
  6. * @package merchant\modules\wechat\forms
  7. * @author jianyan74 <751393839@qq.com>
  8. */
  9. class HistoryForm extends Model
  10. {
  11. public $history_status = 1;
  12. public $history_utilization_status = 1;
  13. public $history_message_date = 0;
  14. /**
  15. * {@inheritdoc}
  16. */
  17. public function rules()
  18. {
  19. return [
  20. [['history_status', 'history_utilization_status', 'history_message_date'], 'integer'],
  21. ];
  22. }
  23. /**
  24. * {@inheritdoc}
  25. */
  26. public function attributeLabels()
  27. {
  28. return [
  29. 'history_status' => '开启历史消息记录',
  30. 'history_message_date' => '历史消息记录天数',
  31. 'history_utilization_status' => '开启利用率统计',
  32. ];
  33. }
  34. }
粤ICP备19079148号