null], [['is_daili'], 'default', 'value' => 0], [['user_name'], 'default', 'value' => ''], [['id'], 'required'], [['id', 'xs_id', 'leads_id', 'promotion_id', 'user_id', 'is_daili'], 'integer'], [['remark_dict', 'date', 'created_at', 'updated_at'], 'safe'], [['content', 'push_return_data'], 'string'], [['name', 'weixin', 'keshi', 'gj_value', 'adv_id', 'app_name', 'root_adv_id', 'clue_convert_status', 'user_name'], 'string', 'max' => 50], [['telphone'], 'string', 'max' => 20], [['gender'], 'string', 'max' => 10], [['location', 'tel_logic_location', 'adv_name'], 'string', 'max' => 100], [['beizhu', 'external_url'], 'string', 'max' => 255], [['promotion_name'], 'string', 'max' => 150], [['id'], 'unique'], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => '主键ID', 'xs_id' => '线索ID(业务ID)', 'leads_id' => '广告平台线索ID', 'name' => '姓名', 'telphone' => '电话', 'weixin' => '微信', 'gender' => '性别', 'location' => '所在地', 'tel_logic_location' => '电话逻辑归属地', 'keshi' => '科室', 'gj_value' => '跟进状态', 'beizhu' => '备注', 'adv_id' => '广告账户ID', 'adv_name' => '广告账户名称', 'promotion_id' => '计划ID', 'promotion_name' => '计划名', 'app_name' => '来源平台', 'root_adv_id' => '根账户ID', 'external_url' => '外部URL', 'clue_convert_status' => '转化状态', 'user_id' => '分配用户ID', 'user_name' => '分配用户名', 'is_daili' => '是否代理 0否 1是', 'remark_dict' => '问答/聊天记录', 'content' => '原始内容JSON', 'push_return_data' => '推送返回数据', 'date' => '分配时间', 'created_at' => '创建时间', 'updated_at' => '更新时间', ]; } }