32], [['CALC_MONTH', 'USER_ID'], 'unique', 'targetAttribute' => ['CALC_MONTH', 'USER_ID']], [['ID'], 'unique'], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'ID' => 'ID', 'USER_ID' => '用户ID', 'CALC_MONTH' => '结算月', 'CREATED_AT' => '创建时间', ]; } }