StoreMiniIcp.php 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <?php
  2. namespace app\models;
  3. use yii\behaviors\TimestampBehavior;
  4. use yii\db\ActiveRecord;
  5. /**
  6. * Class StoreMedia
  7. * @package app\models
  8. * @property integer $id
  9. * @property integer $store_id
  10. * @property integer $mini_id
  11. * @property string $task_id
  12. * @property integer $is_finish
  13. * @property integer $face_status
  14. * @property string $face_time
  15. * @property string $created_at
  16. * @property string $updated_at
  17. * @property integer $is_delete
  18. * @property string $icp_form
  19. * @property integer $icp_audit_status
  20. * @property string $icp_audit_info
  21. * @property integer $is_cancel_icp
  22. **/
  23. class StoreMiniIcp extends \yii\db\ActiveRecord
  24. {
  25. /**
  26. * @inheritdoc
  27. */
  28. public static function tableName()
  29. {
  30. return '{{%store_mini_icp}}';
  31. }
  32. /**
  33. * @inheritdoc
  34. */
  35. public function rules()
  36. {
  37. return [
  38. [["id", "store_id", "mini_id", 'is_finish', 'face_status', 'icp_audit_status', 'is_cancel_icp', 'is_delete'], 'integer'],
  39. [["task_id", 'icp_form', 'icp_audit_info'], 'string'],
  40. [['created_at', 'updated_at', 'face_time'], 'safe']
  41. ];
  42. }
  43. public function behaviors()
  44. {
  45. return [
  46. [
  47. 'class' => TimestampBehavior::class
  48. ]
  49. ];
  50. }
  51. /**
  52. * @inheritdoc
  53. */
  54. public function attributeLabels()
  55. {
  56. return [
  57. "id" => "ID",
  58. "store_id" => "",
  59. "mini_id" => "",
  60. "task_id" => "人脸核验任务id",
  61. "is_finish" => "人脸核身任务是否已完成 0未完成 1已完成 ",
  62. "face_status" =>"is_finish 字段,如果为 true,表明人脸核身任务已完成,face_status 已到达最终状态,不会再变化",
  63. 'icp_form' => 'icp表单',
  64. 'icp_audit_status' => '备案状态 -1未申请 2平台审核中 3平台审核驳回 4管局审核中 5管局审核驳回 6已备案 1024未备案 1025未备案 && 小程序基本信息未填 1026未备案 && 小程序类目未填 1027未备案 8& 小程序基本信息未填 8& 小程序类目未填',
  65. 'icp_audit_info' => '备案状态失败信息',
  66. 'is_cancel_icp' => '是否注销小程序备案'
  67. ];
  68. }
  69. }